diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 19:53:34 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-06-16 19:53:34 +0100 |
commit | f208afe975715fb3f5aa422e3d69f1b5d8a716f3 (patch) | |
tree | b9e4656bb7211ea64bfe310256ae95f94bc70e05 /media-tv/tv-maxe | |
parent | f0962ddd7051df1b733d2e2278a5fcf39e467eb7 (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')
-rw-r--r-- | media-tv/tv-maxe/Manifest | 1 | ||||
-rw-r--r-- | media-tv/tv-maxe/files/tv-maxe_disable_locale.patch | 11 | ||||
-rw-r--r-- | media-tv/tv-maxe/tv-maxe-0.11-r5.ebuild | 51 |
3 files changed, 63 insertions, 0 deletions
diff --git a/media-tv/tv-maxe/Manifest b/media-tv/tv-maxe/Manifest new file mode 100644 index 00000000..760c9791 --- /dev/null +++ b/media-tv/tv-maxe/Manifest @@ -0,0 +1 @@ +DIST tv-maxe_0.11-0ubuntu2~trusty.tar.gz 2159664 BLAKE2B 9772bced4546ca4d7e01197a28e7ab52a851ad9ceb769cb60b1a1f3f3d424d425aad0904a026cd8ee30c4c405f9b994b8e6c70f2b5615af21983028617307122 SHA512 7579bb55e42def70c7246f5a14b779914f0dfa6d3a730b7cbe71e0d0dc527a72484ff31e5be6abab894fabc185bc2d403a731356527c561d344fcc7486882237 diff --git a/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch b/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch new file mode 100644 index 00000000..66aeca8d --- /dev/null +++ b/media-tv/tv-maxe/files/tv-maxe_disable_locale.patch @@ -0,0 +1,11 @@ +diff -Nur a/tv-maxe/tvmaxe.py b/tv-maxe/tvmaxe.py +--- a/tv-maxe/tvmaxe.py 2015-01-07 14:53:41.000000000 +0000 ++++ b/tv-maxe/tvmaxe.py 2017-04-09 17:24:40.536587825 +0100 +@@ -11,7 +11,6 @@ + os.path.abspath(__file__)), 'lng') + except: + LOCALE_PATH = 'lng' +-locale.setlocale(locale.LC_ALL, '') + for module in gtk.glade, gettext: + module.bindtextdomain(GETTEXT_DOMAIN, LOCALE_PATH) + module.textdomain(GETTEXT_DOMAIN) 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 +} |