gnome-extra/synapse: Add USE=indicator

Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Jeroen Roovers <jer@gentoo.org>
This commit is contained in:
Jeroen Roovers
2018-10-14 15:28:11 +02:00
parent 4167e820c9
commit fcb2c8046c
2 changed files with 6 additions and 4 deletions

View 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>

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