| 1 | # Copyright 1999-2005 Gentoo Foundation |
1 | # Copyright 1999-2005 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/vdr-plugin.eclass,v 1.72 2011/01/28 17:07:03 hd_brummy Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.73 2011/03/13 19:06:26 hd_brummy Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: |
5 | # Author: |
| 6 | # Matthias Schwarzott <zzam@gentoo.org> |
6 | # Matthias Schwarzott <zzam@gentoo.org> |
| 7 | # Joerg Bornkessel <hd_brummy@gentoo.org> |
7 | # Joerg Bornkessel <hd_brummy@gentoo.org> |
| 8 | |
8 | |
| … | |
… | |
| 403 | # Pathes to includes |
403 | # Pathes to includes |
| 404 | VDR_INCLUDE_DIR="/usr/include/vdr" |
404 | VDR_INCLUDE_DIR="/usr/include/vdr" |
| 405 | DVB_INCLUDE_DIR="/usr/include" |
405 | DVB_INCLUDE_DIR="/usr/include" |
| 406 | |
406 | |
| 407 | TMP_LOCALE_DIR="${WORKDIR}/tmp-locale" |
407 | TMP_LOCALE_DIR="${WORKDIR}/tmp-locale" |
|
|
408 | if has_version ">=media-video/vdr-1.7.17"; then |
|
|
409 | LOCDIR="/usr/share/locale" |
|
|
410 | else |
| 408 | LOCDIR="/usr/share/vdr/locale" |
411 | LOCDIR="/usr/share/vdr/locale" |
|
|
412 | fi |
| 409 | |
413 | |
| 410 | if ! has_vdr; then |
414 | if ! has_vdr; then |
| 411 | # set to invalid values to detect abuses |
415 | # set to invalid values to detect abuses |
| 412 | VDRVERSION="eclass_no_vdr_installed" |
416 | VDRVERSION="eclass_no_vdr_installed" |
| 413 | APIVERSION="eclass_no_vdr_installed" |
417 | APIVERSION="eclass_no_vdr_installed" |