summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video')
-rw-r--r--media-video/avidemux/avidemux-2.7.0-r1.ebuild8
-rw-r--r--media-video/avidemux/metadata.xml1
2 files changed, 5 insertions, 4 deletions
diff --git a/media-video/avidemux/avidemux-2.7.0-r1.ebuild b/media-video/avidemux/avidemux-2.7.0-r1.ebuild
index fd2a05f1..e3804ecd 100644
--- a/media-video/avidemux/avidemux-2.7.0-r1.ebuild
+++ b/media-video/avidemux/avidemux-2.7.0-r1.ebuild
@@ -15,7 +15,8 @@ SLOT="2.6"
IUSE="debug opengl nls nvenc qt5 sdl vaapi vdpau xv"
PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr"
for i in ${PLOCALES}; do
- IUSE+=" l10n_${i//_/-}"
+ i=${i//_/-}
+ IUSE+=" l10n_${i/@latin/-Latn}"
done
QA_DT_NEEDED=".*/libADM_UI_Cli6\.so"
@@ -49,10 +50,11 @@ S="${WORKDIR}/${MY_P}"
DOCS=( AUTHORS README )
src_prepare() {
- local i
+ local i j
export LINGUAS=
for i in ${PLOCALES}; do
- use l10n_${i//_/-} && LINGUAS+=${LINGUAS:+ }${i}
+ i=${i//_/-}
+ use l10n_${i/@latin/-Latn} && LINGUAS+=${LINGUAS:+ }${i}
done
processes="buildCli:avidemux/cli"
diff --git a/media-video/avidemux/metadata.xml b/media-video/avidemux/metadata.xml
index 40b6819b..644f63a4 100644
--- a/media-video/avidemux/metadata.xml
+++ b/media-video/avidemux/metadata.xml
@@ -12,7 +12,6 @@
</maintainer>
<use>
<flag name="nvenc">Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards.</flag>
- <flag name="l10n_sr@latin"></flag>
</use>
<upstream>
<remote-id type="sourceforge">avidemux</remote-id>