Update packaging scripts for LiveTrax
This commit is contained in:
parent
ec26863566
commit
1bff623495
@ -22,6 +22,7 @@ MIXBUS=
|
||||
WITH_HARRISON_LV2=
|
||||
WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
WITH_GMSYNYTH=
|
||||
WITH_HARVID=
|
||||
STRIP=all
|
||||
PRINT_SYSDEPS=
|
||||
@ -58,6 +59,7 @@ while [ $# -gt 0 ] ; do
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all
|
||||
APPNAME=Mixbus ;
|
||||
@ -69,6 +71,7 @@ while [ $# -gt 0 ] ; do
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all
|
||||
APPNAME=Mixbus32C ;
|
||||
@ -76,8 +79,16 @@ while [ $# -gt 0 ] ; do
|
||||
EXENAME=mixbus32c ;
|
||||
major_version=""
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
STRIP=all ;
|
||||
WITH_NLS=1 ;
|
||||
APPNAME=LiveTrax ;
|
||||
WITHOUT_GMSYNYTH=1 ;
|
||||
shift ;;
|
||||
--public)
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_GMSYNYTH=1
|
||||
WITH_NLS=1 ;
|
||||
STRIP=all ;
|
||||
APPNAME=Ardour ;
|
||||
@ -676,7 +687,7 @@ if [ -d specialSauce ] ; then
|
||||
fi
|
||||
|
||||
# install bundled LV2s to <app>/lib/LV2/
|
||||
cp -R $BUILD_ROOT/libs/LV2 $APPLIB/
|
||||
cp -R $BUILD_ROOT/libs/LV2 $APPLIB/ || true
|
||||
|
||||
# lv2 core, classifications
|
||||
for file in $GTKSTACK_ROOT/lib/lv2/*.lv2; do
|
||||
@ -740,7 +751,7 @@ if test -n "$MIXBUS"; then
|
||||
rm -f "${MediaClips}/"*.*
|
||||
unzip -q -o -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
|
||||
fi
|
||||
else
|
||||
elif test -z "$LIVETRAX"; then
|
||||
echo "Fetching Ardour bundled content"
|
||||
|
||||
curl -s -S --fail -# \
|
||||
@ -758,7 +769,7 @@ echo "Setting Bundled Media dir/file permissions"
|
||||
find "${MediaClips}" -type d -exec chmod 755 "{}" \;
|
||||
find "${MediaClips}" -type f -exec chmod 644 "{}" \;
|
||||
|
||||
if true ; then
|
||||
if test x$WITH_GMSYNYTH != x ; then
|
||||
mkdir -p $APPLIB/LV2
|
||||
|
||||
echo "Adding General MIDI Synth LV2"
|
||||
|
@ -19,6 +19,7 @@ WITH_HARVID=1
|
||||
WITH_HARRISON_LV2=
|
||||
WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
WITH_GMSYNTH=
|
||||
STRIP=1
|
||||
PRINT_SYSDEPS=
|
||||
WITH_NLS=1
|
||||
@ -41,6 +42,7 @@ while [ $# -gt 0 ] ; do
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNTH=1
|
||||
STRIP= ;
|
||||
PRODUCT_PKG_DIR=Mixbus;
|
||||
APPNAME=Mixbus ;
|
||||
@ -53,6 +55,7 @@ while [ $# -gt 0 ] ; do
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=1
|
||||
WITH_GRATIS_X42_LV2=1
|
||||
WITH_GMSYNTH=1
|
||||
STRIP= ;
|
||||
PRODUCT_PKG_DIR=Mixbus32C;
|
||||
lower_case_appname=mixbus32c;
|
||||
@ -60,8 +63,17 @@ while [ $# -gt 0 ] ; do
|
||||
APPNAME=Mixbus32C ;
|
||||
BUNDLENAME=Mixbus32C-${major_version} ;
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
APPNAME=LiveTrax ;
|
||||
PRODUCT_PKG_DIR=LiveTrax;
|
||||
BUNDLENAME=LiveTrax${major_version} ;
|
||||
lower_case_appname=livetrax;
|
||||
BUNDLE_ID_BASE=com.harrisonconsoles
|
||||
shift ;;
|
||||
--public)
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_GMSYNTH=1
|
||||
PRODUCT_PKG_DIR=Ardour;
|
||||
APPNAME=Ardour ;
|
||||
BUNDLENAME=Ardour${major_version} ;
|
||||
@ -537,7 +549,7 @@ done
|
||||
rm $Frameworks/ardour-util.sh
|
||||
|
||||
# install bundled LV2s to <app>/Contents/lib/LV2/
|
||||
cp -R $BUILD_ROOT/libs/LV2 $Frameworks/
|
||||
cp -R $BUILD_ROOT/libs/LV2 $Frameworks/ || true
|
||||
|
||||
# lv2 core, classifications
|
||||
for file in $GTKSTACK_ROOT/lib/lv2/*.lv2; do
|
||||
@ -743,7 +755,7 @@ fi
|
||||
|
||||
################################################################################
|
||||
### Mixbus plugins, etc
|
||||
if true; then
|
||||
if test x$WITH_GMSYNYTH != x ; then
|
||||
echo "Bundling General MIDI Synth LV2"
|
||||
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2"
|
||||
|
||||
@ -828,7 +840,7 @@ if test -n "$MIXBUS"; then
|
||||
bsdtar -C "${PRODUCT_PKG_DIR}/${MediaClips}" -xf \
|
||||
"${CACHEDIR}/MixbusBundledMedia.zip"
|
||||
fi
|
||||
else
|
||||
elif test -z "$LIVETRAX"; then
|
||||
echo "Fetching Ardour bundled content"
|
||||
curl -s -S --fail -# \
|
||||
-z "${CACHEDIR}/ArdourBundledMedia.zip" \
|
||||
|
@ -33,6 +33,7 @@ PRODUCT_VERSION=${major_version}
|
||||
WITH_HARRISON_LV2=1 ;
|
||||
WITH_COMMERCIAL_X42_LV2=
|
||||
WITH_GRATIS_X42_LV2=
|
||||
WITH_GMSYNTH=1
|
||||
|
||||
# TODO: grep from build/config.log instead
|
||||
while [ $# -gt 0 ] ; do
|
||||
@ -59,6 +60,11 @@ while [ $# -gt 0 ] ; do
|
||||
PROGRAM_VERSION=""
|
||||
MANUAL_NAME="mixbus32c-live-manual"
|
||||
shift ;;
|
||||
--livetrax)
|
||||
LIVETRAX=1 ;
|
||||
WITH_HARRISON_LV2="" ;
|
||||
WITH_GMSYNTH="" ;
|
||||
shift ;;
|
||||
--chanstrip) HARRISONCHANNELSTRIP=$2 ; shift; shift ;;
|
||||
esac
|
||||
done
|
||||
@ -185,7 +191,7 @@ cp `find build/libs/surfaces/ -iname "*.dll"` $ALIBDIR/surfaces/
|
||||
cp `find build/libs/backends/ -iname "*.dll"` $ALIBDIR/backends/
|
||||
cp `find build/libs/panners/ -iname "*.dll"` $ALIBDIR/panners/
|
||||
|
||||
cp -r build/libs/LV2 $ALIBDIR/
|
||||
cp -r build/libs/LV2 $ALIBDIR/ || true
|
||||
cp -r build/libs/vamp-plugins/*ardourvampplugins*.dll $ALIBDIR/vamp/libardourvampplugins.dll
|
||||
cp -r build/libs/vamp-pyin/*ardourvamppyin*.dll $ALIBDIR/vamp/libardourvamppyin.dll
|
||||
|
||||
@ -299,7 +305,7 @@ fi
|
||||
|
||||
################################################################################
|
||||
### Mixbus plugins, etc
|
||||
if true ; then
|
||||
if test x$WITH_GMSYNYTH != x ; then
|
||||
mkdir -p $ALIBDIR/LV2
|
||||
|
||||
echo "Adding General MIDI Synth LV2"
|
||||
@ -387,7 +393,7 @@ if test -n "$MIXBUS"; then
|
||||
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
|
||||
unzip -q -o -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
|
||||
fi
|
||||
else
|
||||
elif test -z "$LIVETRAX"; then
|
||||
echo "Fetching Ardour bundled media"
|
||||
curl -s -S --fail -# \
|
||||
-z "${SRCCACHE}/ArdourBundledMedia.zip" \
|
||||
|
Loading…
Reference in New Issue
Block a user