commit:     f28d868a79da3c645512852ca5c31b0aa5ad4e5c
Author:     David Michael <fedora.dm0 <AT> gmail <DOT> com>
AuthorDate: Tue Dec  8 23:12:52 2020 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Wed Dec  9 15:33:39 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28d868a

x11-themes/hicolor-icon-theme: EAPI 7

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: David Michael <fedora.dm0 <AT> gmail.com>
Signed-off-by: Mike Gilbert <floppym <AT> gentoo.org>

 .../hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild       | 13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

diff --git a/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild 
b/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild
index d05f0515940..544b2ef3106 100644
--- a/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild
+++ b/x11-themes/hicolor-icon-theme/hicolor-icon-theme-0.17.ebuild
@@ -1,8 +1,8 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
-inherit gnome2-utils
+EAPI=7
+inherit xdg-utils
 
 DESCRIPTION="Fallback theme for the freedesktop icon theme specification"
 HOMEPAGE="https://freedesktop.org/wiki/Software/icon-theme";
@@ -11,13 +11,10 @@ 
SRC_URI="https://icon-theme.freedesktop.org/releases/${P}.tar.xz";
 LICENSE="GPL-2"
 SLOT="0"
 KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris 
~x64-solaris ~x86-solaris"
-IUSE=""
 
-RDEPEND=""
-DEPEND="app-arch/xz-utils"
+BDEPEND="app-arch/xz-utils"
 
 RESTRICT="binchecks strip"
 
-pkg_preinst() { gnome2_icon_savelist; }
-pkg_postinst() { gnome2_icon_cache_update; }
-pkg_postrm() { gnome2_icon_cache_update; }
+pkg_postinst() { xdg_icon_cache_update; }
+pkg_postrm() { xdg_icon_cache_update; }

Reply via email to