summaryrefslogtreecommitdiff
path: root/media-tv/tv-maxe
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-03-19 18:08:48 +0200
committerV3n3RiX <venerix@rogentos.ro>2015-03-19 18:08:48 +0200
commit7a66941a83833930ca2c92fb40425f327d9adef9 (patch)
tree354b4c973cc1c27b831d7225ee6e2b291e303185 /media-tv/tv-maxe
parent134cf33a1d6a48eaa2c18c811ae400adb2d8e977 (diff)
tv-maxe is a tv app, so move to right category + fix sopcast deps
Diffstat (limited to 'media-tv/tv-maxe')
-rw-r--r--media-tv/tv-maxe/Manifest2
-rw-r--r--media-tv/tv-maxe/tv-maxe-0.10.ebuild53
-rw-r--r--media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild53
3 files changed, 108 insertions, 0 deletions
diff --git a/media-tv/tv-maxe/Manifest b/media-tv/tv-maxe/Manifest
new file mode 100644
index 00000000..db60eb73
--- /dev/null
+++ b/media-tv/tv-maxe/Manifest
@@ -0,0 +1,2 @@
+DIST tv-maxe_0.10-0ubuntu1~trusty.tar.gz 2157761 SHA256 87bf8f4650a91f455f4bd34d7677fbd555a1a8116d117f4e0e6a6d7ff09b3764 SHA512 2aabc8bf87bf3290f577cabcc194c387d4048ea9e682b3a87103db18a0682beda75b37d72ff36d24e8d2ac26d3fd9856837e4fa164f0a7421f296df3e2d6d24d WHIRLPOOL 65e03534f60422977acec72dd792360b5926a7698c4f348403a1361dbc13d3fdbaa305b4d026cd8283947ace5892dc654cb38698cc475917d02467663ae8d877
+DIST tv-maxe_0.11-0ubuntu2~trusty.tar.gz 2159664 SHA256 78c67564ed548a3d901178131f62d50108d32929bb71ca8c2f0ebcf472b1ddb1 SHA512 7579bb55e42def70c7246f5a14b779914f0dfa6d3a730b7cbe71e0d0dc527a72484ff31e5be6abab894fabc185bc2d403a731356527c561d344fcc7486882237 WHIRLPOOL 1300931bcb321c68ee0e03d89103972188f7557d4110436883b79cb6b3a00cb8460dc2739388337de36af7444a2823f0ac932b9f99209d2674b004fe707fa3a2
diff --git a/media-tv/tv-maxe/tv-maxe-0.10.ebuild b/media-tv/tv-maxe/tv-maxe-0.10.ebuild
new file mode 100644
index 00000000..66bdd07e
--- /dev/null
+++ b/media-tv/tv-maxe/tv-maxe-0.10.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}-0ubuntu1~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-r1.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r1.ebuild
new file mode 100644
index 00000000..4ab208b0
--- /dev/null
+++ b/media-tv/tv-maxe/tv-maxe-0.11-r1.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
+}