summaryrefslogtreecommitdiff
path: root/tools/x-win
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2016-04-07 22:27:03 +0200
committerRobin Gareus <robin@gareus.org>2016-04-07 23:15:40 +0200
commita9a6d6da4e4990833d6b00b6415c2ed8d038ddda (patch)
treec183b4b1d9c22a23a90c67952f61078e9e3ff2da /tools/x-win
parent5b60070034d0a1f3e13874c0c02635da7d2bbb20 (diff)
variable for packaging channelstrip. allow rename
Diffstat (limited to 'tools/x-win')
-rwxr-xr-xtools/x-win/package.sh12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
index fb525844f8..62cb5a78e8 100755
--- a/tools/x-win/package.sh
+++ b/tools/x-win/package.sh
@@ -16,6 +16,7 @@ test -f gtk2_ardour/wscript || exit 1
: ${MAKEFLAGS=-j4}
: ${TMPDIR=/var/tmp}
: ${SRCCACHE=/var/tmp/winsrc} # source-code tgz cache
+: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
# TODO: grep from build/config.log instead
while [ $# -gt 0 ] ; do
@@ -26,6 +27,7 @@ while [ $# -gt 0 ] ; do
WITH_HARRISON_LV2=1 ;
WITH_X42_LV2=1 ;
shift ;;
+ --chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
esac
done
@@ -275,12 +277,12 @@ if test -n "$MIXBUS"; then
mkdir -p $ALIBDIR/ladspa/strip
curl -s -S --fail -# \
- -z "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
- -o "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
- "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${WARCH}.dll"
+ -z "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
+ -o "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
+ "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${WARCH}.dll"
- cp "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
- "$ALIBDIR/ladspa/strip/harrison_channelstrip.dll"
+ cp "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
+ "$ALIBDIR/ladspa/strip/${HARRISONCHANNELSTRIP}.dll"
fi
( cd $DESTDIR ; find . ) > ${TMPDIR}/file_list.txt