public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in net-im/qtwitter: ChangeLog qtwitter-0.8.0.ebuild
@ 2009-07-14 19:07 Markos Chandras (hwoarang)
  0 siblings, 0 replies; only message in thread
From: Markos Chandras (hwoarang) @ 2009-07-14 19:07 UTC (permalink / raw
  To: gentoo-commits

hwoarang    09/07/14 19:07:22

  Modified:             ChangeLog qtwitter-0.8.0.ebuild
  Log:
  Fix linguas
  (Portage version: 2.2_rc33/cvs/Linux x86_64)

Revision  Changes    Path
1.8                  net-im/qtwitter/ChangeLog

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.8&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?rev=1.8&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/ChangeLog?r1=1.7&r2=1.8

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -r1.7 -r1.8
--- ChangeLog	14 Jul 2009 19:03:01 -0000	1.7
+++ ChangeLog	14 Jul 2009 19:07:22 -0000	1.8
@@ -1,6 +1,9 @@
 # ChangeLog for net-im/qtwitter
 # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.7 2009/07/14 19:03:01 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/ChangeLog,v 1.8 2009/07/14 19:07:22 hwoarang Exp $
+
+  14 Jul 2009; Markos Chandras <hwoarang@gentoo.org> qtwitter-0.8.0.ebuild:
+  Fix linguas
 
 *qtwitter-0.8.0 (14 Jul 2009)
 



1.2                  net-im/qtwitter/qtwitter-0.8.0.ebuild

file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild?rev=1.2&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild?rev=1.2&content-type=text/plain
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild?r1=1.1&r2=1.2

Index: qtwitter-0.8.0.ebuild
===================================================================
RCS file: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- qtwitter-0.8.0.ebuild	14 Jul 2009 19:03:01 -0000	1.1
+++ qtwitter-0.8.0.ebuild	14 Jul 2009 19:07:22 -0000	1.2
@@ -1,6 +1,6 @@
 # Copyright 1999-2009 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild,v 1.1 2009/07/14 19:03:01 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/qtwitter/qtwitter-0.8.0.ebuild,v 1.2 2009/07/14 19:07:22 hwoarang Exp $
 
 EAPI="2"
 
@@ -19,8 +19,15 @@
 	oauth? ( dev-libs/qoauth )"
 RDEPEND="${DEPEND}"
 
-LANGS="pt_BR"
-LANGSLONG="ca_ES de_DE es_ES fr_FR it_IT ja_JP pl_PL"
+QTWITTER_LANGS="pt_BR"
+QTWITTER_NOLONGLANGS="ca_ES de_DE es_ES fr_FR ja_JP pl_PL"
+
+for L in $QTWITTER_LANGS; do
+	IUSE="$IUSE linguas_$L"
+done
+for L in $QTWITTER_NOLONGLANGS; do
+	IUSE="$IUSE linguas_${L%_*}"
+done
 
 src_prepare() {
 	qt4_src_prepare
@@ -28,10 +35,10 @@
 
 	local langs=
 	for lingua in $LINGUAS; do
-		if has $lingua $LANGS; then
+		if has $lingua $QTWITTER_LANGS; then
 			langs="$langs loc/${PN}_${lingua}.ts"
 		else
-			for a in $LANGSLONG; do
+			for a in $QTWITTER_NOLONGLANGS; do
 				if [[ $lingua == ${a%_*} ]]; then
 					langs="$langs loc/${PN}_${a}.ts"
 				fi






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-07-14 19:07 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-14 19:07 [gentoo-commits] gentoo-x86 commit in net-im/qtwitter: ChangeLog qtwitter-0.8.0.ebuild Markos Chandras (hwoarang)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox