media-gfx/feh: update 3.3 to EAPI 7
authorTim Harder <radhermit@gentoo.org>
Thu, 6 Feb 2020 04:16:52 +0000 (21:16 -0700)
committerTim Harder <radhermit@gentoo.org>
Thu, 6 Feb 2020 04:16:52 +0000 (21:16 -0700)
Signed-off-by: Tim Harder <radhermit@gentoo.org>
media-gfx/feh/feh-3.3.ebuild

index ad37f294e684d8df771448df96839db9b421df1a..cdfb177f990f852c174a07be1a1fe5ca9d977359 100644 (file)
@@ -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
 }