diff options
Diffstat (limited to 'app-cdr/recorder')
-rw-r--r-- | app-cdr/recorder/ChangeLog | 5 | ||||
-rw-r--r-- | app-cdr/recorder/recorder-1.4.1.ebuild | 14 |
2 files changed, 16 insertions, 3 deletions
diff --git a/app-cdr/recorder/ChangeLog b/app-cdr/recorder/ChangeLog index 89f42653b0b7..6cdf492d057e 100644 --- a/app-cdr/recorder/ChangeLog +++ b/app-cdr/recorder/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for app-cdr/recorder # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.1 2008/09/15 20:04:03 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/ChangeLog,v 1.2 2008/09/17 23:54:54 yngwin Exp $ + + 17 Sep 2008; Ben de Groot <yngwin@gentoo.org> recorder-1.4.1.ebuild: + Fixing linguas logic. Fixes bug 237962. *recorder-1.4.1 (15 Sep 2008) diff --git a/app-cdr/recorder/recorder-1.4.1.ebuild b/app-cdr/recorder/recorder-1.4.1.ebuild index aeafb9dbb378..d7bff5625631 100644 --- a/app-cdr/recorder/recorder-1.4.1.ebuild +++ b/app-cdr/recorder/recorder-1.4.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.1 2008/09/15 20:04:03 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-cdr/recorder/recorder-1.4.1.ebuild,v 1.2 2008/09/17 23:54:54 yngwin Exp $ inherit fdo-mime @@ -32,7 +32,17 @@ RDEPEND="${DEPEND} src_unpack() { unpack ${A} cd "${S}" - sed -i -e "s:ar cs es fr pt_BR ru it nl:${LINGUAS}:" Makefile + local MY_NLS="" + if use nls; then + for ling in ${LINGUAS}; do + for lang in ${LANGS}; do + if [[ $ling==$lang ]]; then + MY_NLS="${MY_NLS} ${ling}" + fi + done + done + fi + sed -i -e "s:ar cs es fr pt_BR ru it nl:${MY_NLS}:" Makefile } src_install() { |