games-roguelike/angband: EAPI bump to 7
authorJames Le Cuirot <chewi@gentoo.org>
Sat, 9 Mar 2019 22:33:34 +0000 (22:33 +0000)
committerJames Le Cuirot <chewi@gentoo.org>
Sat, 9 Mar 2019 22:33:34 +0000 (22:33 +0000)
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
games-roguelike/angband/angband-4.1.3.ebuild

index 830cddc683f48736cc4f6e677969e1ab5d81c6b8..8a55a74706332751721e442d1fdbd0689ae648a9 100644 (file)
@@ -1,9 +1,9 @@
 # Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit autotools eapi7-ver gnome2-utils
+inherit autotools desktop xdg-utils
 
 MAJOR_PV=$(ver_cut 1-2)
 
@@ -33,8 +33,8 @@ RDEPEND="X? (
                        media-libs/sdl-mixer[mp3]
                )
        )"
-DEPEND="${RDEPEND}
-       dev-python/docutils
+DEPEND="${RDEPEND}"
+BDEPEND="dev-python/docutils
        virtual/pkgconfig"
 
 src_prepare() {
@@ -91,6 +91,12 @@ src_install() {
 
 pkg_postinst() {
        if use X || use sdl ; then
-               gnome2_icon_cache_update
+               xdg_icon_cache_update
+       fi
+}
+
+pkg_postrm() {
+       if use X || use sdl ; then
+               xdg_icon_cache_update
        fi
 }