summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Whyman <thev00d00@gentoo.org>2012-01-19 21:59:22 +0000
committerIan Whyman <thev00d00@gentoo.org>2012-01-19 21:59:22 +0000
commit1780ae405837779d80286c59716378b4895c726c (patch)
tree3603e59fec0dad2944f333f1dba79ec49a3de5c4 /kde-misc/kcm-ufw
parentAdd AM_CONFIG_HEADER check (for pixman autoreconf). (diff)
downloadgentoo-2-1780ae405837779d80286c59716378b4895c726c.tar.gz
gentoo-2-1780ae405837779d80286c59716378b4895c726c.tar.bz2
gentoo-2-1780ae405837779d80286c59716378b4895c726c.zip
kcm-ufw: Fix linguas
(Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/kcm-ufw')
-rw-r--r--kde-misc/kcm-ufw/ChangeLog8
-rw-r--r--kde-misc/kcm-ufw/kcm-ufw-0.4.1-r1.ebuild (renamed from kde-misc/kcm-ufw/kcm-ufw-0.4.1.ebuild)19
2 files changed, 23 insertions, 4 deletions
diff --git a/kde-misc/kcm-ufw/ChangeLog b/kde-misc/kcm-ufw/ChangeLog
index bfc0d1171a3b..19acd6ce3b89 100644
--- a/kde-misc/kcm-ufw/ChangeLog
+++ b/kde-misc/kcm-ufw/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for kde-misc/kcm-ufw
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm-ufw/ChangeLog,v 1.1 2012/01/08 15:26:07 thev00d00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm-ufw/ChangeLog,v 1.2 2012/01/19 21:59:22 thev00d00 Exp $
+
+*kcm-ufw-0.4.1-r1 (19 Jan 2012)
+
+ 19 Jan 2012; Ian Whyman <thev00d00@gentoo.org> -kcm-ufw-0.4.1.ebuild,
+ +kcm-ufw-0.4.1-r1.ebuild:
+ Fix linguas
*kcm-ufw-0.4.1 (08 Jan 2012)
diff --git a/kde-misc/kcm-ufw/kcm-ufw-0.4.1.ebuild b/kde-misc/kcm-ufw/kcm-ufw-0.4.1-r1.ebuild
index 836bcf274bd4..ae26dfc617e0 100644
--- a/kde-misc/kcm-ufw/kcm-ufw-0.4.1.ebuild
+++ b/kde-misc/kcm-ufw/kcm-ufw-0.4.1-r1.ebuild
@@ -1,12 +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/kcm-ufw/kcm-ufw-0.4.1.ebuild,v 1.1 2012/01/08 15:26:07 thev00d00 Exp $
+# $Header: /var/cvsroot/gentoo-x86/kde-misc/kcm-ufw/kcm-ufw-0.4.1-r1.ebuild,v 1.1 2012/01/19 21:59:22 thev00d00 Exp $
EAPI=4
KDE_MINIMAL="4.5"
-KDE_LINGUAS="en es fr lt"
-inherit kde4-base
+PYTHON_DEPEND="2"
+inherit kde4-base python
MY_P="${P/-/_}"
@@ -18,6 +18,10 @@ LICENSE="GPL-3"
SLOT="4"
KEYWORDS="~amd64 ~x86"
IUSE=""
+LINGUAS="en es fr lt"
+for lingua in ${LINGUAS}; do
+ IUSE+=" linguas_${lingua}"
+done
COMMON_DEPEND="$(add_kdebase_dep kdelibs)
net-firewall/ufw
@@ -31,3 +35,12 @@ RDEPEND="${COMMON_DEPEND}
"
S="${WORKDIR}/${MY_P}"
+
+src_configure() {
+ LANGS=""
+ for x in ${LINGUAS}; do
+ use linguas_${x} && LANGS+="${x};"
+ done
+ MYCMAKEARGS="-DUFW_TRANSLATIONS=${LANGS}"
+ kde4-base_src_configure
+}