From 90f2dc94f3c5ab89a3022f7f50a59c951069d9ba Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Fri, 5 Jan 2018 22:33:40 +0100 Subject: LINGUAS -> L10N --- app-accessibility/gespeaker/gespeaker-0.8.6-r2.ebuild | 16 ++++++++++++---- app-accessibility/gespeaker/gespeaker-0.8.6_p0.ebuild | 17 ++++++++++++----- media-video/avidemux/avidemux-2.7.0-r1.ebuild | 14 +++++++++++--- media-video/avidemux/metadata.xml | 1 + profiles/use.local.desc | 1 + 5 files changed, 37 insertions(+), 12 deletions(-) diff --git a/app-accessibility/gespeaker/gespeaker-0.8.6-r2.ebuild b/app-accessibility/gespeaker/gespeaker-0.8.6-r2.ebuild index 81b6bcdb..16580ce1 100644 --- a/app-accessibility/gespeaker/gespeaker-0.8.6-r2.ebuild +++ b/app-accessibility/gespeaker/gespeaker-0.8.6-r2.ebuild @@ -1,4 +1,4 @@ -# Copyright 2017 Gentoo Foundation +# Copyright 2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,8 +14,11 @@ SRC_URI="https://github.com/muflone/gespeaker/releases/download/${PV}/${P}.tar.g LICENSE="GPL-2+" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" - -IUSE="linguas_ar linguas_bg linguas_de linguas_en linguas_es linguas_fo linguas_fr linguas_it linguas_pl linguas_tr linguas_vi" +PLOCALES="ar bg de en es fo fr it pl tr vi" +IUSE= +for i in ${PLOCALES}; do + IUSE+=${IUSE:+\ }"l10n_${i}" +done REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="app-accessibility/espeak @@ -26,6 +29,11 @@ RDEPEND="app-accessibility/espeak ${PYTHON_DEPS}" src_prepare() { + local i + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} + done distutils-r1_python_prepare_all use prefix || sed -i \ -e '1s"^#!/usr/bin/env python$"#!'"${EPREFIX}/usr/bin/python"'"' \ @@ -39,5 +47,5 @@ src_prepare() { sed -i \ -e 's!env python gespeaker\.py!./gespeaker.py!' \ -- "${S}/gespeaker" || die - eapply_user + default } diff --git a/app-accessibility/gespeaker/gespeaker-0.8.6_p0.ebuild b/app-accessibility/gespeaker/gespeaker-0.8.6_p0.ebuild index 60cc7b10..bb493e58 100644 --- a/app-accessibility/gespeaker/gespeaker-0.8.6_p0.ebuild +++ b/app-accessibility/gespeaker/gespeaker-0.8.6_p0.ebuild @@ -1,4 +1,4 @@ -# Copyright 2016 Gentoo Foundation +# Copyright 2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -14,10 +14,12 @@ S="${WORKDIR}/${PN}-${EGIT_COMMIT}" LICENSE="GPL-2+" SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd" KEYWORDS="" - -IUSE="linguas_ar linguas_bg linguas_de linguas_en linguas_es linguas_fo linguas_fr linguas_it linguas_pl linguas_tr linguas_vi" +PLOCALES="ar bg de en es fo fr it pl tr vi" +IUSE= +for i in ${PLOCALES}; do + IUSE+=${IUSE:+\ }"l10n_${i}" +done REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="app-accessibility/espeak @@ -28,6 +30,11 @@ RDEPEND="app-accessibility/espeak ${PYTHON_DEPS}" src_prepare() { + local i + export LINGUAS= + for i in ${PLOCALES}; do + use l10n_${i} && LINGUAS+=${LINGUAS:+ }${i} + done distutils-r1_python_prepare_all python_setup 'python2*' python_fix_shebang "${S}" @@ -35,5 +42,5 @@ src_prepare() { -e 's!share/doc/gespeaker/dbus!share/gtk-doc/gspeaker!' \ -e "s!share/doc/gespeaker!share/doc/${PF}!" \ -- "${S}/setup.py" || die - eapply_user + default } 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 @@ Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards. + avidemux diff --git a/profiles/use.local.desc b/profiles/use.local.desc index 2c0ace70..9e835c4a 100644 --- a/profiles/use.local.desc +++ b/profiles/use.local.desc @@ -174,6 +174,7 @@ media-tv/sundtek-tv:ld-preload-env - Install LD_PRELOAD in /etc/env.d/50sundtek- media-tv/sundtek-tv:ld-preload-file - Install /etc/ld.so.preload media-tv/sundtek-tv:pax_kernel - Mark package which is necessary if you use a PAX kernel media-tv/w_scan:plp-id-zero - Apply experimental patch to force plp_id to 0 for DVB-T2. Seems to be necessary at least with some tuners in some regions +media-video/avidemux:l10n_sr@latin - media-video/avidemux:nvenc - Adds support for NVIDIA Encoder (NVENC) API for hardware accelerated encoding on NVIDIA cards. net-dns/noip-updater:ezipupd - Use user/group ezipupd instead of nobody: Useful if you restrict outgoing network traffic for user nobody net-libs/wvstreams:boost - Use dev-libs/boost to provide TR1-compatible functional interface. This USE flag is only needed with GCC earlier than version 4.1, or with other compilares not providing said interface. -- cgit v1.2.3-18-g5258