media-sound/lilypond: Test LINGUAS rather than linguas_* USE flags.
authorUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 19:51:01 +0000 (20:51 +0100)
committerUlrich Müller <ulm@gentoo.org>
Sat, 6 Jan 2018 19:53:35 +0000 (20:53 +0100)
Package-Manager: Portage-2.3.19, Repoman-2.3.6

media-sound/lilypond/lilypond-2.18.2-r3.ebuild
media-sound/lilypond/lilypond-2.19.54.ebuild
media-sound/lilypond/lilypond-2.19.64.ebuild
media-sound/lilypond/lilypond-2.19.80.ebuild
media-sound/lilypond/lilypond-9999.ebuild

index ee3ea59a82a8cb2ca9f410b558805fbe77113618..2bb07eef33558b0ef147a6d2f3e11769c08564d4 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
@@ -14,7 +14,7 @@ LICENSE="GPL-3 FDL-1.3"
 SLOT="0"
 KEYWORDS="~alpha amd64 ~arm ~hppa x86"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -76,7 +76,7 @@ src_prepare() {
        sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
 
        for lang in ${LANGS}; do
-               use linguas_${lang} || rm po/${lang}.po || die
+               has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
        done
 
        # respect AR
index c0d01a0d9e2b79b3dcb11fa997a546ae4c6f5637..ba9f48995807c209ad84a218e848a7057fec3c9a 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -20,7 +20,7 @@ HOMEPAGE="http://lilypond.org/"
 LICENSE="GPL-3 FDL-1.3"
 SLOT="0"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs guile2 profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs guile2 profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -81,7 +81,7 @@ src_prepare() {
        sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
 
        for lang in ${LANGS}; do
-               use linguas_${lang} || rm po/${lang}.po || die
+               has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
        done
 
        # respect AR
index 5dd683dc41864e2d5fdd0652e19baee83b442271..2388951c7771578f56d625e2c9655b7ad1d2c4df 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
@@ -20,7 +20,7 @@ HOMEPAGE="http://lilypond.org/"
 LICENSE="GPL-3 FDL-1.3"
 SLOT="0"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs guile2 profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs guile2 profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -81,7 +81,7 @@ src_prepare() {
        sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
 
        for lang in ${LANGS}; do
-               use linguas_${lang} || rm po/${lang}.po || die
+               has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
        done
 
        # respect AR
index 3fae42dbe7e25bdde19cdf94bb0c43fe29d04487..893b3b8c81475c9f47ec217a6144bfa47e670bc0 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
@@ -20,7 +20,7 @@ HOMEPAGE="http://lilypond.org/"
 LICENSE="GPL-3 FDL-1.3"
 SLOT="0"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs guile2 profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs guile2 profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -81,7 +81,7 @@ src_prepare() {
        sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
 
        for lang in ${LANGS}; do
-               use linguas_${lang} || rm po/${lang}.po || die
+               has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
        done
 
        # respect AR
index e451c38deeb9f4acd9b7142e2e881cd8b542c9aa..27bfc06997d65a69e68ea15591b1ff969ef97203 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
@@ -20,7 +20,7 @@ HOMEPAGE="http://lilypond.org/"
 LICENSE="GPL-3 FDL-1.3"
 SLOT="0"
 LANGS=" ca cs da de el eo es fi fr it ja nl ru sv tr uk vi zh_TW"
-IUSE="debug emacs guile2 profile vim-syntax ${LANGS// / linguas_}"
+IUSE="debug emacs guile2 profile vim-syntax"
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 RDEPEND=">=app-text/ghostscript-gpl-8.15
@@ -81,7 +81,7 @@ src_prepare() {
        sed -i 's/OPTIMIZE -g/OPTIMIZE/' aclocal.m4 || die
 
        for lang in ${LANGS}; do
-               use linguas_${lang} || rm po/${lang}.po || die
+               has ${lang} ${LINGUAS-${lang}} || rm po/${lang}.po || die
        done
 
        # respect AR