media-sound/pasystray: add zeroconf USE flag
authorImpyy <alex@impy.me>
Sun, 2 Apr 2017 15:38:11 +0000 (17:38 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 18 May 2017 19:11:11 +0000 (21:11 +0200)
Closes: https://github.com/gentoo/gentoo/pull/4345

media-sound/pasystray/pasystray-0.6.0-r1.ebuild [moved from media-sound/pasystray/pasystray-0.6.0.ebuild with 82% similarity]

similarity index 82%
rename from media-sound/pasystray/pasystray-0.6.0.ebuild
rename to media-sound/pasystray/pasystray-0.6.0-r1.ebuild
index 6e99a2f70191a9ff4996882bbd3bf3faf290fe89..2730461f08c844fb2d659c2c9715efec8aa20902 100644 (file)
@@ -11,12 +11,12 @@ SRC_URI="https://github.com/christophgysin/${PN}/archive/${P}.tar.gz"
 LICENSE="LGPL-2.1+"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE="libnotify"
+IUSE="libnotify zeroconf"
 
 RDEPEND="
        >=dev-libs/glib-2.48.2
-       >=media-sound/pulseaudio-5.0-r3[glib,zeroconf]
-       >=net-dns/avahi-0.6
+       >=media-sound/pulseaudio-5.0-r3[glib,zeroconf?]
+       zeroconf? ( >=net-dns/avahi-0.6 )
        x11-libs/gtk+:3
        x11-libs/libX11
        libnotify? ( >=x11-libs/libnotify-0.7 )
@@ -30,7 +30,9 @@ src_prepare() {
 }
 
 src_configure() {
-       econf $(use_enable libnotify notify)
+       econf \
+               $(use_enable libnotify notify) \
+               $(use_enable zeroconf avahi)
 }
 
 pkg_preinst() {