commit: 9532ab8332045617cce581490d6fffe50a685207 Author: Sebastian Pipping <sping <AT> gentoo <DOT> org> AuthorDate: Sun May 22 19:10:07 2022 +0000 Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org> CommitDate: Sun May 22 19:10:07 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9532ab83
x11-misc/redshift: Migrate from gnome2-utils to xdg-utils Closes: https://bugs.gentoo.org/846353 Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org> Package-Manager: Portage-3.0.30, Repoman-3.0.3 x11-misc/redshift/redshift-1.12-r6.ebuild | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/x11-misc/redshift/redshift-1.12-r6.ebuild b/x11-misc/redshift/redshift-1.12-r6.ebuild index 05517cf8915b..ac0ccb6a5e99 100644 --- a/x11-misc/redshift/redshift-1.12-r6.ebuild +++ b/x11-misc/redshift/redshift-1.12-r6.ebuild @@ -5,7 +5,7 @@ EAPI=8 PYTHON_COMPAT=( python3_{8..10} ) -inherit flag-o-matic systemd autotools gnome2-utils python-r1 +inherit flag-o-matic systemd autotools xdg-utils python-r1 DESCRIPTION="A screen color temperature adjusting software" HOMEPAGE="http://jonls.dk/redshift/" @@ -81,14 +81,10 @@ src_install() { fi } -pkg_preinst() { - use gtk && gnome2_icon_savelist -} - pkg_postinst() { - use gtk && gnome2_icon_cache_update + use gtk && xdg_icon_cache_update } pkg_postrm() { - use gtk && gnome2_icon_cache_update + use gtk && xdg_icon_cache_update }
