commit:     3ad2321b8666e29fd4f6ff00cc1118dc7e23485a
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 10 21:27:09 2019 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Tue Dec 10 21:34:55 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ad2321b

media-gfx/geeqie: use xdg eclass

Package-Manager: Portage-2.3.81, Repoman-2.3.20
Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 media-gfx/geeqie/geeqie-1.5.1.ebuild | 8 ++------
 media-gfx/geeqie/geeqie-9999.ebuild  | 8 ++------
 2 files changed, 4 insertions(+), 12 deletions(-)

diff --git a/media-gfx/geeqie/geeqie-1.5.1.ebuild 
b/media-gfx/geeqie/geeqie-1.5.1.ebuild
index 2d57b0dbebf..88c65fbe11e 100644
--- a/media-gfx/geeqie/geeqie-1.5.1.ebuild
+++ b/media-gfx/geeqie/geeqie-1.5.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools xdg-utils
+inherit autotools xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org";
@@ -83,13 +83,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       xdg_desktop_database_update
+       xdg_pkg_postinst
 
        elog "Some plugins may require additional packages"
        elog "- Image rotate plugin: media-gfx/fbida (JPEG), 
media-gfx/imagemagick (TIFF/PNG)"
        elog "- RAW images plugin: media-gfx/ufraw"
 }
-
-pkg_postrm() {
-       xdg_desktop_database_update
-}

diff --git a/media-gfx/geeqie/geeqie-9999.ebuild 
b/media-gfx/geeqie/geeqie-9999.ebuild
index e7ca05a8bf0..3f25e162490 100644
--- a/media-gfx/geeqie/geeqie-9999.ebuild
+++ b/media-gfx/geeqie/geeqie-9999.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-inherit autotools git-r3 xdg-utils
+inherit autotools git-r3 xdg
 
 DESCRIPTION="A lightweight GTK image viewer forked from GQview"
 HOMEPAGE="http://www.geeqie.org";
@@ -84,13 +84,9 @@ src_install() {
 }
 
 pkg_postinst() {
-       xdg_desktop_database_update
+       xdg_pkg_postinst
 
        elog "Some plugins may require additional packages"
        elog "- Image rotate plugin: media-gfx/fbida (JPEG), 
media-gfx/imagemagick (TIFF/PNG)"
        elog "- RAW images plugin: media-gfx/ufraw"
 }
-
-pkg_postrm() {
-       xdg_desktop_database_update
-}

Reply via email to