if [[ $JACKDMP_VCS == y ]]
then
+ message "${MESSAGE_COLOR}The 'control' branch includes an experimental" \
+ "\nD-Bus control interface for JACK.$DEFAULT_COLOR"
&&
+
+ config_query_list JACKDMP_VCS_BRANCH \
+ "Which branch to pull from?" \
+ trunk \
+ control &&
+
config_query JACKDMP_VCS_AUTOUPDATE \
"Automatically update on every system update?" n
fi &&
diff --git a/audio-drivers/jackdmp/PRE_BUILD b/audio-drivers/jackdmp/PRE_BUILD
index 90ae799..0d978f7 100755
--- a/audio-drivers/jackdmp/PRE_BUILD
+++ b/audio-drivers/jackdmp/PRE_BUILD
@@ -1,26 +1,18 @@
#
-# Account for packaging differences between the stable and devel version
-#
-local _src &&
-
-#
# Funny stuff needed because the source is a badly built zip archive
#
-if [[ $JACKDMP_VCS != 'y' ]]
+if [[ $JACKDMP_VCS != y ]]
then
mkdir -p "$SOURCE_DIRECTORY" &&
cd "$SOURCE_DIRECTORY" &&
unpack_file &&
cd "${SPELL}_$VERSION" &&
- _src="src/"
-else
- default_pre_build &&
- cd "$SOURCE_DIRECTORY"
-fi &&
-sed -i "s|/usr/local|/usr|" ${_src}linux/Makefile &&
-
-if [[ $JACKDMP_TMPDIR && $JACKDMP_TMPDIR != '/dev/shm' ]]
-then
- sed -i "s|/dev/shm|$JACKDMP_TMPDIR|" ${_src}common/JackConstants.h
+ sed -i "s|/usr/local|/usr|" src/linux/Makefile &&
+ if [[ $JACKDMP_TMPDIR && $JACKDMP_TMPDIR != '/dev/shm' ]]
+ then
+ sed -i "s|/dev/shm|$JACKDMP_TMPDIR|" src/common/JackConstants.h
+ fi
+else
+ default_pre_build
fi
[SM-Commit] GIT changes to master grimoire by Juuso Alasuutari (48f89c84b799de3157c8596a2cd25d6c757024a3),
Juuso Alasuutari, 03/17/2008