media-tv/kodi: add support for net-libs/shairplay
authorCraig Andrews <candrews@integralblue.com>
Mon, 23 Jan 2017 21:14:34 +0000 (16:14 -0500)
committerDavid Seifert <soap@gentoo.org>
Mon, 23 Jan 2017 21:24:38 +0000 (22:24 +0100)
Closes: https://github.com/gentoo/gentoo/pull/3611

media-tv/kodi/kodi-16.1-r3.ebuild [moved from media-tv/kodi/kodi-16.1-r2.ebuild with 98% similarity]
media-tv/kodi/kodi-17.0_rc3-r3.ebuild [moved from media-tv/kodi/kodi-17.0_rc3-r2.ebuild with 98% similarity]
media-tv/kodi/kodi-9999.ebuild

similarity index 98%
rename from media-tv/kodi/kodi-16.1-r2.ebuild
rename to media-tv/kodi/kodi-16.1-r3.ebuild
index 890e3881d44c8e21d6556266de77bf5512c88b5a..45cb47118f6003be23e0f49a04da1e398b590027 100644 (file)
@@ -50,7 +50,10 @@ COMMON_DEPEND="${PYTHON_DEPS}
        app-arch/unzip
        app-arch/zip
        app-i18n/enca
-       airplay? ( app-pda/libplist )
+       airplay? (
+               app-pda/libplist
+               net-libs/shairplay
+       )
        dev-libs/boost:=
        dev-libs/expat
        dev-libs/fribidi
@@ -249,6 +252,7 @@ src_configure() {
                --with-ffmpeg=shared \
                $(use_enable alsa) \
                $(use_enable airplay) \
+               $(use_enable airplay airtunes) \
                $(use_enable bluray libbluray) \
                $(use_enable caps libcap) \
                $(use_enable cec libcec) \
similarity index 98%
rename from media-tv/kodi/kodi-17.0_rc3-r2.ebuild
rename to media-tv/kodi/kodi-17.0_rc3-r3.ebuild
index 6eb7278d3edf58966e2ffe0604f2beb7702b8412..3076045d9afaab300ec19b565b86fd7ac638a2af 100644 (file)
@@ -36,7 +36,10 @@ REQUIRED_USE="
 "
 
 COMMON_DEPEND="${PYTHON_DEPS}
-       airplay? ( app-pda/libplist )
+       airplay? (
+               app-pda/libplist
+               net-libs/shairplay
+       )
        alsa? ( media-libs/alsa-lib )
        bluetooth? ( net-wireless/bluez )
        bluray? ( >=media-libs/libbluray-0.7.0 )
@@ -203,7 +206,7 @@ src_configure() {
                -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
                -DENABLE_LDGOLD=OFF # https://bugs.gentoo.org/show_bug.cgi?id=606124
                -DENABLE_ALSA=$(usex alsa)
-               -DENABLE_AIRTUNES=OFF
+               -DENABLE_AIRTUNES=$(usex airplay)
                -DENABLE_AVAHI=$(usex zeroconf)
                -DENABLE_BLUETOOTH=$(usex bluetooth)
                -DENABLE_BLURAY=$(usex bluray)
index 543b9d37200f9f5191ff9d07030bff2e98464e53..46d3395c276224cedbb028c1a9191607eec4b1bf 100644 (file)
@@ -36,7 +36,10 @@ REQUIRED_USE="
 "
 
 COMMON_DEPEND="${PYTHON_DEPS}
-       airplay? ( app-pda/libplist )
+       airplay? (
+               app-pda/libplist
+               net-libs/shairplay
+       )
        alsa? ( media-libs/alsa-lib )
        bluetooth? ( net-wireless/bluez )
        bluray? ( >=media-libs/libbluray-0.7.0 )
@@ -201,7 +204,7 @@ src_configure() {
                -Ddocdir="${EPREFIX}/usr/share/doc/${PF}"
                -DENABLE_LDGOLD=OFF # https://bugs.gentoo.org/show_bug.cgi?id=606124
                -DENABLE_ALSA=$(usex alsa)
-               -DENABLE_AIRTUNES=OFF
+               -DENABLE_AIRTUNES=$(usex airplay)
                -DENABLE_AVAHI=$(usex zeroconf)
                -DENABLE_BLUETOOTH=$(usex bluetooth)
                -DENABLE_BLURAY=$(usex bluray)