/[gentoo-x86]/eclass/mythtv.eclass
Gentoo

Contents of /eclass/mythtv.eclass

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.3 - (show annotations) (download)
Mon Sep 25 16:35:23 2006 UTC (8 years, 7 months ago) by cardoe
Branch: MAIN
Changes since 1.2: +4 -3 lines
Chutt is a freaking moron. No longer rely on MythTV for source files since they rename them at whim and he won't stick to the standard he's had for 4 years.

1 # Copyright 1999-2006 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.2 2006/09/20 03:43:24 cardoe Exp $
4 #
5 # Author: Doug Goldstein <cardoe@gentoo.org>
6 #
7 # Downloads the MythTV source packages and any patches from the fixes branch
8 #
9 inherit eutils
10
11 # Release version
12 MY_PV="${PV%_*}"
13
14 # SVN revision number to increment from the released version
15 if [ "x${MY_PV}" != "x${PV}" ]; then
16 PATCHREV="${PV##*_p}"
17 fi
18
19 if [ "x${PN}" = "xmythtv" ]; then
20 MY_PN="mythtv"
21 else
22 MY_PN="mythplugins"
23 fi
24
25 HOMEPAGE="http://www.mythtv.org"
26 LICENSE="GPL-2"
27 SRC_URI="mirror://gentoo/${MY_PN}-${MY_PV}.tar.bz2"
28 if [ -n "${PATCHREV}" ] ; then
29 SRC_URI="${SRC_URI}
30 http://dev.gentoo.org/~cardoe/files/mythtv/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch.bz2"
31 fi
32
33 mythtv-fixes_patch() {
34 if [ -n "$PATCHREV" ]; then
35 epatch ${WORKDIR}/${MY_PN}-${MY_PV}_svn${PATCHREV}.patch
36 fi
37 }

  ViewVC Help
Powered by ViewVC 1.1.20