From 9decb72f80361fd2172a6175c5d1263bff2ab50d Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Aug 2016 12:52:22 +0100 Subject: enable vlc backend by default, deprecate gstreamer backend --- media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild | 53 --------------------------------- media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild | 53 +++++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild create mode 100644 media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild (limited to 'media-tv') diff --git a/media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild deleted file mode 100644 index 4ab208b0..00000000 --- a/media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -EAPI=3 - -inherit eutils - -DESCRIPTION="Program to view free channels" -HOMEPAGE="http://code.google.com/p/tv-maxe" -SRC_URI="https://launchpad.net/~venerix/+archive/ubuntu/pkg/+files/${PN}_${PV}-0ubuntu2~trusty.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="+sqlite vlc mplayer +gstreamer" - -DEPEND="dev-lang/python:2.7[sqlite]" -RDEPEND="dev-python/pillow - mplayer? ( || ( - media-video/mplayer2 - media-video/mplayer - ) ) - vlc? ( media-video/vlc ) - virtual/ffmpeg - dev-python/python-virtkey - dev-python/pygtk - dev-lang/python:2.7[sqlite] - media-tv/sopcast - media-video/rtmpdump - gstreamer? ( - >=dev-python/gst-python-0.10.22-r1:0.10 - >=media-libs/gst-plugins-good-0.10.31-r1:0.10 - )" - -S="${WORKDIR}/${PN}-${PV}" - -src_prepare() { - sed -i "s|python|python2|g" ${S}/${PN}/${PN} || die "Cannot sed file" -} - -src_install() { - cd "${S}" - dodir /usr/share/${PN} || die - insinto /usr/share/${PN} || die - doins -r "${S}"/${PN}/* || die - fperms 755 /usr/share/${PN}/${PN} || die "Errors on permission giving" - fperms 755 /usr/share/${PN} || die "Errors on permission folder giving" - dosym /usr/share/${PN}/${PN} /usr/bin/${PN} || die "Not too many symbolic links" - make_desktop_entry tv-maxe TV-maxe \ - "/usr/share/tv-maxe/tvmaxe_mini.png" \ - AudioVideo -} diff --git a/media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild new file mode 100644 index 00000000..e77bf28d --- /dev/null +++ b/media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit eutils + +DESCRIPTION="Program to view free channels" +HOMEPAGE="http://code.google.com/p/tv-maxe" +SRC_URI="https://launchpad.net/~venerix/+archive/ubuntu/pkg/+files/${PN}_${PV}-0ubuntu2~trusty.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+sqlite +vlc mplayer gstreamer" + +DEPEND="dev-lang/python:2.7[sqlite]" +RDEPEND="dev-python/pillow + mplayer? ( || ( + media-video/mplayer2 + media-video/mplayer + ) ) + vlc? ( media-video/vlc ) + virtual/ffmpeg + dev-python/python-virtkey + dev-python/pygtk + dev-lang/python:2.7[sqlite] + media-tv/sopcast + media-video/rtmpdump + gstreamer? ( + >=dev-python/gst-python-0.10.22-r1:0.10 + >=media-libs/gst-plugins-good-0.10.31-r1:0.10 + )" + +S="${WORKDIR}/${PN}-${PV}" + +src_prepare() { + sed -i "s|python|python2|g" ${S}/${PN}/${PN} || die "Cannot sed file" +} + +src_install() { + cd "${S}" + dodir /usr/share/${PN} || die + insinto /usr/share/${PN} || die + doins -r "${S}"/${PN}/* || die + fperms 755 /usr/share/${PN}/${PN} || die "Errors on permission giving" + fperms 755 /usr/share/${PN} || die "Errors on permission folder giving" + dosym /usr/share/${PN}/${PN} /usr/bin/${PN} || die "Not too many symbolic links" + make_desktop_entry tv-maxe TV-maxe \ + "/usr/share/tv-maxe/tvmaxe_mini.png" \ + AudioVideo +} -- cgit v1.2.3