diff --git a/utils/generate-vst-bundles.sh b/utils/generate-vst-bundles.sh new file mode 100755 index 00000000..75fab51f --- /dev/null +++ b/utils/generate-vst-bundles.sh @@ -0,0 +1,33 @@ +#!/bin/bash + +set -e + +if [ -d bin ]; then + cd bin +else + echo "Please run this script from the root folder" + exit +fi + +PWD=`pwd` + +if [ ! -d /Developer ]; then + echo "This doesn't seem to be OSX, please stop!" + exit 0 +fi + +rm -r *.vst/ + +PLUGINS=`ls | grep vst.dylib` + +for i in $PLUGINS; do + FILE=`echo $i | awk 'sub("-vst.dylib","")'` + cp -r ../dpf/utils/plugin.vst/ $FILE.vst + mv $i $FILE.vst/Contents/MacOS/$FILE + rm -f $FILE.vst/Contents/MacOS/deleteme + sed -i -e "s/X-PROJECTNAME-X/$FILE/" $FILE.vst/Contents/Info.plist + rm -f $FILE.vst/Contents/Info.plist-e + SetFile -a B $FILE.vst +done + +cd ../../ diff --git a/utils/plugin.vst/Contents/Info.plist b/utils/plugin.vst/Contents/Info.plist new file mode 100644 index 00000000..df723b55 --- /dev/null +++ b/utils/plugin.vst/Contents/Info.plist @@ -0,0 +1,24 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleExecutable + X-PROJECTNAME-X + CFBundleIconFile + + CFBundleIdentifier + net.sf.distrho.X-PROJECTNAME-X + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + BNDL + CFBundleSignature + ???? + CFBundleVersion + 1.0 + CSResourcesFileMapped + + + diff --git a/utils/plugin.vst/Contents/MacOS/deleteme b/utils/plugin.vst/Contents/MacOS/deleteme new file mode 100644 index 00000000..8d1c8b69 --- /dev/null +++ b/utils/plugin.vst/Contents/MacOS/deleteme @@ -0,0 +1 @@ + diff --git a/utils/plugin.vst/Contents/PkgInfo b/utils/plugin.vst/Contents/PkgInfo new file mode 100644 index 00000000..43c9cb0f --- /dev/null +++ b/utils/plugin.vst/Contents/PkgInfo @@ -0,0 +1 @@ +BNDL???? diff --git a/utils/plugin.vst/Contents/Resources/empty.lproj b/utils/plugin.vst/Contents/Resources/empty.lproj new file mode 100644 index 00000000..e69de29b