Skip to content

Commit

Permalink
added LV2 support for linux build
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Chappell committed Nov 26, 2023
1 parent 87566d9 commit 7bd7873
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
8 changes: 7 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ if (APPLE)
list (APPEND FormatsToBuild AU)
endif()

# On Linux, LV2 will be built too
if (UNIX)
list (APPEND FormatsToBuild LV2)
endif()

# If you are building a VST2 or AAX plugin, CMake needs to be told where to find these SDKs on your
# system. This setup should be done before calling `juce_add_plugin`.

Expand Down Expand Up @@ -161,7 +166,8 @@ function(sono_add_custom_plugin_target target_name product_name formats is_instr
VST3_CATEGORIES "${vst3cats}"
AAX_CATEGORY "AAX_ePlugInCategory_None"


LV2URI "https://sonobus.net/lv2/sonobus"

# mac settings
HARDENED_RUNTIME_ENABLED TRUE
HARDENED_RUNTIME_OPTIONS "com.apple.security.device.audio-input"
Expand Down
8 changes: 8 additions & 0 deletions linux/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,5 +39,13 @@ if [ -d ${INSTBUILDDIR}/VST3/SonoBusInstrument.vst3 ] ; then
echo "SonoBus VST3i plugin installed"
fi

if [ -d ${BUILDDIR}/LV2/SonoBus.lv2 ] ; then
mkdir -p ${PREFIX}/lib/lv2
cp -a ${BUILDDIR}/LV2/SonoBus.lv2 ${PREFIX}/lib/lv2/

echo "SonoBus LV2 plugin installed"
fi


echo "SonoBus application installed"

0 comments on commit 7bd7873

Please sign in to comment.