commit:     6a660f724a35216f4cabc665b48f0bed6155daa2
Author:     striker.sh <strikersh <AT> disroot <DOT> org>
AuthorDate: Sun Jun 13 13:39:17 2021 +0000
Commit:     Jules de Sartiges <strikersh <AT> disroot <DOT> org>
CommitDate: Sun Jun 13 13:39:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=6a660f72

net-misc/lagrange: fix issue with ebuild

- remove unecessary src_compile and src_install (handled by cmake elcass)
- Update .desktop mimeinfo cache and icons cache

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Jules de Sartiges <strikersh <AT> disroot.org>

 net-misc/lagrange/lagrange-1.5.1.ebuild | 11 ++++-------
 net-misc/lagrange/lagrange-9999.ebuild  | 11 ++++-------
 2 files changed, 8 insertions(+), 14 deletions(-)

diff --git a/net-misc/lagrange/lagrange-1.5.1.ebuild 
b/net-misc/lagrange/lagrange-1.5.1.ebuild
index 8f042010f..e5578260b 100644
--- a/net-misc/lagrange/lagrange-1.5.1.ebuild
+++ b/net-misc/lagrange/lagrange-1.5.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake xdg-utils
 
 DESCRIPTION="A Beautiful Gemini Client"
 HOMEPAGE="https://gmi.skyjake.fi/lagrange/";
@@ -37,10 +37,7 @@ src_configure() {
        cmake_src_configure
 }
 
-src_compile() {
-       cmake_src_compile
-}
-
-src_install() {
-       cmake_src_install
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
 }

diff --git a/net-misc/lagrange/lagrange-9999.ebuild 
b/net-misc/lagrange/lagrange-9999.ebuild
index 8f042010f..e5578260b 100644
--- a/net-misc/lagrange/lagrange-9999.ebuild
+++ b/net-misc/lagrange/lagrange-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit cmake
+inherit cmake xdg-utils
 
 DESCRIPTION="A Beautiful Gemini Client"
 HOMEPAGE="https://gmi.skyjake.fi/lagrange/";
@@ -37,10 +37,7 @@ src_configure() {
        cmake_src_configure
 }
 
-src_compile() {
-       cmake_src_compile
-}
-
-src_install() {
-       cmake_src_install
+pkg_postinst() {
+       xdg_desktop_database_update
+       xdg_icon_cache_update
 }

Reply via email to