diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-04-18 16:52:30 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2012-04-18 16:52:30 +0000 |
commit | c95f75166c8e240db0db2c93088c59ee585833b1 (patch) | |
tree | 0f17423d5211e1a912a820c6aead2b8f9d570fc8 /eclass/vdr-plugin.eclass | |
parent | aspell-dict goes last on the inherit line (diff) | |
download | gentoo-2-c95f75166c8e240db0db2c93088c59ee585833b1.tar.gz gentoo-2-c95f75166c8e240db0db2c93088c59ee585833b1.tar.bz2 gentoo-2-c95f75166c8e240db0db2c93088c59ee585833b1.zip |
removed unneeded path install for /usr/local/share; fix i18n install bug, start with vdr-1.7.27 bug 411945, thanks to Marc Perrudin for this workaround
Diffstat (limited to 'eclass/vdr-plugin.eclass')
-rw-r--r-- | eclass/vdr-plugin.eclass | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/eclass/vdr-plugin.eclass b/eclass/vdr-plugin.eclass index 172548c7bad1..2cbf99571019 100644 --- a/eclass/vdr-plugin.eclass +++ b/eclass/vdr-plugin.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.86 2012/04/07 10:18:24 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.87 2012/04/18 16:52:30 hd_brummy Exp $ # @ECLASS: vdr-plugin.eclass # @MAINTAINER: @@ -378,11 +378,7 @@ vdr-plugin_pkg_setup() { DVB_INCLUDE_DIR="/usr/include" TMP_LOCALE_DIR="${WORKDIR}/tmp-locale" - if has_version ">=media-video/vdr-1.6.0_p2-r7"; then - LOCDIR="/usr/share/locale" - else - LOCDIR="/usr/share/vdr/locale" - fi + LOCDIR="/usr/share/locale" if ! has_vdr; then # set to invalid values to detect abuses @@ -436,8 +432,11 @@ vdr-plugin_src_util() { vdr_patchmakefile ;; i18n) - cd "${S}" || die "Could not change to plugin-source-directory!" - vdr_i18n + # i18n-to-gettext tool removed starting with version 1.7.27 + if has_version "<media-video/vdr-1.7.27"; then + cd "${S}" || die "Could not change to plugin-source-directory!" + vdr_i18n + fi ;; esac |