summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuuso Alasuutari2007-10-20 20:12:04 +0300
committerJuuso Alasuutari2007-10-20 20:12:04 +0300
commit06cb85e6b2b17340aead8ad9507eb6a259e82c45 (patch)
tree375f98d79ddd84469e4ab0a88bfe78f5b3efd19e
parent3fee29f6a1ded4eaee8b0744415e1e10830d6a9c (diff)
qjackctl: Added CVS version.
-rwxr-xr-xaudio-soft/qjackctl/DEPENDS7
-rwxr-xr-xaudio-soft/qjackctl/DETAILS16
-rw-r--r--audio-soft/qjackctl/HISTORY4
-rwxr-xr-xaudio-soft/qjackctl/PREPARE7
-rwxr-xr-xaudio-soft/qjackctl/PRE_BUILD18
5 files changed, 45 insertions, 7 deletions
diff --git a/audio-soft/qjackctl/DEPENDS b/audio-soft/qjackctl/DEPENDS
index 83d9aff5fa..0a0feebab9 100755
--- a/audio-soft/qjackctl/DEPENDS
+++ b/audio-soft/qjackctl/DEPENDS
@@ -1,5 +1,5 @@
#
-# only needed for qt4_bin_path_fix.diff
+# only needed for qt4_bin_path_fix.diff and cvs version
#
depends autoconf &&
@@ -14,6 +14,11 @@ then
depends libxext
fi &&
+if [[ $QJCTL_VCS == y ]]
+then
+ depends CVS
+fi &&
+
depends JACK-DRIVER &&
optional_depends alsa-lib \
diff --git a/audio-soft/qjackctl/DETAILS b/audio-soft/qjackctl/DETAILS
index d04fc2069e..c5b76aaf59 100755
--- a/audio-soft/qjackctl/DETAILS
+++ b/audio-soft/qjackctl/DETAILS
@@ -1,9 +1,24 @@
SPELL=qjackctl
+if [[ $QJCTL_VCS == y ]]
+then
+ if [[ $QJCTL_VCS_AUTOUPDATE == y ]]
+ then
+ VERSION=$(date +%Y%m%d)
+ else
+ VERSION=cvs
+ fi
+ SOURCE=$SPELL-cvs.tar.bz2
+SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-cvs"
+ SOURCE_URL[0]=cvs://:pserver:anonymous@qjackctl.cvs.sourceforge.net:/cvsroot/qjackctl:qjackctl
+ SOURCE_IGNORE=volatile
+ FORCE_DOWNLOAD=on
+else
VERSION=0.3.1a
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
SOURCE_URL[0]=$SOURCEFORGE_URL/$SPELL/$SOURCE
SOURCE_HASH=sha512:0b6863b30e600d689e43832416083a6d020963c174adb02f2585e295420259c1d5bcf10bc0c3d787d889658780ff541d1d1736375149733a5cce1d108fc4bd7e
+fi
WEB_SITE=http://qjackctl.sf.net
ENTERED=20031215
LICENSE[0]=GPL
@@ -19,4 +34,3 @@ which are properly saved between sessions, and a way control of the status
of the audio server daemon. With time, this primordial interface has become
richer by including a enhanced patchbay and connection control features.
EOF
-
diff --git a/audio-soft/qjackctl/HISTORY b/audio-soft/qjackctl/HISTORY
index f91ce366b9..8d6d2102f8 100644
--- a/audio-soft/qjackctl/HISTORY
+++ b/audio-soft/qjackctl/HISTORY
@@ -1,3 +1,7 @@
+2007-10-20 Juuso Alasuutari <iuso@sourcemage.org>
+ * DETAILS, DEPENDS, PRE_BUILD: Added cvs version.
+ * PREPARE: Added, for cvs version query.
+
2007-09-21 Juuso Alasuutari <iuso@sourcemage.org>
* PRE_BUILD: Replaced sed hack with patch from upstream.
* qt4_bin_path_fix.diff: Added.
diff --git a/audio-soft/qjackctl/PREPARE b/audio-soft/qjackctl/PREPARE
new file mode 100755
index 0000000000..d0089455a0
--- /dev/null
+++ b/audio-soft/qjackctl/PREPARE
@@ -0,0 +1,7 @@
+config_query QJCTL_VCS "Build latest version from development tree?" n &&
+
+if [[ $QJCTL_VCS == y ]]
+then
+ config_query QJCTL_VCS_AUTOUPDATE \
+ "Update automatically on every system update?" n
+fi
diff --git a/audio-soft/qjackctl/PRE_BUILD b/audio-soft/qjackctl/PRE_BUILD
index 38c9fcb58d..b4033a332e 100755
--- a/audio-soft/qjackctl/PRE_BUILD
+++ b/audio-soft/qjackctl/PRE_BUILD
@@ -1,8 +1,16 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&
-#
-# fix ./configure not finding Qt4 build utils
-#
-patch -p0 < "$SCRIPT_DIRECTORY/qt4_bin_path_fix.diff" &&
-autoconf
+if [[ $QJCTL_VCS != y ]]
+then
+ #
+ # fix ./configure not finding Qt4 build utils
+ #
+ patch -p0 < "$SCRIPT_DIRECTORY/qt4_bin_path_fix.diff" &&
+ autoconf
+else
+ #
+ # prepare cvs version build
+ #
+ make -f Makefile.cvs
+fi