diff --git a/.github/workflows/build-linux.yml b/.github/workflows/build-linux.yml index c09c829..0f0f9f0 100644 --- a/.github/workflows/build-linux.yml +++ b/.github/workflows/build-linux.yml @@ -33,9 +33,10 @@ jobs: path: | ${{github.workspace}}/build/blocks_artefacts/Release/Standalone ${{github.workspace}}/build/blocks_artefacts/Release/VST3 + ${{github.workspace}}/build/blocks_artefacts/Release/LV2 upload-to-s3: needs: build uses: ./.github/workflows/upload-to-s3.yml secrets: inherit - with: + with: file-name: blocks_linux diff --git a/.github/workflows/build-macos-13.yml b/.github/workflows/build-macos-13.yml index 60fe48d..28d6643 100644 --- a/.github/workflows/build-macos-13.yml +++ b/.github/workflows/build-macos-13.yml @@ -32,18 +32,21 @@ jobs: codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3 --deep --strict --options=runtime --timestamp + codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2 --deep --strict --options=runtime --timestamp - name: Create DMG, Notarize and Staple (macOS) run: | npm install -g appdmg mkdir -p packaging/dmg # Create directories for the dmg symlinks - sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Applications + sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/lv2 && sudo mkdir -m 755 -p /Applications ln -s /Library/Audio/Plug-Ins/Components "packaging/dmg/Your Mac's Component folder" ln -s /Library/Audio/Plug-Ins/VST3 "packaging/dmg/Your Mac's VST3 folder" + ln -s /Library/Audio/Plug-Ins/LV2 "packaging/dmg/Your Mac's LV2 folder" ln -s /Applications "packaging/dmg/Your Mac's Applications folder" mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3" packaging/dmg + mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app" packaging/dmg diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml index 47ac232..b279e71 100644 --- a/.github/workflows/build-macos.yml +++ b/.github/workflows/build-macos.yml @@ -34,18 +34,21 @@ jobs: codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component --deep --strict --options=runtime --timestamp codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3 --deep --strict --options=runtime --timestamp + codesign --force -s "${{ secrets.DEVELOPER_ID_APPLICATION }}" -v /Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2 --deep --strict --options=runtime --timestamp - name: Create DMG, Notarize and Staple (macOS) run: | npm install -g appdmg mkdir -p packaging/dmg # Create directories for the dmg symlinks - sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Applications + sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/Components && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/VST3 && sudo mkdir -m 755 -p /Library/Audio/Plug-Ins/LV2 && sudo mkdir -m 755 -p /Applications ln -s /Library/Audio/Plug-Ins/Components "packaging/dmg/Your Mac's Component folder" ln -s /Library/Audio/Plug-Ins/VST3 "packaging/dmg/Your Mac's VST3 folder" + ln -s /Library/Audio/Plug-Ins/LV2 "packaging/dmg/Your Mac's LV2 folder" ln -s /Applications "packaging/dmg/Your Mac's Applications folder" mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3" packaging/dmg + mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/AU/blocks.component" packaging/dmg mv "/Users/runner/work/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.app" packaging/dmg @@ -63,5 +66,5 @@ jobs: needs: build uses: ./.github/workflows/upload-to-s3.yml secrets: inherit - with: - file-name: blocks_mac.dmg \ No newline at end of file + with: + file-name: blocks_mac.dmg diff --git a/.github/workflows/build-windows.yml b/.github/workflows/build-windows.yml index 914a26d..84031fc 100644 --- a/.github/workflows/build-windows.yml +++ b/.github/workflows/build-windows.yml @@ -28,6 +28,7 @@ jobs: name: blocks_win path: | D:/a/blocks/blocks/build/blocks_artefacts/Release/VST3/blocks.vst3/Contents/x86_64-win/blocks.vst3 + D:/a/blocks/blocks/build/blocks_artefacts/Release/LV2/blocks.lv2 D:/a/blocks/blocks/build/blocks_artefacts/Release/Standalone/blocks.exe upload-to-s3: needs: build diff --git a/CMakeLists.txt b/CMakeLists.txt index 1173190..a24b379 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,8 +59,9 @@ juce_add_plugin(blocks PLUGIN_MANUFACTURER_CODE Soon # A four-character manufacturer id with at least one upper-case character PLUGIN_CODE Bloc # A unique four-character plugin id with exactly one upper-case character # GarageBand 10.3 requires the first letter to be upper-case, and the remaining letters to be lower-case - FORMATS AU VST3 Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3 - PRODUCT_NAME "blocks") # The name of the final executable, which can differ from the target name + FORMATS AU VST3 LV2 Standalone # The formats to build. Other valid formats are: AAX Unity VST AU AUv3 + PRODUCT_NAME "blocks" # The name of the final executable, which can differ from the target name + LV2URI "https://github.com/dan-german/blocks") # `juce_generate_juce_header` will create a JuceHeader.h for a given target, which will be generated # into your build tree. This should be included with `#include `. The include path for