summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnome-extra/synapse/metadata.xml1
-rw-r--r--gnome-extra/synapse/synapse-0.2.99.4.ebuild9
2 files changed, 6 insertions, 4 deletions
diff --git a/gnome-extra/synapse/metadata.xml b/gnome-extra/synapse/metadata.xml
index 215e77c55c30..6bc83c1f1619 100644
--- a/gnome-extra/synapse/metadata.xml
+++ b/gnome-extra/synapse/metadata.xml
@@ -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>
diff --git a/gnome-extra/synapse/synapse-0.2.99.4.ebuild b/gnome-extra/synapse/synapse-0.2.99.4.ebuild
index 2340f03e4609..4916165ada37 100644
--- a/gnome-extra/synapse/synapse-0.2.99.4.ebuild
+++ b/gnome-extra/synapse/synapse-0.2.99.4.ebuild
@@ -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
}