media-tv/mythtv: Use zeroconf instead of avahi USE flag (#477620)
authorPacho Ramos <pacho@gentoo.org>
Sun, 2 Oct 2016 11:32:50 +0000 (13:32 +0200)
committerPacho Ramos <pacho@gentoo.org>
Sun, 2 Oct 2016 12:36:48 +0000 (14:36 +0200)
Package-Manager: portage-2.3.1

media-tv/mythtv/mythtv-0.28.ebuild

index e87b4cc019336f29b5ec956db14b25d4902346e4..93a1ca23a32376815b96c39ae59a5f37c6f84dfa 100644 (file)
@@ -24,9 +24,9 @@ LICENSE="GPL-2"
 KEYWORDS="~amd64 ~x86"
 
 IUSE_INPUT_DEVICES="input_devices_joystick"
-IUSE="alsa altivec avahi libass autostart bluray cec crystalhd debug dvb dvd \
+IUSE="alsa altivec libass autostart bluray cec crystalhd debug dvb dvd \
 egl fftw +hls ieee1394 jack lcd lirc +mythlogserver perl pulseaudio python systemd +theora \
-vaapi vdpau +vorbis +wrapper +xml xmltv +xvid ${IUSE_INPUT_DEVICES}"
+vaapi vdpau +vorbis +wrapper +xml xmltv +xvid zeroconf ${IUSE_INPUT_DEVICES}"
 
 REQUIRED_USE="
        bluray? ( xml )
@@ -54,10 +54,6 @@ COMMON="
        virtual/mysql
        virtual/opengl:=
        alsa? ( >=media-libs/alsa-lib-1.0.24:= )
-       avahi? (
-               dev-libs/openssl:0=
-               net-dns/avahi[mdnsresponder-compat]
-       )
        bluray? (
                dev-libs/libcdio:=
                media-libs/libbluray:=
@@ -114,7 +110,11 @@ COMMON="
        media-libs/taglib:=
        dev-libs/glib:=
        systemd? ( sys-apps/systemd:= )
-       "
+       zeroconf? (
+               dev-libs/openssl:0=
+                net-dns/avahi[mdnsresponder-compat]
+       )
+"
 
 RDEPEND="${COMMON}
        media-fonts/corefonts
@@ -190,7 +190,7 @@ src_configure() {
        myconf="${myconf} --enable-nonfree"
        myconf="${myconf} --enable-libmp3lame"
        use cec || myconf="${myconf} --disable-libcec"
-       use avahi || myconf="${myconf} --disable-libdns-sd"
+       use zeroconf || myconf="${myconf} --disable-libdns-sd"
        myconf="${myconf} $(use_enable theora libtheora)"
        myconf="${myconf} $(use_enable vorbis libvorbis)"