fetch and include MIDI bundled content during packaging of Ardour
This commit is contained in:
parent
b40179854a
commit
bbe68542e8
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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
|
||||
|
||||
################################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user