| 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.eclass,v 1.8 2008/02/14 20:36:32 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.9 2008/02/14 20:37:45 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: mythtv.eclass |
5 | # @ECLASS: mythtv.eclass |
| 6 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
6 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
| 7 | # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch |
7 | # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch |
| 8 | # |
8 | # |
| … | |
… | |
| 52 | http://dev.gentoo.org/~cardoe/files/mythtv/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch.bz2" |
52 | http://dev.gentoo.org/~cardoe/files/mythtv/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch.bz2" |
| 53 | fi |
53 | fi |
| 54 | |
54 | |
| 55 | mythtv-fixes_patch() { |
55 | mythtv-fixes_patch() { |
| 56 | if [[ -n ${PATCHREV} ]]; then |
56 | if [[ -n ${PATCHREV} ]]; then |
| 57 | epatch ${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch |
57 | epatch "${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch" |
| 58 | fi |
58 | fi |
| 59 | } |
59 | } |