add lv2core to bundles

The ontology is needed for plugin classification.
This commit is contained in:
Robin Gareus 2015-01-28 23:08:06 +01:00
parent 9f93df0313
commit bc3f606e16
3 changed files with 20 additions and 0 deletions

View File

@ -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

View File

@ -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

View File

@ -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