From 4e2efa22d588c391e75fef4a7bfcc9168f4c3555 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 6 Jun 2016 20:19:47 +0200 Subject: [PATCH] mixbus x42-plugins bundle update include stereo-route and midi-map --- tools/linux_packaging/build | 33 ++++++++++----------------------- tools/osx_packaging/osx_build | 35 ++++++++--------------------------- tools/x-win/package.sh | 30 +++++++----------------------- 3 files changed, 25 insertions(+), 73 deletions(-) diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build index f53d96426c..ae105340b1 100755 --- a/tools/linux_packaging/build +++ b/tools/linux_packaging/build @@ -671,30 +671,17 @@ if test -n "$MIXBUS"; then fi if test x$WITH_X42_LV2 != x ; then - METERS_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-meters.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/linux/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip \ - "${CACHEDIR}/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip" - unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-meters-lv2-linux-${WARCH}-${METERS_VERSION}.zip" - - EQ_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-eq.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/linux/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip \ - "${CACHEDIR}/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip" - unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-eq-lv2-linux-${WARCH}-${EQ_VERSION}.zip" - - SETBFREE_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/setBfree.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/linux/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip \ - "${CACHEDIR}/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip" - unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/setBfree-lv2-linux-${WARCH}-${SETBFREE_VERSION}.zip" - - MIDIFILTER_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/x42-midifilter.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/linux/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip \ - "${CACHEDIR}/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip" - unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/x42-midifilter-lv2-linux-${WARCH}-${MIDIFILTER_VERSION}.zip" + mkdir -p $APPLIB/LV2 + + echo "Adding x42 Plugins" + for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do + X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/linux/${proj}.latest.txt) + rsync -a -q --partial \ + rsync://x42-plugins.com/x42/linux/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip \ + "${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip" + unzip -q -d "$APPLIB/LV2/" "${CACHEDIR}/${proj}-lv2-linux-${WARCH}-${X42_VERSION}.zip" + done fi ################################################################################ diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build index 2ecae4aa6c..a6dd205d5c 100755 --- a/tools/osx_packaging/osx_build +++ b/tools/osx_packaging/osx_build @@ -674,33 +674,14 @@ if test x$WITH_X42_LV2 != x ; then echo "bundling x42 plugins" mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2" - METERS_VERSION=$(curl -s -S http://x42-plugins.com/x42/osx/x42-meters.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/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" - - EQ_VERSION=$(curl -s -S http://x42-plugins.com/x42/osx/x42-eq.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/osx/x42-eq-lv2-osx-${EQ_VERSION}.zip \ - "$CACHEDIR/x42-eq-lv2-osx-${EQ_VERSION}.zip" - bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf \ - "$CACHEDIR/x42-eq-lv2-osx-${EQ_VERSION}.zip" - - SETBFREE_VERSION=$(curl -s -S http://x42-plugins.com/x42/osx/setBfree.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/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://x42-plugins.com/x42/osx/x42-midifilter.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/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 proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do + X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/osx/${proj}.latest.txt) + rsync -a -q --partial \ + rsync://x42-plugins.com/x42/osx/${proj}-lv2-osx-${X42_VERSION}.zip \ + "$CACHEDIR/${proj}-lv2-osx-${X42_VERSION}.zip" + bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf \ + "$CACHEDIR/${proj}-lv2-osx-${X42_VERSION}.zip" + done for file in ${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/*/*.dylib ; do lipo -extract_family ${OSX_ARCH} ${file} -output ${file}.thin diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh index eb46fec83e..501f8fb1cd 100755 --- a/tools/x-win/package.sh +++ b/tools/x-win/package.sh @@ -247,29 +247,13 @@ if test x$WITH_X42_LV2 != x ; then echo "Adding x42 Plugins" - METERS_VERSION=$(curl -s -S http://x42-plugins.com/x42/win/x42-meters.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/win/x42-meters-lv2-${WARCH}-${METERS_VERSION}.zip \ - "${SRCCACHE}/x42-meters-lv2-${WARCH}-${METERS_VERSION}.zip" - unzip -q -d "$ALIBDIR/LV2/" "${SRCCACHE}/x42-meters-lv2-${WARCH}-${METERS_VERSION}.zip" - - EQ_VERSION=$(curl -s -S http://x42-plugins.com/x42/win/x42-eq.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/win/x42-eq-lv2-${WARCH}-${EQ_VERSION}.zip \ - "${SRCCACHE}/x42-eq-lv2-${WARCH}-${EQ_VERSION}.zip" - unzip -q -d "$ALIBDIR/LV2/" "${SRCCACHE}/x42-eq-lv2-${WARCH}-${EQ_VERSION}.zip" - - SETBFREE_VERSION=$(curl -s -S http://x42-plugins.com/x42/win/setBfree.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/win/setBfree-lv2-${WARCH}-${SETBFREE_VERSION}.zip \ - "${SRCCACHE}/setBfree-lv2-${WARCH}-${SETBFREE_VERSION}.zip" - unzip -q -d "$ALIBDIR/LV2/" "${SRCCACHE}/setBfree-lv2-${WARCH}-${SETBFREE_VERSION}.zip" - - MIDIFILTER_VERSION=$(curl -s -S http://x42-plugins.com/x42/win/x42-midifilter.latest.txt) - rsync -a -q --partial \ - rsync://x42-plugins.com/x42/win/x42-midifilter-lv2-${WARCH}-${MIDIFILTER_VERSION}.zip \ - "${SRCCACHE}/x42-midifilter-lv2-${WARCH}-${MIDIFILTER_VERSION}.zip" - unzip -q -d "$ALIBDIR/LV2/" "${SRCCACHE}/x42-midifilter-lv2-${WARCH}-${MIDIFILTER_VERSION}.zip" + for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do + X42_VERSION=$(curl -s -S http://x42-plugins.com/x42/win/${proj}.latest.txt) + rsync -a -q --partial \ + rsync://x42-plugins.com/x42/win/${proj}-lv2-${WARCH}-${X42_VERSION}.zip \ + "${SRCCACHE}/${proj}-lv2-${WARCH}-${X42_VERSION}.zip" + unzip -q -d "$ALIBDIR/LV2/" "${SRCCACHE}/${proj}-lv2-${WARCH}-${X42_VERSION}.zip" + done fi if test x$WITH_HARRISON_LV2 != x ; then -- 2.30.2