13
0

variable for packaging channelstrip. allow rename

This commit is contained in:
Robin Gareus 2016-04-07 22:27:03 +02:00
parent 5b60070034
commit a9a6d6da4e
3 changed files with 22 additions and 16 deletions

View File

@ -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

View File

@ -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
################################################################################

View File

@ -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