commit:     3a84d6b3f2f925b13c9bab3b486b10c22dbcd037
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Oct  2 11:29:52 2016 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Oct  2 12:36:42 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a84d6b3

media-tv/kodi: Use zeroconf instead of avahi USE flag (#477620)

Package-Manager: portage-2.3.1

 media-tv/kodi/kodi-16.0.ebuild | 11 ++++++-----
 media-tv/kodi/kodi-9999.ebuild | 11 ++++++-----
 2 files changed, 12 insertions(+), 10 deletions(-)

diff --git a/media-tv/kodi/kodi-16.0.ebuild b/media-tv/kodi/kodi-16.0.ebuild
index 88fe3a1..91d03d1 100644
--- a/media-tv/kodi/kodi-16.0.ebuild
+++ b/media-tv/kodi/kodi-16.0.ebuild
@@ -33,7 +33,7 @@ HOMEPAGE="https://kodi.tv/ http://kodi.wiki/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="airplay alsa avahi bluetooth bluray caps cec css dbus debug gles java 
joystick midi mysql nfs +opengl profile pulseaudio rtmp +samba sftp test 
+texturepacker udisks upnp upower +usb vaapi vdpau webserver +X"
+IUSE="airplay alsa bluetooth bluray caps cec css dbus debug gles java joystick 
midi mysql nfs +opengl profile pulseaudio rtmp +samba sftp test +texturepacker 
udisks upnp upower +usb vaapi vdpau webserver +X zeroconf"
 # gles/vaapi: http://trac.kodi.tv/ticket/10552 #464306
 REQUIRED_USE="
        || ( gles opengl )
@@ -87,7 +87,6 @@ COMMON_DEPEND="${PYTHON_DEPS}
        media-sound/wavpack
        >=media-video/ffmpeg-2.6:=[encode]
        rtmp? ( media-video/rtmpdump )
-       avahi? ( net-dns/avahi )
        nfs? ( net-fs/libnfs:= )
        webserver? ( net-libs/libmicrohttpd[messages] )
        sftp? ( net-libs/libssh[sftp] )
@@ -119,7 +118,9 @@ COMMON_DEPEND="${PYTHON_DEPS}
                x11-libs/libXinerama
                x11-libs/libXrandr
                x11-libs/libXrender
-       )"
+       )
+       zeroconf? ( net-dns/avahi )
+"
 RDEPEND="${COMMON_DEPEND}
        !media-tv/xbmc
        udisks? ( sys-fs/udisks:0 )
@@ -215,7 +216,6 @@ src_configure() {
                --with-ffmpeg=shared \
                $(use_enable alsa) \
                $(use_enable airplay) \
-               $(use_enable avahi) \
                $(use_enable bluray libbluray) \
                $(use_enable caps libcap) \
                $(use_enable cec libcec) \
@@ -240,7 +240,8 @@ src_configure() {
                $(use_enable vaapi) \
                $(use_enable vdpau) \
                $(use_enable webserver) \
-               $(use_enable X x11)
+               $(use_enable X x11) \
+               $(use_enable zeroconf avahi)
 }
 
 src_compile() {

diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index 7d2d6d8..bdb4c68 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -33,7 +33,7 @@ HOMEPAGE="https://kodi.tv/ http://kodi.wiki/";
 
 LICENSE="GPL-2"
 SLOT="0"
-IUSE="airplay alsa avahi bluetooth bluray caps cec dbus debug gles java 
joystick midi mysql nfs +opengl profile pulseaudio rtmp +samba sftp test 
+texturepacker udisks upnp upower +usb vaapi vdpau webserver +X"
+IUSE="airplay alsa bluetooth bluray caps cec dbus debug gles java joystick 
midi mysql nfs +opengl profile pulseaudio rtmp +samba sftp test +texturepacker 
udisks upnp upower +usb vaapi vdpau webserver +X zeroconf"
 # gles/vaapi: http://trac.kodi.tv/ticket/10552 #464306
 REQUIRED_USE="
        || ( gles opengl )
@@ -82,7 +82,6 @@ COMMON_DEPEND="${PYTHON_DEPS}
        media-sound/wavpack
        >=media-video/ffmpeg-2.6:=[encode]
        rtmp? ( media-video/rtmpdump )
-       avahi? ( net-dns/avahi )
        nfs? ( net-fs/libnfs:= )
        webserver? ( net-libs/libmicrohttpd[messages] )
        sftp? ( net-libs/libssh[sftp] )
@@ -112,7 +111,9 @@ COMMON_DEPEND="${PYTHON_DEPS}
                x11-libs/libXinerama
                x11-libs/libXrandr
                x11-libs/libXrender
-       )"
+       )
+       zeroconf? ( net-dns/avahi )
+"
 RDEPEND="${COMMON_DEPEND}
        !media-tv/xbmc
        udisks? ( sys-fs/udisks:0 )
@@ -207,7 +208,6 @@ src_configure() {
                --with-ffmpeg=shared \
                $(use_enable alsa) \
                $(use_enable airplay) \
-               $(use_enable avahi) \
                $(use_enable bluray libbluray) \
                $(use_enable caps libcap) \
                $(use_enable cec libcec) \
@@ -231,7 +231,8 @@ src_configure() {
                $(use_enable vaapi) \
                $(use_enable vdpau) \
                $(use_enable webserver) \
-               $(use_enable X x11)
+               $(use_enable X x11) \
+               $(use_enable zeroconf avahi)
 }
 
 src_compile() {

Reply via email to