summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2012-07-27 04:36:58 +0000
committerBen de Groot <yngwin@gentoo.org>2012-07-27 04:36:58 +0000
commit6dd9c7bb8e139d568680f85f257b025f01bb2261 (patch)
tree7deab9a04aba2e309c568893ee58dc9d168f5771 /media-video/minitube
parentkeyword ~amd64-linux (diff)
downloadgentoo-2-6dd9c7bb8e139d568680f85f257b025f01bb2261.tar.gz
gentoo-2-6dd9c7bb8e139d568680f85f257b025f01bb2261.tar.bz2
gentoo-2-6dd9c7bb8e139d568680f85f257b025f01bb2261.zip
Add fix for l10n usage, bug #428206
(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)
Diffstat (limited to 'media-video/minitube')
-rw-r--r--media-video/minitube/ChangeLog6
-rw-r--r--media-video/minitube/minitube-1.7.1.ebuild6
-rw-r--r--media-video/minitube/minitube-1.8.ebuild6
3 files changed, 13 insertions, 5 deletions
diff --git a/media-video/minitube/ChangeLog b/media-video/minitube/ChangeLog
index 72f1d2f9cf1d..fb1b014ebb7f 100644
--- a/media-video/minitube/ChangeLog
+++ b/media-video/minitube/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/minitube
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.70 2012/07/26 09:01:10 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/ChangeLog,v 1.71 2012/07/27 04:36:58 yngwin Exp $
+
+ 27 Jul 2012; Ben de Groot <yngwin@gentoo.org> minitube-1.7.1.ebuild,
+ minitube-1.8.ebuild:
+ Add fix for l10n usage, bug #428206
26 Jul 2012; Ben de Groot <yngwin@gentoo.org> minitube-1.7.1.ebuild,
minitube-1.8.ebuild:
diff --git a/media-video/minitube/minitube-1.7.1.ebuild b/media-video/minitube/minitube-1.7.1.ebuild
index 4adf6e3510c4..19761fde384e 100644
--- a/media-video/minitube/minitube-1.7.1.ebuild
+++ b/media-video/minitube/minitube-1.7.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.7.1.ebuild,v 1.4 2012/07/26 09:01:10 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.7.1.ebuild,v 1.5 2012/07/27 04:36:57 yngwin Exp $
EAPI=4
PLOCALES="ar ca ca_ES da de_DE el en_US es es_AR es_ES fi fi_FI fr gl he_IL hr
@@ -40,7 +40,9 @@ src_prepare() {
# Remove unneeded translations
local trans=
- trans=$(l10n_get_locales)
+ for x in $(l10n_get_locales); do
+ trans+="${x}.ts "
+ done
if [[ -n ${trans} ]]; then
sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die
fi
diff --git a/media-video/minitube/minitube-1.8.ebuild b/media-video/minitube/minitube-1.8.ebuild
index 5c8635036f15..f23d307f7e9d 100644
--- a/media-video/minitube/minitube-1.8.ebuild
+++ b/media-video/minitube/minitube-1.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.8.ebuild,v 1.3 2012/07/26 09:01:10 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/minitube/minitube-1.8.ebuild,v 1.4 2012/07/27 04:36:57 yngwin Exp $
EAPI=4
PLOCALES="ar ca ca_ES da de_DE el en es es_AR es_ES fi fi_FI fr gl he_IL hr hu
@@ -40,7 +40,9 @@ src_prepare() {
# Remove unneeded translations
local trans=
- trans=$(l10n_get_locales)
+ for x in $(l10n_get_locales); do
+ trans+="${x}.ts "
+ done
if [[ -n ${trans} ]]; then
sed -i -e "/^TRANSLATIONS/s/+=.*/+=${trans}/" locale/locale.pri || die
fi