From a8b0d35ab742f31538d515dea39716e566d533c0 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 6 Jan 2018 23:13:57 +0000 Subject: gentoo resync : 06.01.2018 --- media-gfx/gimp/gimp-9999.ebuild | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) (limited to 'media-gfx/gimp/gimp-9999.ebuild') diff --git a/media-gfx/gimp/gimp-9999.ebuild b/media-gfx/gimp/gimp-9999.ebuild index e448ccbf5aee..2ac820e3f5b1 100644 --- a/media-gfx/gimp/gimp-9999.ebuild +++ b/media-gfx/gimp/gimp-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -17,10 +17,6 @@ KEYWORDS="" LANGS="am ar ast az be bg br ca ca@valencia cs csb da de dz el en_CA en_GB eo es et eu fa fi fr ga gl gu he hi hr hu id is it ja ka kk km kn ko lt lv mk ml ms my nb nds ne nl nn oc pa pl pt pt_BR ro ru rw si sk sl sr sr@latin sv ta te th tr tt uk vi xh yi zh_CN zh_HK zh_TW" IUSE="alsa aalib altivec aqua debug doc openexr gnome postscript jpeg2k cpu_flags_x86_mmx mng pdf python smp cpu_flags_x86_sse udev vector-icons webp wmf xpm" -for lang in ${LANGS}; do - IUSE+=" linguas_${lang}" -done - RDEPEND=">=dev-libs/glib-2.40.0:2 >=dev-libs/atk-2.2.0 >=x11-libs/gtk+-2.24.10:2 @@ -102,7 +98,7 @@ src_prepare() { sed -i -e 's:\$srcdir/configure:#:g' autogen.sh local myconf if ! use doc; then - myconf="${myconf} --disable-gtk-doc" + myconf="${myconf} --disable-gtk-doc" fi ./autogen.sh ${myconf} || die @@ -167,9 +163,10 @@ src_compile() { } _clean_up_locales() { + [[ -z ${LINGUAS+set} ]] && return einfo "Cleaning up locales..." for lang in ${LANGS}; do - use "linguas_${lang}" && { + has ${lang} ${LINGUAS} && { einfo "- keeping ${lang}" continue } -- cgit v1.2.3