diff options
author | Johannes Huber <johu@gentoo.org> | 2012-07-15 13:11:35 +0000 |
---|---|---|
committer | Johannes Huber <johu@gentoo.org> | 2012-07-15 13:11:35 +0000 |
commit | 09d42ccbeed5921cbf3681ef3ed081e09023bf67 (patch) | |
tree | 354fa965da15394b8d7c5c5c403091056c8abfa7 /kde-misc/adjustableclock | |
parent | Stable for amd64, wrt bug #426668 (diff) | |
download | gentoo-2-09d42ccbeed5921cbf3681ef3ed081e09023bf67.tar.gz gentoo-2-09d42ccbeed5921cbf3681ef3ed081e09023bf67.tar.bz2 gentoo-2-09d42ccbeed5921cbf3681ef3ed081e09023bf67.zip |
Respect LINGUAS. Remove old.
(Portage version: 2.2.0_alpha118/cvs/Linux x86_64)
Diffstat (limited to 'kde-misc/adjustableclock')
-rw-r--r-- | kde-misc/adjustableclock/ChangeLog | 6 | ||||
-rw-r--r-- | kde-misc/adjustableclock/adjustableclock-3.0.ebuild | 23 | ||||
-rw-r--r-- | kde-misc/adjustableclock/adjustableclock-3.1.ebuild | 15 |
3 files changed, 19 insertions, 25 deletions
diff --git a/kde-misc/adjustableclock/ChangeLog b/kde-misc/adjustableclock/ChangeLog index b0e0f9d7f842..321c6f23596e 100644 --- a/kde-misc/adjustableclock/ChangeLog +++ b/kde-misc/adjustableclock/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for kde-misc/adjustableclock # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/adjustableclock/ChangeLog,v 1.6 2012/06/25 18:47:43 kensington Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/adjustableclock/ChangeLog,v 1.7 2012/07/15 13:11:35 johu Exp $ + + 15 Jul 2012; Johannes Huber <johu@gentoo.org> -adjustableclock-3.0.ebuild, + adjustableclock-3.1.ebuild: + Respect LINGUAS. Remove old. 25 Jun 2012; Michael Palimaka <kensington@gentoo.org> -adjustableclock-2.6.1.ebuild: diff --git a/kde-misc/adjustableclock/adjustableclock-3.0.ebuild b/kde-misc/adjustableclock/adjustableclock-3.0.ebuild deleted file mode 100644 index 3f7597306d1b..000000000000 --- a/kde-misc/adjustableclock/adjustableclock-3.0.ebuild +++ /dev/null @@ -1,23 +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/adjustableclock/adjustableclock-3.0.ebuild,v 1.1 2012/01/22 21:22:22 johu Exp $ - -EAPI=4 - -inherit kde4-base - -DESCRIPTION="Plasmoid to show date and time in adjustable format using rich text." -HOMEPAGE="http://kde-look.org/content/show.php/Adjustable+Clock?content=92825" -SRC_URI="http://kde-look.org/CONTENT/content-files/92825-${P}.tar.bz2" - -LICENSE="GPL-2" -KEYWORDS="~amd64 ~x86" -SLOT="4" -IUSE="debug" - -DEPEND=" - $(add_kdebase_dep libplasmaclock) -" -RDEPEND="${DEPEND} - $(add_kdebase_dep plasma-workspace) -" diff --git a/kde-misc/adjustableclock/adjustableclock-3.1.ebuild b/kde-misc/adjustableclock/adjustableclock-3.1.ebuild index 9074bcace513..30a102005684 100644 --- a/kde-misc/adjustableclock/adjustableclock-3.1.ebuild +++ b/kde-misc/adjustableclock/adjustableclock-3.1.ebuild @@ -1,9 +1,11 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/kde-misc/adjustableclock/adjustableclock-3.1.ebuild,v 1.1 2012/02/23 18:59:56 johu Exp $ +# $Header: /var/cvsroot/gentoo-x86/kde-misc/adjustableclock/adjustableclock-3.1.ebuild,v 1.2 2012/07/15 13:11:35 johu Exp $ EAPI=4 +KDE_LINGUAS_DIR="applet/locale" +KDE_LINGUAS="de et pl pt pt_BR sv tr uk" inherit kde4-base DESCRIPTION="Plasmoid to show date and time in adjustable format using rich text." @@ -21,3 +23,14 @@ DEPEND=" RDEPEND="${DEPEND} $(add_kdebase_dep plasma-workspace) " + +src_prepare() { + kde4-base_src_prepare + + local lang + for lang in ${KDE_LINGUAS} ; do + if ! use linguas_${lang} ; then + rm ${KDE_LINGUAS_DIR}/${lang}.mo + fi + done +} |