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
commita9233223b5fae434482ab9b8e21846db8eddb581 (patch)
treea532c11c822ec17d07d3c83845f176b9417d4122 /eclass/mythtv-plugins.eclass
parentupstream fixes including fix for FLAC 1.1.4 bug #187796. (diff)
downloadhistorical-a9233223b5fae434482ab9b8e21846db8eddb581.tar.gz
historical-a9233223b5fae434482ab9b8e21846db8eddb581.tar.bz2
historical-a9233223b5fae434482ab9b8e21846db8eddb581.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
}