From 873b0974a21a15b1387d8df39219582ddaa7088a Mon Sep 17 00:00:00 2001 From: Joerg Bornkessel Date: Sat, 31 Dec 2011 01:01:56 +0000 Subject: [PATCH] fix for missing i18n-to-gettext, up from vdr-1.7.22 --- eclass/vdr-plugin.eclass | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass index 831ada1bde14..f428d94e441c 100644 --- a/eclass/vdr-plugin.eclass +++ b/eclass/vdr-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.76 2011/12/27 17:55:12 fauli Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.77 2011/12/31 01:01:56 hd_brummy Exp $ # # Author: # Matthias Schwarzott @@ -265,7 +265,11 @@ plugin_has_gettext() { } vdr_i18n_convert_to_gettext() { - local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext.pl" + if has_version ">=media-video/vdr-1.7.22"; then + local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext" + else + local i18n_tool="${ROOT}/usr/share/vdr/bin/i18n-to-gettext.pl" + fi if [[ ${NO_GETTEXT_HACK} == "1" ]]; then ewarn "Conversion to gettext disabled in ebuild" -- 2.26.2