media-sound/guayadeque: Remove linguas_* from IUSE.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 12:16:50 +0000 (13:16 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 12:22:56 +0000 (13:22 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-sound/guayadeque/guayadeque-0.4.5_p20170110.ebuild
media-sound/guayadeque/guayadeque-9999.ebuild

index a3552032558347bce394451a27dcc023b28aad02..53d52ddcc332e35875ca82c14346f32f3eab43d4 100644 (file)
@@ -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
@@ -50,10 +50,6 @@ DEPEND="${RDEPEND}
 
 # echo $(cat po/CMakeLists.txt | grep ADD_SUBDIRECTORY | sed 's#ADD_SUBDIRECTORY( \(\w\+\) )#\1#')
 LANGS=( bg ca_ES cs de el es fr hr hu is it ja nb nl pl pt pt_BR ru sk sr sr@latin sv th tr uk )
-for l in "${LANGS[@]}"; do
-       IUSE+=" linguas_${l}"
-done
-unset l
 
 pkg_setup() {
        setup-wxwidgets
@@ -69,7 +65,7 @@ src_prepare() {
        cd po || die
        local l
        for l in "${LANGS[@]}"; do
-               ! use linguas_${l} && cmake_comment_add_subdirectory ${l}
+               ! has ${l} ${LINGUAS-${l}} && cmake_comment_add_subdirectory ${l}
        done
 }
 
index 92382fa215d8cb89811fdb5c481de50d572a8eba..992be8f8b79054a76116dd92fa045210e0ece7e7 100644 (file)
@@ -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
@@ -61,10 +61,6 @@ DEPEND="${RDEPEND}
 
 # echo $(cat po/CMakeLists.txt | grep ADD_SUBDIRECTORY | sed 's#ADD_SUBDIRECTORY( \(\w\+\) )#\1#')
 LANGS=( bg ca_ES cs de el es fr hr hu is it ja nb nl pl pt pt_BR ru sk sr sr@latin sv th tr uk )
-for l in "${LANGS[@]}"; do
-       IUSE+=" linguas_${l}"
-done
-unset l
 
 pkg_setup() {
        setup-wxwidgets
@@ -88,7 +84,7 @@ src_prepare() {
        cd po || die
        local l
        for l in "${LANGS[@]}"; do
-               ! use linguas_${l} && cmake_comment_add_subdirectory ${l}
+               ! has ${l} ${LINGUAS-${l}} && cmake_comment_add_subdirectory ${l}
        done
 }