summaryrefslogtreecommitdiff
path: root/media-tv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-04-09 17:30:57 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-04-09 17:30:57 +0100
commit7f85c963358c2f7ab3bc7961346947e7b59a8c10 (patch)
tree53cd02a240f77ce29399d8c67853f9fd1aa41de4 /media-tv
parenta91d53770e1224fb0ad350e02cc93fb5ef9798a8 (diff)
fix tv-maxe weird behaviour on non standard locale
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/tv-maxe/Manifest1
-rw-r--r--media-tv/tv-maxe/files/tv-maxe_disable_locale.patch11
-rw-r--r--media-tv/tv-maxe/tv-maxe-0.10.ebuild53
-rw-r--r--media-tv/tv-maxe/tv-maxe-0.11-r3.ebuild (renamed from media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild)1
4 files changed, 12 insertions, 54 deletions
diff --git a/media-tv/tv-maxe/Manifest b/media-tv/tv-maxe/Manifest
index db60eb73..d0ffec63 100644
--- a/media-tv/tv-maxe/Manifest
+++ b/media-tv/tv-maxe/Manifest
@@ -1,2 +1 @@
-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/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.10.ebuild b/media-tv/tv-maxe/tv-maxe-0.10.ebuild
deleted file mode 100644
index 66bdd07e..00000000
--- a/media-tv/tv-maxe/tv-maxe-0.10.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# 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-r2.ebuild b/media-tv/tv-maxe/tv-maxe-0.11-r3.ebuild
index 3433ed4f..f7466c5f 100644
--- a/media-tv/tv-maxe/tv-maxe-0.11-r2.ebuild
+++ b/media-tv/tv-maxe/tv-maxe-0.11-r3.ebuild
@@ -33,6 +33,7 @@ S="${WORKDIR}/${PN}-${PV}"
src_prepare() {
sed -i "s|python|python2|g" ${S}/${PN}/${PN} || die "Cannot sed file"
+ epatch ${FILESDIR}/${PN}_disable_locale.patch
}
src_install() {