x11-misc/redshift: Migrate to ayatana USE flag

And make sure the dependency on dev-libs/libappindicator is on the correct version/slot

Closes: https://github.com/gentoo/gentoo/pull/7944
This commit is contained in:
Simon van der Veldt
2018-04-11 23:23:14 +02:00
committed by Sebastian Pipping
parent 9bd6daf026
commit fa2fc23c65
2 changed files with 2 additions and 3 deletions

View File

@@ -9,7 +9,6 @@
<name>Gentoo Desktop Miscellaneous Project</name>
</maintainer>
<use>
<flag name="appindicator">Enable usage of <pkg>dev-libs/libappindicator</pkg> to export menu options in to unity and KDE 5</flag>
<flag name="geoclue">Control dependency on <pkg>app-misc/geoclue</pkg></flag>
</use>
<upstream>

View File

@@ -13,7 +13,7 @@ SRC_URI="https://github.com/jonls/redshift/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="appindicator geoclue gtk nls"
IUSE="ayatana geoclue gtk nls"
COMMON_DEPEND=">=x11-libs/libX11-1.4
x11-libs/libXxf86vm
@@ -28,7 +28,7 @@ RDEPEND="${COMMON_DEPEND}
DEPEND="${COMMON_DEPEND}
>=dev-util/intltool-0.50
nls? ( sys-devel/gettext )
appindicator? ( dev-libs/libappindicator )
ayatana? ( dev-libs/libappindicator:3 )
"
REQUIRED_USE="gtk? ( ${PYTHON_REQUIRED_USE} )"