Packaging fixes (#192)
* Start cleanup for improved packaging Signed-off-by: falkTX <falktx@falktx.com> * Use the same folder for VST2 plugins Signed-off-by: falkTX <falktx@falktx.com> * Fix static build Signed-off-by: falkTX <falktx@falktx.com> * Do not set source-dir in CI builds Signed-off-by: falkTX <falktx@falktx.com> * Set a custom fallback systemdir per OS Signed-off-by: falkTX <falktx@falktx.com> * CI tweaks Signed-off-by: falkTX <falktx@falktx.com> * Build the whole pyqt on windows Signed-off-by: falkTX <falktx@falktx.com> * Mention AU in readme and differences docs Signed-off-by: falkTX <falktx@falktx.com> * Add specialized utils for macOS packaging Signed-off-by: falkTX <falktx@falktx.com> * Fix plugin-validation build Signed-off-by: falkTX <falktx@falktx.com> * Fix build Signed-off-by: falkTX <falktx@falktx.com> * Do not create window for lv2lint tests * Start enabling AU builds * Copy over mod.lv2 specs for validation * Skip main cardinal lv2lint, the custom CVPorts are not supported * au build needs carla * More CI tweaks * Build headless version for plugin validation * Fix typo * Only show missing resources error message once Signed-off-by: falkTX <falktx@falktx.com> * Fallback to system path even if using a plugin bundle Signed-off-by: falkTX <falktx@falktx.com> * CI fixes, build full carla on Windows Signed-off-by: falkTX <falktx@falktx.com> * Rename script Signed-off-by: falkTX <falktx@falktx.com> * Silly typo Signed-off-by: falkTX <falktx@falktx.com> * More CI tweaks, add windows installer Signed-off-by: falkTX <falktx@falktx.com> * Setup Carla paths for Windows Signed-off-by: falkTX <falktx@falktx.com> * Yet more tweaks Signed-off-by: falkTX <falktx@falktx.com> * Package carla on windows, use xvfb-run Signed-off-by: falkTX <falktx@falktx.com> * Test win32 build too Signed-off-by: falkTX <falktx@falktx.com> * Finalize rework Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
dbefe13bfb
commit
a1017be6ea
22 changed files with 430 additions and 90 deletions
67
utils/create-macos-installer.sh
Executable file
67
utils/create-macos-installer.sh
Executable file
|
@ -0,0 +1,67 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
if [ -d bin ]; then
|
||||
cd bin
|
||||
else
|
||||
echo "Please run this script from the root folder"
|
||||
exit
|
||||
fi
|
||||
|
||||
rm -rf res
|
||||
rm -rf au
|
||||
rm -rf lv2
|
||||
rm -rf vst2
|
||||
rm -rf vst3
|
||||
|
||||
mkdir au lv2 vst2 vst3
|
||||
mv *.component au/
|
||||
mv *.lv2 lv2/
|
||||
mv *.vst vst2/
|
||||
mv *.vst3 vst3/
|
||||
cp -RL lv2/Cardinal.lv2/resources res
|
||||
rm -rf lv2/*.lv2/resources
|
||||
rm -rf vst2/*.vst/Contents/Resources
|
||||
rm -rf vst3/*.vst3/Contents/Resources
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.cardinal.resources" \
|
||||
--install-location "/Library/Application Support/Cardinal/" \
|
||||
--root "${PWD}/res/" \
|
||||
../dpf-cardinal-resources.pkg
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.components" \
|
||||
--install-location "/Library/Audio/Plug-Ins/Components/" \
|
||||
--root "${PWD}/au/" \
|
||||
../dpf-cardinal-components.pkg
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.lv2bundles" \
|
||||
--install-location "/Library/Audio/Plug-Ins/LV2/" \
|
||||
--root "${PWD}/lv2/" \
|
||||
../dpf-cardinal-lv2bundles.pkg
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.vst2bundles" \
|
||||
--install-location "/Library/Audio/Plug-Ins/VST/" \
|
||||
--root "${PWD}/vst2/" \
|
||||
../dpf-cardinal-vst2bundles.pkg
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.vst3bundles" \
|
||||
--install-location "/Library/Audio/Plug-Ins/VST3/" \
|
||||
--root "${PWD}/vst3/" \
|
||||
../dpf-cardinal-vst3bundles.pkg
|
||||
|
||||
cd ..
|
||||
|
||||
sed -e "s|@builddir@|${PWD}/build|" utils/plugin.pkg/package.xml.in > build/package.xml
|
||||
|
||||
productbuild \
|
||||
--distribution build/package.xml \
|
||||
--identifier "studio.kx.distrho.cardinal" \
|
||||
--package-path "${PWD}" \
|
||||
--version 0 \
|
||||
Cardinal-macOS.pkg
|
Loading…
Add table
Add a link
Reference in a new issue