summaryrefslogtreecommitdiff
path: root/media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-06-16 19:53:34 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-06-16 19:53:34 +0100
commitf208afe975715fb3f5aa422e3d69f1b5d8a716f3 (patch)
treeb9e4656bb7211ea64bfe310256ae95f94bc70e05 /media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild
parentf0962ddd7051df1b733d2e2278a5fcf39e467eb7 (diff)
Revert "media-tv/{tv-maxe,sopcast} : sorry lads, but your codebase is way to old to keep things sane anymore, drop"
This reverts commit 8b21ffab3433955fd17c7e6a43d488864f9a951b.
Diffstat (limited to 'media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild')
-rw-r--r--media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild51
1 files changed, 51 insertions, 0 deletions
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
+}