x11-misc/redshift: Migrate to ayatana USE flag
authorSimon van der Veldt <simon.vanderveldt@gmail.com>
Wed, 11 Apr 2018 21:23:14 +0000 (23:23 +0200)
committerSebastian Pipping <sping@gentoo.org>
Fri, 13 Apr 2018 20:23:14 +0000 (22:23 +0200)
And make sure the dependency on dev-libs/libappindicator is on the correct version/slot

Closes: https://github.com/gentoo/gentoo/pull/7944

x11-misc/redshift/metadata.xml
x11-misc/redshift/redshift-1.11-r1.ebuild

index 53984fc30ef2533dd9b97211d4983dfce1f640d9..fbfb697dea561ea1ba526cfad31b233fa267a1a4 100644 (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>
index 03db78ec91aa8f50704e3a510f2070ea89bbc9b3..02ab5175ab2dde52543841a4a9b1b22e8f962f6c 100644 (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} )"