summaryrefslogtreecommitdiff
path: root/media-video/tv-maxe/tv-maxe-0.10.ebuild
diff options
context:
space:
mode:
authorV3n3RiX <venerix@gmail.com>2014-11-09 17:46:48 +0200
committerV3n3RiX <venerix@gmail.com>2014-11-09 17:46:48 +0200
commit1da2416e5504c17ed1a06dafeedd0991c7ca974c (patch)
treebdd9a826af3bb45963d96e93d1a518c26980d79c /media-video/tv-maxe/tv-maxe-0.10.ebuild
parent9eeedd73b3a3ea33a528e133392d9c06a80ccbaf (diff)
proper ebuild for TV-MAXE
Diffstat (limited to 'media-video/tv-maxe/tv-maxe-0.10.ebuild')
-rw-r--r--media-video/tv-maxe/tv-maxe-0.10.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/media-video/tv-maxe/tv-maxe-0.10.ebuild b/media-video/tv-maxe/tv-maxe-0.10.ebuild
new file mode 100644
index 00000000..8923e3c1
--- /dev/null
+++ b/media-video/tv-maxe/tv-maxe-0.10.ebuild
@@ -0,0 +1,56 @@
+# 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}-0ubuntu1~trusty.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+sqlite vlc mplayer +gstreamer"
+
+DEPEND="dev-lang/python[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[sqlite]
+ media-tv/sp-auth
+ media-video/rtmpdump
+ gstreamer? (
+ >=dev-python/gst-python-0.10.22-r1
+ <dev-python/gst-python-1.2.1
+ >=media-libs/gst-plugins-good-0.10.31-r1
+ <media-libs/gst-plugins-good-1.2.4-r1
+ )"
+DEPEND=""
+
+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
+}