From bc3f606e16280855790ebfb4e60b827ba290766e Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 28 Jan 2015 23:08:06 +0100 Subject: add lv2core to bundles The ontology is needed for plugin classification. --- tools/linux_packaging/build | 7 +++++++ tools/osx_packaging/osx_build | 8 ++++++++ tools/x-win/package.sh | 5 +++++ 3 files changed, 20 insertions(+) (limited to 'tools') 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 /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 /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 -- cgit v1.2.3