13
0

Bundle Mixbus Media

This commit is contained in:
Robin Gareus 2022-01-17 19:50:34 +01:00
parent 20824b6407
commit 0481b10d97
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
3 changed files with 46 additions and 1 deletions

View File

@ -730,6 +730,18 @@ if test -n "$MIXBUS"; then
cp "${CACHEDIR}/harrison_vamp.${VAMPARCH}.so" \ cp "${CACHEDIR}/harrison_vamp.${VAMPARCH}.so" \
$APPLIB/harrison_vamp.so $APPLIB/harrison_vamp.so
chmod +x $APPLIB/harrison_vamp.so chmod +x $APPLIB/harrison_vamp.so
# Mixbus Bundled Media Content
curl -s -S --fail -# \
-z "${CACHEDIR}/MixbusBundledMedia.zip" \
-o "${CACHEDIR}/MixbusBundledMedia.zip" \
"http://www.rsrc.harrisonconsoles.com/mixbus/mb8/content/MixbusBundledMedia.zip"
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
fi
fi fi
if true ; then if true ; then

View File

@ -172,10 +172,10 @@ mkdir -p $MackieControl
mkdir -p $OSC mkdir -p $OSC
mkdir -p $PatchFiles mkdir -p $PatchFiles
mkdir -p $LuaScripts mkdir -p $LuaScripts
mkdir -p $MediaClips
mkdir -p $Themes mkdir -p $Themes
EXECUTABLE=${BUNDLENAME} EXECUTABLE=${BUNDLENAME}
# #
@ -362,6 +362,10 @@ done
cp -R $BUILD_ROOT/../share/web_surfaces $WebSurfaces cp -R $BUILD_ROOT/../share/web_surfaces $WebSurfaces
rm $WebSurfaces/wscript rm $WebSurfaces/wscript
# recusively copy clips/media
cp -a $BUILD_ROOT/../share/media $MediaClips
rm $MediaClips/wscript
# MackieControl data # MackieControl data
# got to be careful with names here # got to be careful with names here
for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do for x in $BUILD_ROOT/../share/mcp/*.device $BUILD_ROOT/../share/mcp/*.profile ; do
@ -640,6 +644,10 @@ else
fi fi
################################################################################
# from here on $PRODUCT_PKG_DIR/ prefix is needed
################################################################################
DMG_ARCH="" DMG_ARCH=""
if file ${PRODUCT_PKG_DIR}/$APPROOT/MacOS/$MAIN_EXECUTABLE | grep -q x86_64; then if file ${PRODUCT_PKG_DIR}/$APPROOT/MacOS/$MAIN_EXECUTABLE | grep -q x86_64; then
OSX_ARCH=x86_64 OSX_ARCH=x86_64
@ -792,6 +800,19 @@ if test -n "$MIXBUS"; then
cp "${CACHEDIR}/harrison_vamp.${OSX_BENSID}.dylib" \ cp "${CACHEDIR}/harrison_vamp.${OSX_BENSID}.dylib" \
"${PRODUCT_PKG_DIR}/${APPROOT}/lib/harrison_vamp.dylib" "${PRODUCT_PKG_DIR}/${APPROOT}/lib/harrison_vamp.dylib"
# Mixbus Bundled Media Content
curl -s -S --fail -# \
-z "${CACHEDIR}/MixbusBundledMedia.zip" \
-o "${CACHEDIR}/MixbusBundledMedia.zip" \
"http://www.rsrc.harrisonconsoles.com/mixbus/mb8/content/MixbusBundledMedia.zip"
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f "${PRODUCT_PKG_DIR}/${MediaClips}/"*.*
bsdtar -C "${PRODUCT_PKG_DIR}/${MediaClips}" -xf \
"${CACHEDIR}/MixbusBundledMedia.zip"
fi
fi fi
################################################################################ ################################################################################

View File

@ -350,6 +350,18 @@ if test -n "$MIXBUS"; then
cp "${SRCCACHE}/harrison_vamp.${WARCH}.dll" \ cp "${SRCCACHE}/harrison_vamp.${WARCH}.dll" \
"$ALIBDIR/vamp/harrison_vamp.dll" "$ALIBDIR/vamp/harrison_vamp.dll"
# Mixbus Bundled Media Content
curl -s -S --fail -# \
-z "${SRCCACHE}/MixbusBundledMedia.zip" \
-o "${SRCCACHE}/MixbusBundledMedia.zip" \
"http://www.rsrc.harrisonconsoles.com/mixbus/mb8/content/MixbusBundledMedia.zip"
if test -f "${SRCCACHE}/MixbusBundledMedia.zip"; then
echo "Adding Mixbus Bundled Content"
rm -f $DESTDIR/share/media/*.*
unzip -q -d "$DESTDIR/share/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
fi
fi fi
################################################################################ ################################################################################