| 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/vdr-plugin.eclass,v 1.80 2012/02/11 20:44:40 idl0r Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/vdr-plugin.eclass,v 1.82 2012/03/09 22:44:58 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 |
| … | |
… | |
| 63 | |
63 | |
| 64 | # depend on headers for DVB-driver |
64 | # depend on headers for DVB-driver |
| 65 | COMMON_DEPEND=">=media-tv/gentoo-vdr-scripts-0.4.2" |
65 | COMMON_DEPEND=">=media-tv/gentoo-vdr-scripts-0.4.2" |
| 66 | |
66 | |
| 67 | DEPEND="${COMMON_DEPEND} |
67 | DEPEND="${COMMON_DEPEND} |
| 68 | media-tv/linuxtv-dvb-headers" |
68 | virtual/linuxtv-dvb-headers" |
| 69 | RDEPEND="${COMMON_DEPEND} |
69 | RDEPEND="${COMMON_DEPEND} |
| 70 | >=app-admin/eselect-vdr-0.0.2" |
70 | >=app-admin/eselect-vdr-0.0.2" |
| 71 | |
71 | |
| 72 | # this is a hack for ebuilds like vdr-xineliboutput that want to |
72 | # this is a hack for ebuilds like vdr-xineliboutput that want to |
| 73 | # conditionally install a vdr-plugin |
73 | # conditionally install a vdr-plugin |
| … | |
… | |
| 588 | |
588 | |
| 589 | vdr-plugin_pkg_postrm() { |
589 | vdr-plugin_pkg_postrm() { |
| 590 | delete_orphan_plugindb_file |
590 | delete_orphan_plugindb_file |
| 591 | } |
591 | } |
| 592 | |
592 | |
| 593 | vdr-plugin_pkg_config() { |
|
|
| 594 | ewarn "emerge --config ${PN} is no longer supported" |
|
|
| 595 | vdr-plugin_print_enable_command |
|
|
| 596 | } |
|
|
| 597 | |
|
|
| 598 | case "${EAPI:-0}" in |
593 | case "${EAPI:-0}" in |
| 599 | 2|3|4) |
594 | 2|3|4) |
| 600 | EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config |
595 | EXPORT_FUNCTIONS pkg_setup src_unpack src_prepare src_compile src_install pkg_postinst pkg_postrm pkg_config |
| 601 | ;; |
596 | ;; |
| 602 | *) |
597 | *) |