gnome-extra/synapse: Add USE=indicator
authorJeroen Roovers <jer@gentoo.org>
Sun, 14 Oct 2018 13:28:11 +0000 (15:28 +0200)
committerJeroen Roovers <jer@gentoo.org>
Sun, 14 Oct 2018 13:29:03 +0000 (15:29 +0200)
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
gnome-extra/synapse/metadata.xml
gnome-extra/synapse/synapse-0.2.99.4.ebuild

index 215e77c55c30459fdede0d6263c4ffc77eb5593f..6bc83c1f16194ab8895ef246669149eefc670b07 100644 (file)
@@ -6,6 +6,7 @@
 <name>Gentoo Desktop Miscellaneous Project</name>
 </maintainer>
 <use>
+<flag name="indicator">Build support for application indicators using <pkg>dev-libs/libappindicator</pkg></flag>
 <flag name="plugins">Build support for plugins using <pkg>net-libs/rest</pkg></flag>
 </use>
 <upstream>
index 2340f03e4609784ce6f604f8e3c5f5e658267ba0..4916165ada375a32263ccff22d891ab63815c069 100644 (file)
@@ -11,7 +11,7 @@ SRC_URI="https://launchpad.net/synapse-project/0.3/${PV}/+download/${P}.tar.xz"
 LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="nls plugins"
+IUSE="indicator nls plugins"
 
 RDEPEND="
        >=dev-libs/glib-2.28.0:2
@@ -25,6 +25,7 @@ RDEPEND="
        x11-libs/libnotify
        x11-libs/pango
        x11-themes/adwaita-icon-theme
+       indicator? ( dev-libs/libappindicator:3 )
        nls? ( virtual/libintl )
        plugins? ( >=net-libs/rest-0.7 )
 "
@@ -43,8 +44,8 @@ src_prepare() {
 
 src_configure() {
        econf \
-               $(use_enable plugins librest yes) \
+               $(use_enable indicator) \
                $(use_enable nls) \
-               --disable-zeitgeist \
-               --enable-indicator=no
+               $(use_enable plugins librest yes) \
+               --disable-zeitgeist
 }