unconditionally include gmsynth.lv2 in bundles (and avldrums with MB)
authorRobin Gareus <robin@gareus.org>
Mon, 30 Jan 2017 15:42:50 +0000 (16:42 +0100)
committerRobin Gareus <robin@gareus.org>
Mon, 30 Jan 2017 15:42:50 +0000 (16:42 +0100)
tools/linux_packaging/build
tools/osx_packaging/osx_build
tools/x-win/package.sh

index 17bdfb2cc70ac33163df0b156835d694e4e306ee..a08e420d05a16b342549a9e12024a284b55f9cda 100755 (executable)
@@ -699,12 +699,27 @@ if test -n "$MIXBUS"; then
        chmod +x $APPLIB/harrison_vamp.so
 fi
 
+if true ; then
+       mkdir -p $APPLIB/LV2
+
+       echo "Adding General MIDI Synth LV2"
+
+       for proj in x42-gmsynth ; 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
+
+
 if test x$WITH_X42_LV2 != x ; then
        mkdir -p $APPLIB/LV2
 
        echo "Adding x42 Plugins"
 
-       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do
+       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree x42-avldrums; 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 \
index a9343640ff826c8007929cdcfce78a5da9324421..e7b9638ad92dd23143f657d2a4d3997c065e3054 100755 (executable)
@@ -686,11 +686,31 @@ fi
 
 ################################################################################
 ### Mixbus plugins, etc
+if true; then
+       echo "Bundling General MIDI Synth LV2"
+       mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2"
+
+       for proj in x42-gmsynth; 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
+               mv ${file}.thin ${file}
+       done
+
+fi
+
 if test x$WITH_X42_LV2 != x ; then
        echo "bundling x42 plugins"
        mkdir -p "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2"
 
-       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do
+       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree x42-avldrums; 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 \
index 7307b33e0eaaa7f86f2797df53fd446adb17deeb..a0f863444064f67adfcb6bf7d965d0e2d070d7bd 100755 (executable)
@@ -248,12 +248,26 @@ fi
 
 ################################################################################
 ### Mixbus plugins, etc
+if true ; then
+       mkdir -p $ALIBDIR/LV2
+
+       echo "Adding General MIDI Synth LV2"
+
+       for proj in x42-gmsynth; 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_X42_LV2 != x ; then
        mkdir -p $ALIBDIR/LV2
 
        echo "Adding x42 Plugins"
 
-       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree; do
+       for proj in x42-meters x42-midifilter x42-midimap x42-stereoroute x42-eq setBfree x42-avldrums; 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 \