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

Diff of /eclass/mythtv.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.7 Revision 1.8
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.7 2007/08/06 19:11:19 cardoe Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv.eclass,v 1.8 2008/02/14 20:36:32 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#
24# _pre is from SVN trunk while _p is from SVN ${MY_PV}-fixes 24# _pre is from SVN trunk while _p is from SVN ${MY_PV}-fixes
25if [[ ${MY_PV} != ${PV} ]]; then 25if [[ ${MY_PV} != ${PV} ]]; then
26 if [[ $PV = *_pre* ]]; then 26 if [[ $PV = *_pre* ]]; then
27 SVNREV="${PV##*_pre}" 27 SVNREV="${PV##*_pre}"
28 ESVN_REPO_URI="http://svn.mythtv.org/svn/trunk/${MY_PN}" 28 ESVN_REPO_URI="http://svn.mythtv.org/svn/trunk/${MY_PN}"
29 elif [[ $PV = *_p* ]]; then 29 elif [[ $PV = *_p* || $PV = *_beta* ]]; then
30 PATCHREV="${PV##*_p}" 30 PATCHREV="${PV##*_p}"
31# as of 0.20_p13783, we're using svn always 31# as of 0.20_p13783, we're using svn always
32 if [[ $PATCHREV -gt 13783 ]]; then 32 if [[ $PATCHREV -gt 13783 ]]; then
33 SVNREV=$PATCHREV 33 SVNREV=$PATCHREV
34 unset PATCHREV 34 unset PATCHREV

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20