summaryrefslogtreecommitdiff
path: root/tools/linux_packaging
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/linux_packaging
parent5b60070034d0a1f3e13874c0c02635da7d2bbb20 (diff)
variable for packaging channelstrip. allow rename
Diffstat (limited to 'tools/linux_packaging')
-rwxr-xr-xtools/linux_packaging/build14
1 files changed, 8 insertions, 6 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index ceae9a9732..c753347fcf 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -36,6 +36,7 @@ GCC5ABI=false
USEWINE=false
BUILDTYPE=""
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
+: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
if [ $# -eq 0 ] ; then
@@ -90,6 +91,7 @@ while [ $# -gt 0 ] ; do
--nls) WITH_NLS=1 ; shift ;;
--harvid) WITH_HARVID=1 ; shift ;;
--gcc5abi) GCC5ABI=true ; shift ;;
+ --chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
*)
#catch all for unknown arguments
@@ -625,13 +627,13 @@ if test -n "$MIXBUS"; then
mkdir -p $APPLIB/ladspa/strip/
curl -s -S --fail -# \
- -z "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
- -o "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
- "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${HARCH}.so"
+ -z "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
+ -o "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
+ "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${HARCH}.so"
- cp "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
- $APPLIB/ladspa/strip/harrison_channelstrip.so
- chmod +x $APPLIB/ladspa/strip/harrison_channelstrip.so
+ cp "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
+ $APPLIB/ladspa/strip/${HARRISONCHANNELSTRIP}.so
+ chmod +x $APPLIB/ladspa/strip/${HARRISONCHANNELSTRIP}.so
fi
if test x$WITH_X42_LV2 != x ; then