From d5a56d0a641e1643be1a6587c2757d4f4bf127c1 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 14 Jan 2018 05:15:06 +0000 Subject: media-tv/tv-maxe : upgrade ebuild to EAPI 6 format --- media-tv/tv-maxe/tv-maxe-0.11-r4.ebuild | 48 ------------------------------- media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild | 51 +++++++++++++++++++++++++++++++++ 2 files changed, 51 insertions(+), 48 deletions(-) delete mode 100644 media-tv/tv-maxe/tv-maxe-0.11-r4.ebuild create mode 100644 media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild (limited to 'media-tv/tv-maxe') diff --git a/media-tv/tv-maxe/tv-maxe-0.11-r4.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r4.ebuild deleted file mode 100644 index c86d395d..00000000 --- a/media-tv/tv-maxe/tv-maxe-0.11-r4.ebuild +++ /dev/null @@ -1,48 +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" - -DEPEND="dev-lang/python:2.7[sqlite]" -RDEPEND="${DEPEND} - vlc? ( media-video/vlc ) - dev-python/pillow - dev-python/python-virtkey - dev-python/pygtk - media-tv/sopcast - media-video/rtmpdump - virtual/ffmpeg" - -S="${WORKDIR}/${PN}-${PV}" - -src_prepare() { - epatch ${FILESDIR}/${PN}_disable_locale.patch - sed -i "s/python/python2/g" ${PN}/${PN} -} - -src_install() { - dodir usr/bin - exeinto usr/bin - doexe ${PN}/${PN} - - dodir usr/share/${PN} - insinto usr/share/${PN} - doins -r ${PN}/* - - newicon ${PN}/tvmaxe_mini.png tv-maxe.png - make_desktop_entry tv-maxe TV-maxe \ - "tv-maxe" \ - AudioVideo -} diff --git a/media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild new file mode 100644 index 00000000..b027b3cf --- /dev/null +++ b/media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) + +inherit eutils python-r1 + +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" + +DEPEND="dev-lang/python[sqlite]" +RDEPEND="${DEPEND} + vlc? ( media-video/vlc ) + dev-python/pillow[${PYTHON_USEDEP}] + dev-python/python-virtkey[${PYTHON_USEDEP}] + dev-python/pygtk[${PYTHON_USEDEP}] + media-tv/sopcast + media-video/rtmpdump + virtual/ffmpeg" + +S="${WORKDIR}/${PN}-${PV}" + +src_prepare() { + default + eapply ${FILESDIR}/${PN}_disable_locale.patch + sed -i "s/python/python2/g" ${PN}/${PN} +} + +src_install() { + dodir usr/bin + exeinto usr/bin + doexe ${PN}/${PN} + + dodir usr/share/${PN} + insinto usr/share/${PN} + doins -r ${PN}/* + + newicon ${PN}/tvmaxe_mini.png tv-maxe.png + make_desktop_entry tv-maxe TV-maxe \ + "tv-maxe" \ + AudioVideo +} -- cgit v1.2.3