x11-misc/redshift: Migrate from gnome2-utils to xdg-utils

Closes: https://bugs.gentoo.org/846353
Signed-off-by: Sebastian Pipping <sping@gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
Sebastian Pipping 2022-05-22 21:10:07 +02:00
parent 5495c44162
commit 9532ab8332
No known key found for this signature in database
GPG Key ID: 96262ACFFBD3AEC6
1 changed files with 3 additions and 7 deletions

View File

@ -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
}