variable for packaging channelstrip. allow rename
This commit is contained in:
parent
5b60070034
commit
a9a6d6da4e
|
@ -36,6 +36,7 @@ GCC5ABI=false
|
||||||
USEWINE=false
|
USEWINE=false
|
||||||
BUILDTYPE=""
|
BUILDTYPE=""
|
||||||
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
|
NOSTRIP="libsuil|libserd|libsord|liblilv|libsratom|liblrdf|libardour|libpbd|libevoral"
|
||||||
|
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
||||||
|
|
||||||
|
|
||||||
if [ $# -eq 0 ] ; then
|
if [ $# -eq 0 ] ; then
|
||||||
|
@ -90,6 +91,7 @@ while [ $# -gt 0 ] ; do
|
||||||
--nls) WITH_NLS=1 ; shift ;;
|
--nls) WITH_NLS=1 ; shift ;;
|
||||||
--harvid) WITH_HARVID=1 ; shift ;;
|
--harvid) WITH_HARVID=1 ; shift ;;
|
||||||
--gcc5abi) GCC5ABI=true ; shift ;;
|
--gcc5abi) GCC5ABI=true ; shift ;;
|
||||||
|
--chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
#catch all for unknown arguments
|
#catch all for unknown arguments
|
||||||
|
@ -625,13 +627,13 @@ if test -n "$MIXBUS"; then
|
||||||
|
|
||||||
mkdir -p $APPLIB/ladspa/strip/
|
mkdir -p $APPLIB/ladspa/strip/
|
||||||
curl -s -S --fail -# \
|
curl -s -S --fail -# \
|
||||||
-z "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
|
-z "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
|
||||||
-o "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
|
-o "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
|
||||||
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${HARCH}.so"
|
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${HARCH}.so"
|
||||||
|
|
||||||
cp "${CACHEDIR}/harrison_channelstrip.${HARCH}.so" \
|
cp "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${HARCH}.so" \
|
||||||
$APPLIB/ladspa/strip/harrison_channelstrip.so
|
$APPLIB/ladspa/strip/${HARRISONCHANNELSTRIP}.so
|
||||||
chmod +x $APPLIB/ladspa/strip/harrison_channelstrip.so
|
chmod +x $APPLIB/ladspa/strip/${HARRISONCHANNELSTRIP}.so
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test x$WITH_X42_LV2 != x ; then
|
if test x$WITH_X42_LV2 != x ; then
|
||||||
|
|
|
@ -23,6 +23,7 @@ WITH_LADSPA=1
|
||||||
STRIP=1
|
STRIP=1
|
||||||
PRINT_SYSDEPS=
|
PRINT_SYSDEPS=
|
||||||
WITH_NLS=
|
WITH_NLS=
|
||||||
|
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
||||||
|
|
||||||
while [ $# -gt 0 ] ; do
|
while [ $# -gt 0 ] ; do
|
||||||
echo "arg = $1"
|
echo "arg = $1"
|
||||||
|
@ -71,6 +72,7 @@ while [ $# -gt 0 ] ; do
|
||||||
--nostrip) STRIP= ; shift ;;
|
--nostrip) STRIP= ; shift ;;
|
||||||
--sysdeps) PRINT_SYSDEPS=1; shift ;;
|
--sysdeps) PRINT_SYSDEPS=1; shift ;;
|
||||||
--nls) WITH_NLS=1 ; shift ;;
|
--nls) WITH_NLS=1 ; shift ;;
|
||||||
|
--chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -688,12 +690,12 @@ if test -n "$MIXBUS"; then
|
||||||
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip"
|
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip"
|
||||||
|
|
||||||
curl -s -S --fail -# \
|
curl -s -S --fail -# \
|
||||||
-z "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
|
-z "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
|
||||||
-o "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
|
-o "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
|
||||||
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${OSX_BENSID}.so"
|
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so"
|
||||||
|
|
||||||
cp "${CACHEDIR}/harrison_channelstrip.${OSX_BENSID}.so" \
|
cp "${CACHEDIR}/${HARRISONCHANNELSTRIP}.${OSX_BENSID}.so" \
|
||||||
"${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip/harrison_channelstrip.so"
|
"${PRODUCT_PKG_DIR}/${APPROOT}/lib/ladspa/strip/${HARRISONCHANNELSTRIP}.so"
|
||||||
fi
|
fi
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
|
|
|
@ -16,6 +16,7 @@ test -f gtk2_ardour/wscript || exit 1
|
||||||
: ${MAKEFLAGS=-j4}
|
: ${MAKEFLAGS=-j4}
|
||||||
: ${TMPDIR=/var/tmp}
|
: ${TMPDIR=/var/tmp}
|
||||||
: ${SRCCACHE=/var/tmp/winsrc} # source-code tgz cache
|
: ${SRCCACHE=/var/tmp/winsrc} # source-code tgz cache
|
||||||
|
: ${HARRISONCHANNELSTRIP=harrison_channelstrip}
|
||||||
|
|
||||||
# TODO: grep from build/config.log instead
|
# TODO: grep from build/config.log instead
|
||||||
while [ $# -gt 0 ] ; do
|
while [ $# -gt 0 ] ; do
|
||||||
|
@ -26,6 +27,7 @@ while [ $# -gt 0 ] ; do
|
||||||
WITH_HARRISON_LV2=1 ;
|
WITH_HARRISON_LV2=1 ;
|
||||||
WITH_X42_LV2=1 ;
|
WITH_X42_LV2=1 ;
|
||||||
shift ;;
|
shift ;;
|
||||||
|
--chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
|
|
||||||
|
@ -275,12 +277,12 @@ if test -n "$MIXBUS"; then
|
||||||
|
|
||||||
mkdir -p $ALIBDIR/ladspa/strip
|
mkdir -p $ALIBDIR/ladspa/strip
|
||||||
curl -s -S --fail -# \
|
curl -s -S --fail -# \
|
||||||
-z "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
|
-z "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
|
||||||
-o "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
|
-o "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
|
||||||
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/harrison_channelstrip.${WARCH}.dll"
|
"http://www.harrisonconsoles.com/mixbus/mb3/beta/harrison-dsp/${HARRISONCHANNELSTRIP}.${WARCH}.dll"
|
||||||
|
|
||||||
cp "${SRCCACHE}/harrison_channelstrip.${WARCH}.dll" \
|
cp "${SRCCACHE}/${HARRISONCHANNELSTRIP}.${WARCH}.dll" \
|
||||||
"$ALIBDIR/ladspa/strip/harrison_channelstrip.dll"
|
"$ALIBDIR/ladspa/strip/${HARRISONCHANNELSTRIP}.dll"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
( cd $DESTDIR ; find . ) > ${TMPDIR}/file_list.txt
|
( cd $DESTDIR ; find . ) > ${TMPDIR}/file_list.txt
|
||||||
|
|
Loading…
Reference in New Issue
Block a user