diff options
author | Johannes Huber <johu@gentoo.org> | 2012-07-16 13:29:02 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2012-07-16 13:29:02 +0000 |
commit | 656b8c977537ef28664a86a8532ffc545fbc0649 (patch) | |
tree | e96b151d7bada1bc7713c4c53c3b3a4b3f790eb3 | |
parent | Stable for x86, wrt bug #426714 (diff) | |
download | gentoo-2-656b8c977537ef28664a86a8532ffc545fbc0649.tar.gz gentoo-2-656b8c977537ef28664a86a8532ffc545fbc0649.tar.bz2 gentoo-2-656b8c977537ef28664a86a8532ffc545fbc0649.zip |
Respect LINGUAS, remove old.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
-rw-r--r-- | kde-misc/fancytasks/ChangeLog | 7 | ||||
-rw-r--r-- | kde-misc/fancytasks/fancytasks-1.1.0.ebuild | 28 | ||||
-rw-r--r-- | kde-misc/fancytasks/fancytasks-1.1.2.ebuild | 18 |
3 files changed, 22 insertions, 31 deletions
diff --git a/kde-misc/fancytasks/ChangeLog b/kde-misc/fancytasks/ChangeLog index 766d788e59be..6abff4d8d1d6 100644 --- a/kde-misc/fancytasks/ChangeLog +++ b/kde-misc/fancytasks/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-misc/fancytasks # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/ChangeLog,v 1.13 2012/06/14 15:39:02 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/ChangeLog,v 1.14 2012/07/16 13:29:02 johu Exp $ + + 16 Jul 2012; Johannes Huber <johu@gentoo.org> -fancytasks-1.1.0.ebuild, + fancytasks-1.1.2.ebuild: + Respect LINGUAS, remove old. *fancytasks-1.1.2 (14 Jun 2012) @@ -66,4 +70,3 @@ 28 Oct 2009; Samuli Suominen <ssuominen@gentoo.org> +fancytasks-0.9.8.ebuild: Initial commit wrt #285313, thanks to Art Win for reporting. - diff --git a/kde-misc/fancytasks/fancytasks-1.1.0.ebuild b/kde-misc/fancytasks/fancytasks-1.1.0.ebuild deleted file mode 100644 index d6abbee2c0a0..000000000000 --- a/kde-misc/fancytasks/fancytasks-1.1.0.ebuild +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.1.0.ebuild,v 1.1 2012/03/23 07:22:49 johu Exp $ - -EAPI=4 -KDE_LINGUAS="de en_GB es et fr km nds pl pt ru sv tr uk" -KDE_LINGUAS_DIR=( applet/locale containment/locale ) -KDE_MINIMAL="4.8" -inherit kde4-base - -DESCRIPTION="Task and launch representation plasmoid" -HOMEPAGE="http://kde-look.org/content/show.php/Fancy+Tasks?content=99737" -SRC_URI="http://kde-look.org/CONTENT/content-files/99737-${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="4" -KEYWORDS="~amd64 ~x86" -IUSE="debug" - -DEPEND=" - $(add_kdebase_dep plasma-workspace) - x11-libs/libX11 - x11-libs/libXcomposite - x11-libs/libXext -" -RDEPEND="${DEPEND}" - -DOCS=( CHANGELOG README TODO ) diff --git a/kde-misc/fancytasks/fancytasks-1.1.2.ebuild b/kde-misc/fancytasks/fancytasks-1.1.2.ebuild index 33b1d994b93c..b1ecf753c2c8 100644 --- a/kde-misc/fancytasks/fancytasks-1.1.2.ebuild +++ b/kde-misc/fancytasks/fancytasks-1.1.2.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/kde-misc/fancytasks/fancytasks-1.1.2.ebuild,v 1.1 2012/06/14 15:39:02 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/fancytasks/fancytasks-1.1.2.ebuild,v 1.2 2012/07/16 13:29:02 johu Exp $ EAPI=4 KDE_LINGUAS="de en_GB es et fr km nds pl pt ru sv tr uk" @@ -26,3 +26,19 @@ DEPEND=" RDEPEND="${DEPEND}" DOCS=( CHANGELOG README TODO ) + +src_prepare() { + kde4-base_src_prepare + + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use linguas_${lang} ; then + local dir + for dir in ${KDE_LINGUAS_DIR[@]} ; do + if [ -f ${dir}/${lang}.mo ]; then + rm ${dir}/${lang}.mo + fi + done + fi + done +} |