| 1 | # Copyright 1999-2006 Gentoo Foundation |
1 | # Copyright 1999-2006 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/mythtv-plugins.eclass,v 1.36 2009/11/02 01:59:17 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.37 2010/06/13 07:02:31 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: mythtv-plugins.eclass |
5 | # @ECLASS: mythtv-plugins.eclass |
| 6 | # @AUTHOR: Doug Goldstein <cardoe@gentoo.org> |
6 | # @AUTHOR: Doug Goldstein <cardoe@gentoo.org> |
| 7 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
7 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
| 8 | # @BLURB: Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
8 | # @BLURB: Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
| … | |
… | |
| 45 | fi |
45 | fi |
| 46 | |
46 | |
| 47 | if version_is_at_least "0.22_beta" ; then |
47 | if version_is_at_least "0.22_beta" ; then |
| 48 | MYTHPLUGINS="${MYTHPLUGINS/mythcontrols/}" |
48 | MYTHPLUGINS="${MYTHPLUGINS/mythcontrols/}" |
| 49 | MYTHPLUGINS="${MYTHPLUGINS/mythphone/}" |
49 | MYTHPLUGINS="${MYTHPLUGINS/mythphone/}" |
|
|
50 | fi |
|
|
51 | |
|
|
52 | if version is_at_least "0.23_beta" ; then |
|
|
53 | MYTHPLUGINS="${MYTHPLUGINS/mythflix/}" |
|
|
54 | MYTHPLUGINS="${MYTHPLUGINS} mythnetvision" |
| 50 | fi |
55 | fi |
| 51 | } |
56 | } |
| 52 | |
57 | |
| 53 | mythtv-plugins_src_prepare() { |
58 | mythtv-plugins_src_prepare() { |
| 54 | sed -e 's!PREFIX = /usr/local!PREFIX = /usr!' \ |
59 | sed -e 's!PREFIX = /usr/local!PREFIX = /usr!' \ |