/[gentoo-x86]/eclass/vdr-plugin.eclass
Gentoo

Diff of /eclass/vdr-plugin.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.86 Revision 1.87
1# Copyright 1999-2012 Gentoo Foundation 1# Copyright 1999-2012 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.86 2012/04/07 10:18:24 hd_brummy Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/Attic/vdr-plugin.eclass,v 1.87 2012/04/18 16:52:30 hd_brummy Exp $
4 4
5# @ECLASS: vdr-plugin.eclass 5# @ECLASS: vdr-plugin.eclass
6# @MAINTAINER: 6# @MAINTAINER:
7# vdr@gentoo.org 7# vdr@gentoo.org
8# @BLURB: common vdr plugin ebuild functions 8# @BLURB: common vdr plugin ebuild functions
376 # Pathes to includes 376 # Pathes to includes
377 VDR_INCLUDE_DIR="/usr/include/vdr" 377 VDR_INCLUDE_DIR="/usr/include/vdr"
378 DVB_INCLUDE_DIR="/usr/include" 378 DVB_INCLUDE_DIR="/usr/include"
379 379
380 TMP_LOCALE_DIR="${WORKDIR}/tmp-locale" 380 TMP_LOCALE_DIR="${WORKDIR}/tmp-locale"
381 if has_version ">=media-video/vdr-1.6.0_p2-r7"; then
382 LOCDIR="/usr/share/locale" 381 LOCDIR="/usr/share/locale"
383 else
384 LOCDIR="/usr/share/vdr/locale"
385 fi
386 382
387 if ! has_vdr; then 383 if ! has_vdr; then
388 # set to invalid values to detect abuses 384 # set to invalid values to detect abuses
389 VDRVERSION="eclass_no_vdr_installed" 385 VDRVERSION="eclass_no_vdr_installed"
390 APIVERSION="eclass_no_vdr_installed" 386 APIVERSION="eclass_no_vdr_installed"
434 patchmakefile) 430 patchmakefile)
435 cd "${S}" || die "Could not change to plugin-source-directory!" 431 cd "${S}" || die "Could not change to plugin-source-directory!"
436 vdr_patchmakefile 432 vdr_patchmakefile
437 ;; 433 ;;
438 i18n) 434 i18n)
435 # i18n-to-gettext tool removed starting with version 1.7.27
436 if has_version "<media-video/vdr-1.7.27"; then
439 cd "${S}" || die "Could not change to plugin-source-directory!" 437 cd "${S}" || die "Could not change to plugin-source-directory!"
440 vdr_i18n 438 vdr_i18n
439 fi
441 ;; 440 ;;
442 esac 441 esac
443 442
444 shift 443 shift
445 done 444 done

Legend:
Removed from v.1.86  
changed lines
  Added in v.1.87

  ViewVC Help
Powered by ViewVC 1.1.20