summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2016-07-10 03:53:02 +1000
committerMichael Palimaka <kensington@gentoo.org>2016-07-10 03:53:38 +1000
commitf8a3ef0e764320eb1b4f6da4aa3eb259da461117 (patch)
tree9c4370389244aadd253d801fb7619b80ea8d567a /media-sound/kradio
parentdev-games/tiled: version bump (diff)
downloadgentoo-f8a3ef0e764320eb1b4f6da4aa3eb259da461117.tar.gz
gentoo-f8a3ef0e764320eb1b4f6da4aa3eb259da461117.tar.bz2
gentoo-f8a3ef0e764320eb1b4f6da4aa3eb259da461117.zip
media-sound/kradio: fix linguas -> l10n fallout
Also add some missed translations. Gentoo-bug: 588438 Package-Manager: portage-2.3.0
Diffstat (limited to 'media-sound/kradio')
-rw-r--r--media-sound/kradio/kradio-4.0.8.ebuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/media-sound/kradio/kradio-4.0.8.ebuild b/media-sound/kradio/kradio-4.0.8.ebuild
index acd742a019e2..2d9af0903712 100644
--- a/media-sound/kradio/kradio-4.0.8.ebuild
+++ b/media-sound/kradio/kradio-4.0.8.ebuild
@@ -7,10 +7,10 @@ EAPI=6
KDE_LINGUAS_DIR=( po convert-presets/po )
PLUGINS=(
alsa-sound dbus gui-docking-menu gui-error-log gui-quickbar
- gui-standard-display internetradio lirc oss-sound radio recording shortcuts
+ gui-standard-display internetradio lirc mpris oss-sound radio recording shortcuts
soundserver streaming timecontrol timeshifter v4lradio
)
-KDE_LINGUAS="cs de es is it pl pt pt_BR ru sk tr uk"
+KDE_LINGUAS="cs de es is it pl pt pt_BR ru sk sr@latin tr uk"
inherit kde4-base
MY_P=${PN}4-${PV/_/-}
@@ -48,7 +48,7 @@ PATCHES=( "${FILESDIR}/${PN}-4.0.7-include.patch" )
src_prepare() {
local lang
for lang in ${KDE_LINGUAS} ; do
- if ! use linguas_${lang} ; then
+ if ! use "l10n_$(kde4_lingua_to_l10n "${lang}")" ; then
for dir in "${KDE_LINGUAS_DIR[@]}" ; do
rm ${dir}/${lang}.po
done