commit: 67999b34153308d2e18425b0a09dbd2a7f1284f2
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 9 22:33:34 2019 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat Mar 9 22:33:34 2019 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67999b34
games-roguelike/angband: EAPI bump to 7
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-roguelike/angband/angband-4.1.3.ebuild | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
diff --git a/games-roguelike/angband/angband-4.1.3.ebuild
b/games-roguelike/angband/angband-4.1.3.ebuild
index 830cddc683f..8a55a747063 100644
--- a/games-roguelike/angband/angband-4.1.3.ebuild
+++ b/games-roguelike/angband/angband-4.1.3.ebuild
@@ -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
}