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

media-tv/tvheadend/tvheadend-4.0.9.ebuild
media-tv/tvheadend/tvheadend-9999.ebuild

index 939aac745cf8ecb5c94fe9bc77cf3f5d6bbe5e44..fa2ad2738980382040da4862a496e0d4c8f783a4 100644 (file)
@@ -17,13 +17,12 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="avahi capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache inotify iptv satip +timeshift uriparser xmltv zlib"
+IUSE="capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache inotify iptv satip +timeshift uriparser xmltv zeroconf zlib"
 
 # does not build with ffmpeg-3 - bug 574990
 # https://tvheadend.org/issues/3597
 RDEPEND="dev-libs/openssl:=
        virtual/libiconv
-       avahi? ( net-dns/avahi )
        dbus? ( sys-apps/dbus )
        ffmpeg? (
                !libav? ( <media-video/ffmpeg-3:= )
@@ -31,6 +30,7 @@ RDEPEND="dev-libs/openssl:=
        )
        hdhomerun? ( media-libs/libhdhomerun )
        uriparser? ( dev-libs/uriparser )
+       zeroconf? ( net-dns/avahi )
        zlib? ( sys-libs/zlib )"
 
 DEPEND="${RDEPEND}
@@ -71,7 +71,6 @@ src_configure() {
                --disable-ccache \
                --nowerror \
                --disable-hdhomerun_static \
-               $(use_enable avahi) \
                $(use_enable capmt) \
                $(use_enable constcw) \
                $(use_enable cwc) \
@@ -87,6 +86,7 @@ src_configure() {
                $(use_enable satip satip_client) \
                $(use_enable timeshift) \
                $(use_enable uriparser) \
+               $(use_enable zeroconf avahi) \
                $(use_enable zlib)
 }
 
index b7e392858f527bb289fe4634ded7af8d3d0bd4eb..da3f05a55ba760bd0ea454924e23f755bc615398 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -14,11 +14,10 @@ LICENSE="GPL-3"
 SLOT="0"
 KEYWORDS=""
 
-IUSE="avahi capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache inotify iptv satip +timeshift uriparser xmltv zlib"
+IUSE="capmt constcw +cwc dbus +dvb +dvbscan ffmpeg hdhomerun libav imagecache inotify iptv satip +timeshift uriparser xmltv zeroconf zlib"
 
 RDEPEND="dev-libs/openssl:=
        virtual/libiconv
-       avahi? ( net-dns/avahi )
        dbus? ( sys-apps/dbus )
        ffmpeg? (
                !libav? ( >=media-video/ffmpeg-3:= )
@@ -26,6 +25,7 @@ RDEPEND="dev-libs/openssl:=
        )
        hdhomerun? ( media-libs/libhdhomerun )
        uriparser? ( dev-libs/uriparser )
+       zeroconf? ( net-dns/avahi )
        zlib? ( sys-libs/zlib )"
 
 DEPEND="${RDEPEND}
@@ -57,7 +57,6 @@ src_configure() {
                --disable-ffmpeg_static \
                --disable-ccache \
                --disable-dvbscan \
-               $(use_enable avahi) \
                $(use_enable capmt) \
                $(use_enable constcw) \
                $(use_enable cwc) \
@@ -72,6 +71,7 @@ src_configure() {
                $(use_enable satip satip_client) \
                $(use_enable timeshift) \
                $(use_enable uriparser) \
+               $(use_enable zeroconf avahi) \
                $(use_enable zlib)
 }