-
Notifications
You must be signed in to change notification settings - Fork 251
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Normalize VST2 builds, introduce 0.9.6
- Loading branch information
Showing
8 changed files
with
46 additions
and
50 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
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,27 @@ | ||
#!/bin/bash | ||
|
||
if [[ "$OSTYPE" == "darwin"* ]]; then | ||
PROJUCER=assets/JUCE/Projucer.app/Contents/MacOS/Projucer | ||
else | ||
PROJUCER=assets/JUCE/Projucer | ||
fi | ||
|
||
if ! [ -x $PROJUCER ]; then | ||
echo "Projucer was not found, please check the asset directory and why the Projucer executable is not there." | ||
exit 1 | ||
fi | ||
|
||
if [ -z $VST2SDK_DIR ]; then | ||
echo "Generating build for VST3" | ||
$PROJUCER --resave Dexed.jucer | ||
else | ||
echo "Generating build for VST2" | ||
sed -e 's/,buildVST3/,buildVST,buildVST3/' Dexed.jucer | \ | ||
sed -e "s@VST2SDK_DIR@${VST2SDK_DIR}@" | \ | ||
sed -e 's/PLUGINHOST_VST="0"/PLUGINHOST_VST="1"/' | \ | ||
sed -e 's/buildVST="0"/buildVST="1"/' > Dexed-vst2.jucer | ||
mv Dexed.jucer Dexed-orig.jucer | ||
mv Dexed-vst2.jucer Dexed.jucer | ||
$PROJUCER --resave Dexed.jucer | ||
mv Dexed-orig.jucer Dexed.jucer | ||
fi |