summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug Goldstein <cardoe@gentoo.org>2007-08-07 16:24:42 +0000
committerDoug Goldstein <cardoe@gentoo.org>2007-08-07 16:24:42 +0000
commitae0c5c5e344018c11d59c24e583d0458c695a0cf (patch)
tree866342169d32b95d0d3b4007368963d869246b06 /eclass/mythtv-plugins.eclass
parentupstream fixes including fix for FLAC 1.1.4 bug #187796. (diff)
downloadgentoo-2-ae0c5c5e344018c11d59c24e583d0458c695a0cf.tar.gz
gentoo-2-ae0c5c5e344018c11d59c24e583d0458c695a0cf.tar.bz2
gentoo-2-ae0c5c5e344018c11d59c24e583d0458c695a0cf.zip
determine if we need a subversion_src_unpack or unpack and do the right thing
Diffstat (limited to 'eclass/mythtv-plugins.eclass')
-rw-r--r--eclass/mythtv-plugins.eclass9
1 files changed, 7 insertions, 2 deletions
diff --git a/eclass/mythtv-plugins.eclass b/eclass/mythtv-plugins.eclass
index 8f3b7f8cc81f..ee227ab57781 100644
--- a/eclass/mythtv-plugins.eclass
+++ b/eclass/mythtv-plugins.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.25 2007/06/28 19:19:21 cardoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mythtv-plugins.eclass,v 1.26 2007/08/07 16:24:42 cardoe Exp $
#
# Author: Doug Goldstein <cardoe@gentoo.org>
#
@@ -46,7 +46,12 @@ mythtv-plugins_pkg_setup() {
}
mythtv-plugins_src_unpack() {
- unpack ${A}
+ if [ -n "${SVNREV}" ]; then
+ subversion_src_unpack
+ else
+ unpack ${A}
+ fi
+
mythtv-plugins_src_unpack_patch
}