summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2020-02-05 21:16:52 -0700
committerTim Harder <radhermit@gentoo.org>2020-02-05 21:16:52 -0700
commit94cc96837c5eaf0e73cbed728a8988af2200b8bc (patch)
treea453f1b2803984e4ce2606961297d4441eadb9bc /media-gfx/feh/feh-3.3.ebuild
parentmedia-libs/cimg: remove old (diff)
downloadgentoo-94cc96837c5eaf0e73cbed728a8988af2200b8bc.tar.gz
gentoo-94cc96837c5eaf0e73cbed728a8988af2200b8bc.tar.bz2
gentoo-94cc96837c5eaf0e73cbed728a8988af2200b8bc.zip
media-gfx/feh: update 3.3 to EAPI 7
Signed-off-by: Tim Harder <radhermit@gentoo.org>
Diffstat (limited to 'media-gfx/feh/feh-3.3.ebuild')
-rw-r--r--media-gfx/feh/feh-3.3.ebuild14
1 files changed, 5 insertions, 9 deletions
diff --git a/media-gfx/feh/feh-3.3.ebuild b/media-gfx/feh/feh-3.3.ebuild
index ad37f294e684..cdfb177f990f 100644
--- a/media-gfx/feh/feh-3.3.ebuild
+++ b/media-gfx/feh/feh-3.3.ebuild
@@ -1,8 +1,8 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
-inherit toolchain-funcs gnome2-utils xdg-utils
+EAPI=7
+inherit toolchain-funcs xdg-utils
DESCRIPTION="A fast, lightweight imageviewer using imlib2"
HOMEPAGE="https://feh.finalrewind.org/"
@@ -57,18 +57,14 @@ src_install() {
emake "${fehopts[@]}" install
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
xdg_mimeinfo_database_update
xdg_desktop_database_update
}
pkg_postrm() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
xdg_mimeinfo_database_update
xdg_desktop_database_update
}