summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2015-03-17 11:49:20 +0000
committerBen de Groot <yngwin@gentoo.org>2015-03-17 11:49:20 +0000
commitb6ed90ecdfb14b34d37af64bb61fa7be64105c69 (patch)
tree7d5c4c69d5881bf11f1e4415ef37495ee5302f0c /media-video
parentAdjust dependencies on llvm versions to match working combinations. Restore k... (diff)
downloadgentoo-2-b6ed90ecdfb14b34d37af64bb61fa7be64105c69.tar.gz
gentoo-2-b6ed90ecdfb14b34d37af64bb61fa7be64105c69.tar.bz2
gentoo-2-b6ed90ecdfb14b34d37af64bb61fa7be64105c69.zip
Fix translations generation snafu
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0x4FDF9CFD2FAC514E!)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/smplayer/ChangeLog5
-rw-r--r--media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild11
2 files changed, 12 insertions, 4 deletions
diff --git a/media-video/smplayer/ChangeLog b/media-video/smplayer/ChangeLog
index bf1a31f35bf5..c138464e3ce3 100644
--- a/media-video/smplayer/ChangeLog
+++ b/media-video/smplayer/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-video/smplayer
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.161 2015/03/16 14:54:37 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/ChangeLog,v 1.162 2015/03/17 11:49:20 yngwin Exp $
+
+ 17 Mar 2015; Ben de Groot <yngwin@gentoo.org> smplayer-14.9.0.6690-r2.ebuild:
+ Fix translations generation snafu
*smplayer-14.9.0.6690-r2 (16 Mar 2015)
diff --git a/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild b/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild
index 52fb3ed837f6..bc7d0cdb1d82 100644
--- a/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild
+++ b/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild,v 1.1 2015/03/16 14:54:37 yngwin Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/smplayer/smplayer-14.9.0.6690-r2.ebuild,v 1.2 2015/03/17 11:49:20 yngwin Exp $
EAPI=5
PLOCALES="ar ar_SY bg ca cs da de el_GR en_GB en_US es et eu fi fr gl he_IL hr
@@ -82,9 +82,14 @@ src_configure() {
}
gen_translation() {
+ local mydir
+ if use qt4; then
+ mydir="$(qt4_get_bindir)"
+ elif use qt5; then
+ mydir="$(qt5_get_bindir)"
+ fi
ebegin "Generating $1 translation"
- use qt4 && "$(qt4_get_bindir)"/lrelease ${PN}_${1}.ts
- use qt5 && "$(qt5_get_bindir)"/lrelease ${PN}_${1}.ts
+ "${mydir}"/lrelease ${PN}_${1}.ts
eend $? || die "failed to generate $1 translation"
}