mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
rsync & cache plugins locally
This commit is contained in:
parent
82b2f27e57
commit
23f822afe6
1 changed files with 16 additions and 7 deletions
|
|
@ -618,6 +618,7 @@ fi
|
||||||
###################################################################
|
###################################################################
|
||||||
### Mixbus plugins, etc
|
### Mixbus plugins, etc
|
||||||
if test -n "$MIXBUS"; then
|
if test -n "$MIXBUS"; then
|
||||||
|
echo "bundling x42 plugins"
|
||||||
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
|
||||||
else
|
else
|
||||||
|
|
@ -626,18 +627,26 @@ if test -n "$MIXBUS"; then
|
||||||
|
|
||||||
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2"
|
mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2"
|
||||||
|
|
||||||
# TODO use rsync://gareus.org/x42/ and cache locally - see harvid/xjadeo below
|
|
||||||
METERS_VERSION=$(curl -s -S http://gareus.org/x42/osx/x42-meters.latest.txt)
|
METERS_VERSION=$(curl -s -S http://gareus.org/x42/osx/x42-meters.latest.txt)
|
||||||
curl -s http://gareus.org/x42/osx/x42-meters-lv2-osx-${METERS_VERSION}.zip \
|
rsync -a -q --partial \
|
||||||
| bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf -
|
rsync://gareus.org/x42/osx/x42-meters-lv2-osx-${METERS_VERSION}.zip \
|
||||||
|
"$CACHEDIR/x42-meters-lv2-osx-${METERS_VERSION}.zip"
|
||||||
|
bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf \
|
||||||
|
"$CACHEDIR/x42-meters-lv2-osx-${METERS_VERSION}.zip"
|
||||||
|
|
||||||
SETBFREE_VERSION=$(curl -s -S http://gareus.org/x42/osx/setBfree.latest.txt)
|
SETBFREE_VERSION=$(curl -s -S http://gareus.org/x42/osx/setBfree.latest.txt)
|
||||||
curl -s http://gareus.org/x42/osx/setBfree-lv2-osx-${SETBFREE_VERSION}.zip \
|
rsync -a -q --partial \
|
||||||
| bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf -
|
rsync://gareus.org/x42/osx/setBfree-lv2-osx-${SETBFREE_VERSION}.zip \
|
||||||
|
"$CACHEDIR/setBfree-lv2-osx-${SETBFREE_VERSION}.zip"
|
||||||
|
bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf \
|
||||||
|
"$CACHEDIR/setBfree-lv2-osx-${SETBFREE_VERSION}.zip"
|
||||||
|
|
||||||
MIDIFILTER_VERSION=$(curl -s -S http://gareus.org/x42/osx/x42-midifilter.latest.txt)
|
MIDIFILTER_VERSION=$(curl -s -S http://gareus.org/x42/osx/x42-midifilter.latest.txt)
|
||||||
curl -s http://gareus.org/x42/osx/x42-midifilter-lv2-osx-${MIDIFILTER_VERSION}.zip \
|
rsync -a -q --partial \
|
||||||
| bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf -
|
rsync://gareus.org/x42/osx/x42-midifilter-lv2-osx-${MIDIFILTER_VERSION}.zip \
|
||||||
|
"$CACHEDIR/x42-midifilter-lv2-osx-${MIDIFILTER_VERSION}.zip"
|
||||||
|
bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf \
|
||||||
|
"$CACHEDIR/x42-midifilter-lv2-osx-${MIDIFILTER_VERSION}.zip"
|
||||||
|
|
||||||
for file in ${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/*/*.dylib ; do
|
for file in ${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/*/*.dylib ; do
|
||||||
lipo -thin ${OSX_ARCH} ${file} -output ${file}.thin
|
lipo -thin ${OSX_ARCH} ${file} -output ${file}.thin
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue