summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-07-15 15:17:14 +0000
committerJohannes Huber <johu@gentoo.org>2012-07-15 15:17:14 +0000
commit176944b63f481faa9debf923dc8f7cf49ea5bae7 (patch)
tree112f10b052064e01bde95bad7c0e45fb83f21860 /kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild
parentMask net-misc/ssh-installkeys for removal wrt bug #315843. (diff)
downloadgentoo-2-176944b63f481faa9debf923dc8f7cf49ea5bae7.tar.gz
gentoo-2-176944b63f481faa9debf923dc8f7cf49ea5bae7.tar.bz2
gentoo-2-176944b63f481faa9debf923dc8f7cf49ea5bae7.zip
Respect LINGUAS.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild')
-rw-r--r--kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild15
1 files changed, 14 insertions, 1 deletions
diff --git a/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild b/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild
index 6919b30cf18c..b76fc01a0f4e 100644
--- a/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild
+++ b/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild
@@ -1,10 +1,12 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild,v 1.1 2012/01/03 19:41:30 johu Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild,v 1.2 2012/07/15 15:17:14 johu Exp $
EAPI=4
KDE_HANDBOOK=optional
+KDE_LINGUAS_DIR="i18n"
+KDE_LINGUAS="cs de sr sr@ijekavian sr@ijekavianlatin sr@latin"
inherit kde4-base
MY_P=${PN}4-${PV}
@@ -27,3 +29,14 @@ DEPEND="${RDEPEND}"
DOCS=( AUTHORS ChangeLog )
S=${WORKDIR}/${MY_P}
+
+src_prepare() {
+ local lang
+ for lang in ${KDE_LINGUAS} ; do
+ if ! use linguas_${lang} ; then
+ rm ${KDE_LINGUAS_DIR}/${PN}4_${lang}.po
+ fi
+ done
+
+ kde4-base_src_prepare
+}