| 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.13 2008/04/01 04:05:02 cardoe Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.14 2009/07/19 03:34:55 cardoe Exp $ |
| 4 | # |
4 | # |
| 5 | # @ECLASS: mythtv.eclass |
5 | # @ECLASS: mythtv.eclass |
|
|
6 | # @AUTHOR: Doug Goldstein <cardoe@gentoo.org> |
| 6 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
7 | # @MAINTAINER: Doug Goldstein <cardoe@gentoo.org> |
| 7 | # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch |
8 | # @BLURB: Downloads the MythTV source packages and any patches from the fixes branch |
| 8 | # |
9 | # |
| 9 | |
10 | |
| 10 | inherit eutils versionator subversion |
11 | inherit versionator |
| 11 | |
12 | |
| 12 | # Release version |
13 | # Release version |
| 13 | MY_PV="${PV%_*}" |
14 | MY_PV="${PV%_*}" |
| 14 | |
15 | |
| 15 | # what product do we want |
16 | # what product do we want |
| … | |
… | |
| 35 | _p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) ) |
36 | _p|_beta) VER_COMP=( $(get_version_components ${MY_PV}) ) |
| 36 | FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}" |
37 | FIXES_VER="${VER_COMP[0]}-${VER_COMP[1]}" |
| 37 | MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";; |
38 | MYTHTV_REPO="branches/release-${FIXES_VER}-fixes/${MY_PN}";; |
| 38 | esac |
39 | esac |
| 39 | |
40 | |
| 40 | ESVN_REPO_URI="http://svn.mythtv.org/svn/${MYTHTV_REPO}@${MYTHTV_REV}" |
|
|
| 41 | |
|
|
| 42 | HOMEPAGE="http://www.mythtv.org" |
41 | HOMEPAGE="http://www.mythtv.org" |
| 43 | LICENSE="GPL-2" |
42 | LICENSE="GPL-2" |
| 44 | SRC_URI="" |
43 | SRC_URI="http://svn.mythtv.org/trac/changeset/${MYTHTV_REV}/${MYTHTV_REPO}?old_path=%2F&format=zip -> ${P}.zip" |
|
|
44 | S="${WORKDIR}/${MYTHTV_REPO}" |