diff options
author | Craig Andrews <candrews@gentoo.org> | 2018-11-21 14:33:23 -0500 |
---|---|---|
committer | Craig Andrews <candrews@gentoo.org> | 2018-11-21 15:11:50 -0500 |
commit | c4d4a5cd75a502612222e4fd6ea1331b30bc8f2d (patch) | |
tree | 058e0e3fcadcee35ba8bc03a8d8ffaf9420e5d56 /media-tv/kodi/kodi-9999.ebuild | |
parent | dev-python/awscli: bump to v1.16.59 (diff) | |
download | gentoo-c4d4a5cd75a502612222e4fd6ea1331b30bc8f2d.tar.gz gentoo-c4d4a5cd75a502612222e4fd6ea1331b30bc8f2d.tar.bz2 gentoo-c4d4a5cd75a502612222e4fd6ea1331b30bc8f2d.zip |
media-tv/kodi: 18.0_rc1 version bump
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv/kodi/kodi-9999.ebuild')
-rw-r--r-- | media-tv/kodi/kodi-9999.ebuild | 41 |
1 files changed, 22 insertions, 19 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild index 3fc94b17ea84..9a85a62c67c4 100644 --- a/media-tv/kodi/kodi-9999.ebuild +++ b/media-tv/kodi/kodi-9999.ebuild @@ -4,6 +4,16 @@ EAPI=6 PYTHON_REQ_USE="libressl?,sqlite,ssl" +LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5" +LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3" +LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3" +FFMPEG_VERSION="4.0.1" +CODENAME="Leia" +FFMPEG_KODI_VERSION="Alpha3-1" +SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz + https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz + https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz + !system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )" if [[ ${PV} == *9999 ]] ; then PYTHON_COMPAT=( python2_7 python3_{5,6,7} ) @@ -23,17 +33,6 @@ fi inherit autotools cmake-utils eutils gnome2-utils linux-info pax-utils python-single-r1 xdg-utils -LIBDVDCSS_VERSION="1.4.2-Leia-Beta-5" -LIBDVDREAD_VERSION="6.0.0-Leia-Alpha-3" -LIBDVDNAV_VERSION="6.0.0-Leia-Alpha-3" -FFMPEG_VERSION="4.0.1" -CODENAME="Leia" -FFMPEG_KODI_VERSION="Alpha3-1" -SRC_URI="https://github.com/xbmc/libdvdcss/archive/${LIBDVDCSS_VERSION}.tar.gz -> libdvdcss-${LIBDVDCSS_VERSION}.tar.gz - https://github.com/xbmc/libdvdread/archive/${LIBDVDREAD_VERSION}.tar.gz -> libdvdread-${LIBDVDREAD_VERSION}.tar.gz - https://github.com/xbmc/libdvdnav/archive/${LIBDVDNAV_VERSION}.tar.gz -> libdvdnav-${LIBDVDNAV_VERSION}.tar.gz - !system-ffmpeg? ( https://github.com/xbmc/FFmpeg/archive/${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz -> ffmpeg-${PN}-${FFMPEG_VERSION}-${CODENAME}-${FFMPEG_KODI_VERSION}.tar.gz )" - DESCRIPTION="A free and open source media-player and entertainment hub" HOMEPAGE="https://kodi.tv/ https://kodi.wiki/" @@ -175,15 +174,19 @@ pkg_setup() { } src_unpack() { - if python_is_python3; then - EGIT_BRANCH="feature_python3" - ewarn "Using the experimental Python 3 branch!" - ewarn "See https://kodi.wiki/view/Migration_to_Python_3 for more information." - ewarn "To use the non-experimental Python 2 version:" - ewarn "echo '~${CATEGORY}/${P} PYTHON_TARGETS: -* python2_7 PYTHON_SINGLE_TARGET: -* python2_7' >> /etc/portage/package.use" - ewarn "then re-merge using: emerge -a =${CATEGORY}/${PF}" + if [[ ${PV} == *9999 ]] ; then + if python_is_python3; then + EGIT_BRANCH="feature_python3" + ewarn "Using the experimental Python 3 branch!" + ewarn "See https://kodi.wiki/view/Migration_to_Python_3 for more information." + ewarn "To use the non-experimental Python 2 version:" + ewarn "echo '~${CATEGORY}/${P} PYTHON_TARGETS: -* python2_7 PYTHON_SINGLE_TARGET: -* python2_7' >> /etc/portage/package.use" + ewarn "then re-merge using: emerge -a =${CATEGORY}/${PF}" + fi + git-r3_src_unpack + else + default fi - git-r3_src_unpack } src_prepare() { |