diff options
-rw-r--r-- | kde-misc/quadkonsole/ChangeLog | 6 | ||||
-rw-r--r-- | kde-misc/quadkonsole/quadkonsole-0.4.4.ebuild | 15 |
2 files changed, 18 insertions, 3 deletions
diff --git a/kde-misc/quadkonsole/ChangeLog b/kde-misc/quadkonsole/ChangeLog index 843eb3aae8b3..b1e043fc0463 100644 --- a/kde-misc/quadkonsole/ChangeLog +++ b/kde-misc/quadkonsole/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for kde-misc/quadkonsole # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/quadkonsole/ChangeLog,v 1.14 2012/01/03 19:41:30 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/quadkonsole/ChangeLog,v 1.15 2012/07/15 15:17:14 johu Exp $ + + 15 Jul 2012; Johannes Huber <johu@gentoo.org> quadkonsole-0.4.4.ebuild: + Respect LINGUAS. *quadkonsole-0.4.4 (03 Jan 2012) @@ -36,4 +39,3 @@ 20 Nov 2009; Samuli Suominen <ssuominen@gentoo.org> +quadkonsole-0.1.ebuild: Initial commit wrt #293422, thanks to Fresh Corpse for reporting. - 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 +} |