| 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.25 2007/06/28 19:19:21 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.26 2007/08/07 16:24:42 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 | # |
| … | |
… | |
| 44 | MYTHPLUGINS="${MYTHPLUGINS/mythdvd/}" |
44 | MYTHPLUGINS="${MYTHPLUGINS/mythdvd/}" |
| 45 | fi |
45 | fi |
| 46 | } |
46 | } |
| 47 | |
47 | |
| 48 | mythtv-plugins_src_unpack() { |
48 | mythtv-plugins_src_unpack() { |
|
|
49 | if [ -n "${SVNREV}" ]; then |
|
|
50 | subversion_src_unpack |
|
|
51 | else |
| 49 | unpack ${A} |
52 | unpack ${A} |
|
|
53 | fi |
|
|
54 | |
| 50 | mythtv-plugins_src_unpack_patch |
55 | mythtv-plugins_src_unpack_patch |
| 51 | } |
56 | } |
| 52 | |
57 | |
| 53 | mythtv-plugins_src_unpack_patch() { |
58 | mythtv-plugins_src_unpack_patch() { |
| 54 | cd "${S}" |
59 | cd "${S}" |