| 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.13 2006/09/14 05:18:02 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.15 2006/09/14 07:10:35 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # Author: Doug Goldstein <cardoe@gentoo.org> |
5 | # Author: Doug Goldstein <cardoe@gentoo.org> |
| 6 | # |
6 | # |
| 7 | # Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
7 | # Installs MythTV plugins along with patches from the release-${PV}-fixes branch |
| 8 | # |
8 | # |
| … | |
… | |
| 19 | PATCHREV="${PV##*_p}" |
19 | PATCHREV="${PV##*_p}" |
| 20 | fi |
20 | fi |
| 21 | |
21 | |
| 22 | DESCRIPTION=${DESCRIPTION:="MythTV plugin"} |
22 | DESCRIPTION=${DESCRIPTION:="MythTV plugin"} |
| 23 | HOMEPAGE="http://www.mythtv.org" |
23 | HOMEPAGE="http://www.mythtv.org" |
| 24 | SRC_URI="http://ftp-osl.osuosl.org/pub/mythtv/mythplugins-${MY_PV}.tar.bz2" |
24 | SRC_URI="http://ftp.osuosl.org/pub/mythtv/mythplugins-${MY_PV}.tar.bz2" |
| 25 | if [ -n "${PATCHREV}" ] ; then |
25 | if [ -n "${PATCHREV}" ] ; then |
| 26 | SRC_URI="${SRC_URI} http://dev.gentoo.org/~cardoe/files/mythtv/mythplugins-${MY_PV}_svn${PATCHREV}.patch.bz2" |
26 | SRC_URI="${SRC_URI} http://dev.gentoo.org/~cardoe/files/mythtv/mythplugins-${MY_PV}_svn${PATCHREV}.patch.bz2" |
| 27 | fi |
27 | fi |
| 28 | |
28 | |
| 29 | |
29 | |
| 30 | LICENSE="GPL-2" |
30 | LICENSE="GPL-2" |
| 31 | SLOT="0" |
31 | SLOT="0" |
| 32 | IUSE="debug mmx" |
32 | IUSE="${IUSE} debug mmx" |
| 33 | |
33 | |
| 34 | RDEPEND="${RDEPEND} |
34 | RDEPEND="${RDEPEND} |
| 35 | =media-tv/mythtv-${MY_PV}*" |
35 | =media-tv/mythtv-${MY_PV}*" |
| 36 | DEPEND="${DEPEND} |
36 | DEPEND="${DEPEND} |
| 37 | =media-tv/mythtv-${MY_PV}* |
37 | =media-tv/mythtv-${MY_PV}* |