make it possible to bundle harrison plugins; osx version (disabled for now)
authorBen Loftis <ben@harrisonconsoles.com>
Fri, 30 Jan 2015 17:46:06 +0000 (11:46 -0600)
committerBen Loftis <ben@harrisonconsoles.com>
Fri, 30 Jan 2015 17:46:06 +0000 (11:46 -0600)
tools/osx_packaging/osx_build

index ec93de0274a7677b85925473472f231bffb7d148..fffd70c10ac9aea21fae13676c4d7920a7dedff4 100755 (executable)
@@ -17,6 +17,7 @@ mkdir -p "$CACHEDIR"
 SAE=
 MIXBUS=
 WITH_HARVID=1
+WITH_HARRISON_LV2=
 WITH_LADSPA=1
 STRIP=1
 PRINT_SYSDEPS=
@@ -574,6 +575,16 @@ else
 
 fi
 
+if test x$WITH_HARRISON_LV2 != x ; then
+       if file ${PRODUCT_PKG_DIR}/$APPROOT/MacOS/$MAIN_EXECUTABLE | grep -q x86_64; then
+               OSX_ARCH=osx64
+       else 
+               OSX_ARCH=osx32
+       fi
+       curl -s http://www.harrisonconsoles.com/mixbus/mb3/${OSX_ARCH}/harrison_lv2s.zip \
+               | bsdtar -C "${PRODUCT_PKG_DIR}/${APPROOT}/lib/LV2/" -xf -
+fi
+
 if test x$WITH_HARVID != x ; then
        echo "installing video tools.."
        HARVID_VERSION=$(curl -s -S http://ardour.org/files/video-tools/harvid_version.txt)