diff options
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/tv-maxe/Manifest | 1 | ||||
-rw-r--r-- | media-video/tv-maxe/tv-maxe-0.10.ebuild | 56 |
2 files changed, 57 insertions, 0 deletions
diff --git a/media-video/tv-maxe/Manifest b/media-video/tv-maxe/Manifest index df2b5e0e..bf87e80f 100644 --- a/media-video/tv-maxe/Manifest +++ b/media-video/tv-maxe/Manifest @@ -1,2 +1,3 @@ DIST tv-maxe-0.08.tar.gz 1175803 SHA256 ba2dbef7e69a63e55367c42f7479d8ec19a31703b34f403823036395c8a348c7 SHA512 d20ed7f8740d09c45f9bdaa34c77a07ebdd20f4332ab3bb584db9b70384ad2a59834a8ea0b3ebbd3ca850c05cb0c485db513e401b06901852d57206088cbafb9 WHIRLPOOL 616a6de75e4642bf10b5c2f6f33e35dd2bc333e626bfe28461bffac16ab6ddfff1ccc5e03d621e4650fad57dc762d7d3415a26ff1c270f534d33963bf9fbf250 DIST tv-maxe-0.09.tar.gz 2157775 SHA256 3f580f0801cc2326ed1c367917bea9d1d9d68d86384d85380fda4d3adf391210 SHA512 516feaf829758626d643791c7ab84093ce717c42e9af5d46c5ab0adf032c5c56ccb164bcf5c93d9e89a8fc4de8b4c2f32ea07283c38865c3d71adb291b339d19 WHIRLPOOL e92413d3d0f976683f97c7392f5eda548207eac90868c029a2b07f027c5139a9244cead8891f0f50688bc79314b965a3b9637a7f37b90d2cafade0d0daa0b249 +DIST tv-maxe_0.10-0ubuntu1~trusty.tar.gz 2157761 SHA256 87bf8f4650a91f455f4bd34d7677fbd555a1a8116d117f4e0e6a6d7ff09b3764 SHA512 2aabc8bf87bf3290f577cabcc194c387d4048ea9e682b3a87103db18a0682beda75b37d72ff36d24e8d2ac26d3fd9856837e4fa164f0a7421f296df3e2d6d24d WHIRLPOOL 65e03534f60422977acec72dd792360b5926a7698c4f348403a1361dbc13d3fdbaa305b4d026cd8283947ace5892dc654cb38698cc475917d02467663ae8d877 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 +} |