summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-03-01 23:42:33 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-03-01 23:42:33 +0000
commit683dc8ac8cd8f207de35f6225595ff0d1991cd2f (patch)
treefcab56fb4c01ce2ee5561dc3eb638729758c05c0 /net-p2p/transmission
parentMarking memtester-4.2.2 ppc for bug 400489 (diff)
downloadgentoo-2-683dc8ac8cd8f207de35f6225595ff0d1991cd2f.tar.gz
gentoo-2-683dc8ac8cd8f207de35f6225595ff0d1991cd2f.tar.bz2
gentoo-2-683dc8ac8cd8f207de35f6225595ff0d1991cd2f.zip
Qt4 translation(s) behind USE="nls"
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'net-p2p/transmission')
-rw-r--r--net-p2p/transmission/ChangeLog5
-rw-r--r--net-p2p/transmission/transmission-2.50.ebuild20
2 files changed, 15 insertions, 10 deletions
diff --git a/net-p2p/transmission/ChangeLog b/net-p2p/transmission/ChangeLog
index 7a70b46163f2..ae0aa86f7f09 100644
--- a/net-p2p/transmission/ChangeLog
+++ b/net-p2p/transmission/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-p2p/transmission
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.172 2012/03/01 22:53:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/ChangeLog,v 1.173 2012/03/01 23:42:33 ssuominen Exp $
+
+ 01 Mar 2012; Samuli Suominen <ssuominen@gentoo.org> transmission-2.50.ebuild:
+ Qt4 translation(s) behind USE="nls"
*transmission-2.50 (01 Mar 2012)
diff --git a/net-p2p/transmission/transmission-2.50.ebuild b/net-p2p/transmission/transmission-2.50.ebuild
index dd149834b6d5..a3dd70ffb79d 100644
--- a/net-p2p/transmission/transmission-2.50.ebuild
+++ b/net-p2p/transmission/transmission-2.50.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/net-p2p/transmission/transmission-2.50.ebuild,v 1.1 2012/03/01 22:53:53 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/transmission/transmission-2.50.ebuild,v 1.2 2012/03/01 23:42:33 ssuominen Exp $
EAPI=4
LANGS="en es kk lt pt_BR ru"
@@ -117,14 +117,16 @@ src_install() {
domenu ${PN}-qt.desktop
doicon icons/${PN}-qt.png
- insinto /usr/share/qt4/translations
- local lang
- for lang in ${LANGS}; do
- if use linguas_${lang}; then
- lrelease translations/${PN}_${lang}.ts || die
- doins translations/${PN}_${lang}.qm
- fi
- done
+ if use nls; then
+ insinto /usr/share/qt4/translations
+ local lang
+ for lang in ${LANGS}; do
+ if use linguas_${lang}; then
+ lrelease translations/${PN}_${lang}.ts || die
+ doins translations/${PN}_${lang}.qm
+ fi
+ done
+ fi
if use kde; then
insinto /usr/share/kde4/services