-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
zh_CN zh_TW
"
-for lingua in ${UNBI_LINGUAS}; do
- IUSE="${IUSE} linguas_${lingua}"
-done
-
S=${WORKDIR}/${P}/src/${PN}
DEPEND="dev-qt/qtgui:4"
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if ! use linguas_${lingua}; then
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if use linguas_${lingua}; then
+ if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
zh_CN zh_TW
"
-for lingua in ${UNBI_LINGUAS}; do
- IUSE="${IUSE} linguas_${lingua}"
-done
-
S=${WORKDIR}/${P}/src/${PN}
DEPEND="dev-qt/qtgui:4"
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if ! use linguas_${lingua}; then
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if use linguas_${lingua}; then
+ if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
zh_CN zh_TW
"
-for lingua in ${UNBI_LINGUAS}; do
- IUSE="${IUSE} linguas_${lingua}"
-done
-
S=${WORKDIR}/${P}/src/${PN}
DEPEND="dev-qt/qtgui:4"
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if ! use linguas_${lingua}; then
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if use linguas_${lingua}; then
+ if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
zh_CN zh_TW
"
-for lingua in ${UNBI_LINGUAS}; do
- IUSE="${IUSE} linguas_${lingua}"
-done
-
S=${WORKDIR}/${P}/src/${PN}
DEPEND="dev-qt/qtgui:4"
# Remove localisations
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if ! use linguas_${lingua}; then
+ if ! has ${lingua} ${LINGUAS-${lingua}}; then
sed -i ${PN}.pro -e "/\.*${PN}_${lingua}\.ts.*/d" || die
rm ${PN}_${lingua}.ts || die
fi
local lingua
for lingua in ${UNBI_LINGUAS}; do
- if use linguas_${lingua}; then
+ if has ${lingua} ${LINGUAS-${lingua}}; then
insinto /usr/share/${PN}
doins ${PN}_${lingua}.qm
fi