diff options
author | Martin Väth <martin@mvath.de> | 2018-01-06 19:52:41 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2018-01-06 19:52:41 +0100 |
commit | 750da59a930da0cd979e826b91150268022184f3 (patch) | |
tree | bd7d523b4fc7cc68a91bc5aca00f6825454262cb /media-video | |
parent | media-tv/sundtek-tv: Version bump (diff) | |
download | mv-750da59a930da0cd979e826b91150268022184f3.tar.gz mv-750da59a930da0cd979e826b91150268022184f3.tar.bz2 mv-750da59a930da0cd979e826b91150268022184f3.zip |
media-video/avidemux: Fix L10N=sr-latn
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/avidemux/avidemux-2.7.0-r1.ebuild | 8 | ||||
-rw-r--r-- | media-video/avidemux/metadata.xml | 1 |
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> |