diff options
author | Treeve Jelbert | 2007-01-10 13:15:35 +0100 |
---|---|---|
committer | Jaka Kranjc | 2007-01-29 22:36:40 +0100 |
commit | 1530b671d25e9abaa8b9359d6f62b57251f1de98 (patch) | |
tree | 593f327dee50a3d91b3960b7bbe3544bfcf9b6ec | |
parent | 9a15d7c84e08d139f6ee20cc7393662566d68455 (diff) |
portaudio19-stable_v19_061121
(cherry picked from commit 4b1d7169c53125c163c39a54c6d242e36778881b)
-rwxr-xr-x | audio-drivers/portaudio19/DEPENDS | 5 | ||||
-rwxr-xr-x | audio-drivers/portaudio19/DETAILS | 22 | ||||
-rwxr-xr-x | audio-drivers/portaudio19/DOWNLOAD | 7 | ||||
-rw-r--r-- | audio-drivers/portaudio19/HISTORY | 6 | ||||
-rwxr-xr-x | audio-drivers/portaudio19/PREPARE | 3 |
5 files changed, 38 insertions, 5 deletions
diff --git a/audio-drivers/portaudio19/DEPENDS b/audio-drivers/portaudio19/DEPENDS index 61114dc9ee..70763c69c6 100755 --- a/audio-drivers/portaudio19/DEPENDS +++ b/audio-drivers/portaudio19/DEPENDS @@ -1,5 +1,6 @@ -depends subversion && - +if [[ $PORTAUDIO19_VERSION == svn ]]; then + depends subversion +fi && optional_depends alsa-lib "--with-alsa" "--without-alsa" "for alsa sound support" optional_depends JACK-DRIVER "--with-jack" "--without-jack" "for jack support" diff --git a/audio-drivers/portaudio19/DETAILS b/audio-drivers/portaudio19/DETAILS index 5dbc8f1925..0e648ac592 100755 --- a/audio-drivers/portaudio19/DETAILS +++ b/audio-drivers/portaudio19/DETAILS @@ -1,12 +1,32 @@ SPELL=portaudio19 +case ${PORTAUDIO19_VERSION} in + svn) if [[ "$PORTAUDIO19_CVS_AUTOUPDATE" == "y" ]]; then VERSION=$(date +%Y%m%d) else VERSION=cvs fi +# SOURCE_URL=svn://www.portaudio.com/repos/portaudio/branches/v19-devel SOURCE=${SPELL}_cvs.tar.bz2 + SOURCE_IGNORE=volatile SOURCE_DIRECTORY=$BUILD_DIRECTORY/${SPELL}-${VERSION} - SOURCE_IGNORE=volatile +;; + snapshot) + VERSION=snapshot_v19 + SOURCE=pa_$VERSION.tar.gz + SOURCE_URL=http://www.portaudio.com/archives/$SOURCE + SOURCE_IGNORE=volatile + FORCE_DOWNLOAD=on +SOURCE_DIRECTORY=$BUILD_DIRECTORY/portaudio +;; + *) + VERSION=stable_v19_061121 + SOURCE_HASH=sha512:c9cf5a4d8de0730a97c7e7f59f0b01019355e091fbea5d16db9b6315d2f5f45ab9a647a4e685bac8952eea21ab1ffd0ea9ba9d6daae67fa42c39b9b8bdb677df + SOURCE=pa_${VERSION}.tar.gz + SOURCE_URL=http://www.portaudio.com/archives/$SOURCE +SOURCE_DIRECTORY=$BUILD_DIRECTORY/portaudio +;; +esac WEB_SITE=http://www.portaudio.com ENTERED=20060725 LICENSE[0]=http://www.portaudio.com/license.html diff --git a/audio-drivers/portaudio19/DOWNLOAD b/audio-drivers/portaudio19/DOWNLOAD index 876414c24c..39bb73c716 100755 --- a/audio-drivers/portaudio19/DOWNLOAD +++ b/audio-drivers/portaudio19/DOWNLOAD @@ -1,10 +1,11 @@ +if [[ $PORTAUDIO19_VERSION == svn ]] ; then if [ -f $SOURCE_CACHE/$SOURCE ] ; then rm $SOURCE_CACHE/$SOURCE fi message "${MESSAGE_COLOR}Starting SVN checkout of ${FILE_COLOR}${SOURCE}${MESSAGE_COLOR}...${DEFAULT_COLOR}" -svn export https://www.portaudio.com/repos/portaudio/branches/v19-devel && +svn co https://www.portaudio.com/repos/portaudio/branches/v19-devel . && mv v19-devel $SPELL-$VERSION && tar -jcf $SOURCE $SPELL-$VERSION && @@ -12,4 +13,6 @@ tar -jcf $SOURCE $SPELL-$VERSION && mv $SOURCE $SOURCE_CACHE/$SOURCE && message "${MESSAGE_COLOR}SVN Checkout complete...${DEFAULT_COLOR}" - +else +default_download +fi diff --git a/audio-drivers/portaudio19/HISTORY b/audio-drivers/portaudio19/HISTORY index d6aadacbc4..1115f4c39c 100644 --- a/audio-drivers/portaudio19/HISTORY +++ b/audio-drivers/portaudio19/HISTORY @@ -1,3 +1,9 @@ +2007-01-10 Treeve Jelbert <treeve@pi.be> + * PREPARE, DEPENDS, DOWNLOAD, DETAILS: support multiple versions + (stable/snapshot) + disable svn checkout, does not work (invalid certificate) + * DETAILS: version stable_v19_061121 + 2007-01-03 Juuso Alasuutari <iuso@sourcemage.org> * DEPENDS: Added depends subversion (bug #13372). diff --git a/audio-drivers/portaudio19/PREPARE b/audio-drivers/portaudio19/PREPARE index 72e138f844..d57fc5cc14 100755 --- a/audio-drivers/portaudio19/PREPARE +++ b/audio-drivers/portaudio19/PREPARE @@ -1 +1,4 @@ +config_query_list PORTAUDIO19_VERSION "Which v19 version ?" stable snapshot +if [[ $PORTAUDIO19_VERSION == svn ]]; then config_query PORTAUDIO19_CVS_AUTOUPDATE "Automatically update $SPELL on system-update?" n +fi |