summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2015-01-28 23:08:06 +0100
committerRobin Gareus <robin@gareus.org>2015-01-28 23:08:06 +0100
commitbc3f606e16280855790ebfb4e60b827ba290766e (patch)
tree10419c5070cb376d836670d4c2ad1bc19add299b /tools
parent9f93df03137616cadadbd7ec1187fe183016536b (diff)
add lv2core to bundles
The ontology is needed for plugin classification.
Diffstat (limited to 'tools')
-rwxr-xr-xtools/linux_packaging/build7
-rwxr-xr-xtools/osx_packaging/osx_build8
-rwxr-xr-xtools/x-win/package.sh5
3 files changed, 20 insertions, 0 deletions
diff --git a/tools/linux_packaging/build b/tools/linux_packaging/build
index 33baf12ac7..6a57f1059a 100755
--- a/tools/linux_packaging/build
+++ b/tools/linux_packaging/build
@@ -566,6 +566,13 @@ fi
# install bundled LV2s to <app>/lib/LV2/
cp -R $BUILD_ROOT/libs/LV2 $APPLIB/
+# lv2 core, classifications etc - TODO check if we need the complete LV2 ontology
+if test -d $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
+ cp -R $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 $APPLIB/LV2/
+elif test -d $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
+ cp -R $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 $APPLIB/LV2/
+fi
+
# go through and recursively remove any .svn dirs in the bundle
for svndir in `find $APPDIR -name .svn -type d`; do
rm -rf $svndir
diff --git a/tools/osx_packaging/osx_build b/tools/osx_packaging/osx_build
index 4373201ea2..ec93de0274 100755
--- a/tools/osx_packaging/osx_build
+++ b/tools/osx_packaging/osx_build
@@ -472,6 +472,14 @@ done
# install bundled LV2s to <app>/Contents/lib/LV2/
cp -R $BUILD_ROOT/libs/LV2 $Frameworks/
+# lv2 core, classifications etc - TODO check if we need the complete LV2 ontology
+if test -d $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
+ cp -R $ARDOURSTACK_ROOT/lib/lv2/lv2core.lv2 $Frameworks/LV2/
+elif test -d $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 ; then
+ cp -R $GTKSTACK_ROOT/lib/lv2/lv2core.lv2 $Frameworks/LV2/
+fi
+
+
# now fix up the executables
echo "Fixing up executable dependency names ..."
executables=$MAIN_EXECUTABLE
diff --git a/tools/x-win/package.sh b/tools/x-win/package.sh
index d50a86c7e2..4bd434beb9 100755
--- a/tools/x-win/package.sh
+++ b/tools/x-win/package.sh
@@ -122,6 +122,11 @@ cp `find build/libs/panners/ -iname "*.dll"` $ALIBDIR/panners/
cp -r build/libs/LV2 $ALIBDIR/
cp -r build/libs/vamp-plugins/*ardourvampplugins*.dll $ALIBDIR/vamp/libardourvampplugins.dll
+# lv2 core, classifications etc - TODO check if we need the complete LV2 ontology
+if test -d $PREFIX/lib/lv2/lv2core.lv2 ; then
+ cp -R $PREFIX/lib/lv2/lv2core.lv2 $ALIBDIR/LV2/
+fi
+
mv $ALIBDIR/surfaces/ardourcp-*.dll $DESTDIR/bin/
# TODO use -static-libgcc -static-libstdc++ -- but for .exe files only