diff options
Diffstat (limited to 'media-tv/xbmc/xbmc-9999.ebuild')
-rw-r--r-- | media-tv/xbmc/xbmc-9999.ebuild | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/media-tv/xbmc/xbmc-9999.ebuild b/media-tv/xbmc/xbmc-9999.ebuild index 65cbdceb3fa3..bfbcaf72e655 100644 --- a/media-tv/xbmc/xbmc-9999.ebuild +++ b/media-tv/xbmc/xbmc-9999.ebuild @@ -1,15 +1,15 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.141 2013/04/13 19:45:21 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-tv/xbmc/xbmc-9999.ebuild,v 1.142 2013/04/20 17:22:26 scarabeus Exp $ -EAPI="4" +EAPI=5 # Does not work with py3 here # It might work with py:2.5 but I didn't test that -PYTHON_DEPEND="2:2.6" -PYTHON_USE_WITH=sqlite +PYTHON_COMPAT=( python{2_6,2_7} ) +PYTHON_REQ_USE="sqlite" -inherit eutils python multiprocessing autotools +inherit eutils python-single-r1 multiprocessing autotools case ${PV} in 9999) @@ -43,7 +43,8 @@ REQUIRED_USE=" xrandr? ( X ) " -COMMON_DEPEND="app-arch/bzip2 +COMMON_DEPEND="${PYTHON_DEPS} + app-arch/bzip2 app-arch/unzip app-arch/zip app-i18n/enca @@ -57,7 +58,7 @@ COMMON_DEPEND="app-arch/bzip2 >=dev-libs/lzo-2.04 dev-libs/tinyxml[stl] dev-libs/yajl - dev-python/simplejson + dev-python/simplejson[${PYTHON_USEDEP}] media-fonts/corefonts media-fonts/roboto media-libs/alsa-lib @@ -90,8 +91,8 @@ COMMON_DEPEND="app-arch/bzip2 media-libs/tiff pulseaudio? ( media-sound/pulseaudio ) media-sound/wavpack - || ( media-libs/libpostproc <media-video/libav-0.8.2-r1 media-video/ffmpeg ) - >=virtual/ffmpeg-0.6[encode] + || ( media-libs/libpostproc media-video/ffmpeg ) + >=virtual/ffmpeg-9[encode] rtmp? ( media-video/rtmpdump ) avahi? ( net-dns/avahi ) nfs? ( net-fs/libnfs ) @@ -137,8 +138,7 @@ DEPEND="${COMMON_DEPEND} S=${WORKDIR}/${MY_P} pkg_setup() { - python_set_active_version 2 - python_pkg_setup + python-single-r1_pkg_setup } src_unpack() { @@ -148,6 +148,7 @@ src_unpack() { src_prepare() { epatch "${FILESDIR}"/${PN}-9999-nomythtv.patch epatch "${FILESDIR}"/${PN}-9999-no-arm-flags.patch #400617 + epatch "${FILESDIR}"/${PN}-13.0-system-projectm.patch # The mythtv patch touches configure.ac, so force a regen rm -f configure @@ -278,9 +279,8 @@ src_install() { dosym /usr/share/fonts/roboto/Roboto-Bold.ttf \ /usr/share/xbmc/addons/skin.confluence/fonts/Roboto-Bold.ttf - insinto "$(python_get_sitedir)" #309885 - doins tools/EventClients/lib/python/xbmcclient.py || die - newbin "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send || die + python_domodule tools/EventClients/lib/python/xbmcclient.py + python_newscript "tools/EventClients/Clients/XBMC Send/xbmc-send.py" xbmc-send } pkg_postinst() { |