forked from surge-synthesizer/surge
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VST3 on Linux packages and installs (surge-synthesizer#646)
VST3 on Linux requires a mac-like bundle, as described in the VST3 documentation vst3sdk/doc/vstinterfaces/vst3loc.html. These changes move VST3 from a raw dll to a bundle using the same techniques we use on macOS. Since we bake the images and so on into the bundle, the bundle contains only the DLL. With this change, bitwig studio will load our VST3, but it crashes if you open the UI and gives corrupted parameter names. But we are able to begin to debug. Addresses part of surge-synthesizer#514 Former-commit-id: 2f4e1b3d64624c7b9c046af41ad004986be98b49 [formerly 47fe976] Former-commit-id: 19718ab93becd95200eac7b81fcaa914c6fa8883 Former-commit-id: 96557f18f5c1814dbde4dcab427c909b1fa5cc04
- Loading branch information
Showing
3 changed files
with
21 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
OUTPUT_DIR=products | ||
BUNDLE_NAME="Surge.vst3" | ||
BUNDLE_DIR="$OUTPUT_DIR/$BUNDLE_NAME" | ||
|
||
echo "Creating Linux VST3 Bundle..." | ||
|
||
# create basic bundle structure | ||
|
||
if test -d "$BUNDLE_DIR"; then | ||
rm -rf "$BUNDLE_DIR" | ||
fi | ||
|
||
VST_SO_DIR="$BUNDLE_DIR/Contents/x86_64-linux" | ||
mkdir -p "$VST_SO_DIR" | ||
cp target/vst3/Release/Surge.so "$VST_SO_DIR" |