summaryrefslogtreecommitdiff
path: root/tools/osx_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/osx_packaging
parent5b60070034d0a1f3e13874c0c02635da7d2bbb20 (diff)
variable for packaging channelstrip. allow rename
Diffstat (limited to 'tools/osx_packaging')
-rwxr-xr-xtools/osx_packaging/osx_build12
1 files changed, 7 insertions, 5 deletions
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index ca3db40ea3..67a2043021 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -23,6 +23,7 @@ WITH_LADSPA=1
STRIP=1
PRINT_SYSDEPS=
WITH_NLS=
+: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
while [ $# -gt 0 ] ; do
echo "arg = $1"
@@ -71,6 +72,7 @@ while [ $# -gt 0 ] ; do
--nostrip) STRIP= ; shift ;;
--sysdeps) PRINT_SYSDEPS=1; shift ;;
--nls) WITH_NLS=1 ; shift ;;
+ --chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
esac
done
@@ -688,12 +690,12 @@ if test -n "$MIXBUS"; then
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip"
curl -s -S --fail -# \
- -z "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
- -o "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
- "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${OSX_BENSID}.so"
+ -z "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
+ -o "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
+ "http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so"
- cp "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
- "${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip/harrison_channelstrip.so"
+ cp "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
+ "${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip/${HARRISONCHANNELSTRIP}.so"
fi
################################################################################