diff options
author | Martin Väth <martin@mvath.de> | 2018-01-05 22:33:40 +0100 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2018-01-05 22:44:21 +0100 |
commit | 90f2dc94f3c5ab89a3022f7f50a59c951069d9ba (patch) | |
tree | 51e23576741ec2059dbb47bc16e5d3d9df907d44 /media-video/avidemux | |
parent | sci-geosciences/googleearth: avoid epatch, declare size local (diff) | |
download | mv-90f2dc94f3c5ab89a3022f7f50a59c951069d9ba.tar.gz mv-90f2dc94f3c5ab89a3022f7f50a59c951069d9ba.tar.bz2 mv-90f2dc94f3c5ab89a3022f7f50a59c951069d9ba.zip |
LINGUAS -> L10N
Diffstat (limited to 'media-video/avidemux')
-rw-r--r-- | media-video/avidemux/avidemux-2.7.0-r1.ebuild | 14 | ||||
-rw-r--r-- | media-video/avidemux/metadata.xml | 1 |
2 files changed, 12 insertions, 3 deletions
diff --git a/media-video/avidemux/avidemux-2.7.0-r1.ebuild b/media-video/avidemux/avidemux-2.7.0-r1.ebuild index 982a925f..fd2a05f1 100644 --- a/media-video/avidemux/avidemux-2.7.0-r1.ebuild +++ b/media-video/avidemux/avidemux-2.7.0-r1.ebuild @@ -1,9 +1,8 @@ -# Copyright 2017 Gentoo Foundation +# Copyright 2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 RESTRICT="mirror" -PLOCALES="ca cs de el es fr it ja pt_BR ru sr sr@latin tr" inherit cmake-utils desktop flag-o-matic l10n xdg-utils @@ -14,6 +13,10 @@ HOMEPAGE="http://fixounet.free.fr/avidemux" LICENSE="GPL-1 GPL-2 MIT PSF-2 public-domain" 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//_/-}" +done QA_DT_NEEDED=".*/libADM_UI_Cli6\.so" if [[ ${PV} == *9999* ]] ; then @@ -46,7 +49,11 @@ S="${WORKDIR}/${MY_P}" DOCS=( AUTHORS README ) src_prepare() { - default + local i + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i//_/-} && LINGUAS+=${LINGUAS:+ }${i} + done processes="buildCli:avidemux/cli" if use qt5 ; then @@ -78,6 +85,7 @@ src_prepare() { sed -i -e 's/-lm/-lXext -lm/' avidemux/qt4/CMakeLists.txt || die sed -i -e 's/{QT_QTGUI_LIBRARY}/{QT_QTGUI_LIBRARY} -lXext/' \ avidemux/common/ADM_render/CMakeLists.txt || die + default } src_configure() { diff --git a/media-video/avidemux/metadata.xml b/media-video/avidemux/metadata.xml index 644f63a4..40b6819b 100644 --- a/media-video/avidemux/metadata.xml +++ b/media-video/avidemux/metadata.xml @@ -12,6 +12,7 @@ </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> |