13
0

fetch and include MIDI bundled content during packaging of Ardour

This commit is contained in:
Paul Davis 2022-10-04 11:01:54 -06:00
parent b40179854a
commit bbe68542e8
3 changed files with 37 additions and 0 deletions

View File

@ -741,6 +741,18 @@ if test -n "$MIXBUS"; then
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled content"
curl -s -S --fail -# \
-z "${CACHEDIR}/ArdourBundledMedia.zip" \
-o "${CACHEDIR}/ArdourBundledMedia.zip" \
"http://ardour.org/loops/ArdourBundledMedia.zip"
if test -f "${CACHEDIR}/MixbusBundledMedia.zip"; then
echo "Adding Ardour Bundled Content"
rm -f "${MediaClips}/"*.*
unzip -q -d "${MediaClips}" "${CACHEDIR}/ArdourBundledMedia.zip"
fi
fi
echo "Setting Bundled Media dir/file permissions"

View File

@ -818,6 +818,19 @@ if test -n "$MIXBUS"; then
bsdtar -C "${PRODUCT_PKG_DIR}/${MediaClips}" -xf \
"${CACHEDIR}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled content"
curl -s -S --fail -# \
-z "${CACHEDIR}/ArdourBundledMedia.zip" \
-o "${CACHEDIR}/ArdourBundledMedia.zip" \
"http://ardour.org/loops/ArdourBundledMedia.zip"
if test -f "${CACHEDIR}/ArdourBundledMedia.zip"; then
echo "Adding Ardour Bundled Content"
rm -f "${PRODUCT_PKG_DIR}/${MediaClips}/"*.*
bsdtar -C "${PRODUCT_PKG_DIR}/${MediaClips}" -xf \
"${CACHEDIR}/ArdourBundledMedia.zip"
fi
fi
echo "Setting Bundled Media dir/file permissions"

View File

@ -362,6 +362,18 @@ if test -n "$MIXBUS"; then
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
unzip -q -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/MixbusBundledMedia.zip"
fi
else
echo "Fetching Ardour bundled media"
curl -s -S --fail -# \
-z "${SRCCACHE}/ArdourBundledMedia.zip" \
-o "${SRCCACHE}/ArdourBundledMedia.zip" \
"http://ardour.org/loops/ArdourBundledMedia.zip"
if test -f "${SRCCACHE}/ArdourBundledMedia.zip"; then
echo "Adding Ardour Bundled Content"
rm -f $DESTDIR/share/${LOWERCASE_DIRNAME}/media/*.*
unzip -q -d "$DESTDIR/share/${LOWERCASE_DIRNAME}/media/" "${SRCCACHE}/ArdourBundledMedia.zip"
fi
fi
################################################################################