Tweak macOS packaging
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
95ceb4546d
commit
466c8d4235
6 changed files with 48 additions and 13 deletions
|
@ -34,12 +34,14 @@ pkgbuild \
|
|||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.jack" \
|
||||
--component-plist "../utils/macOS/Build_JACK.plist" \
|
||||
--install-location "/Applications/" \
|
||||
--root "${PWD}/jack/" \
|
||||
../dpf-cardinal-jack.pkg
|
||||
|
||||
pkgbuild \
|
||||
--identifier "studio.kx.distrho.plugins.cardinal.native" \
|
||||
--component-plist "../utils/macOS/Build_Native.plist" \
|
||||
--install-location "/Applications/" \
|
||||
--root "${PWD}/native/" \
|
||||
../dpf-cardinal-native.pkg
|
||||
|
@ -77,7 +79,6 @@ pkgbuild \
|
|||
cd ..
|
||||
|
||||
sed -e "s|@builddir@|${PWD}/build|" \
|
||||
-e "s|@buildarchs@|${MACOS_ARCHS}|" \
|
||||
utils/macOS/package.xml.in > build/package.xml
|
||||
|
||||
productbuild \
|
||||
|
|
18
utils/macOS/Build_JACK.plist
Normal file
18
utils/macOS/Build_JACK.plist
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array>
|
||||
<dict>
|
||||
<key>BundleHasStrictIdentifier</key>
|
||||
<true/>
|
||||
<key>BundleIsRelocatable</key>
|
||||
<false/>
|
||||
<key>BundleIsVersionChecked</key>
|
||||
<false/>
|
||||
<key>BundleOverwriteAction</key>
|
||||
<string>upgrade</string>
|
||||
<key>RootRelativeBundlePath</key>
|
||||
<string>Cardinal.app</string>
|
||||
</dict>
|
||||
</array>
|
||||
</plist>
|
18
utils/macOS/Build_Native.plist
Normal file
18
utils/macOS/Build_Native.plist
Normal file
|
@ -0,0 +1,18 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<array>
|
||||
<dict>
|
||||
<key>BundleHasStrictIdentifier</key>
|
||||
<true/>
|
||||
<key>BundleIsRelocatable</key>
|
||||
<false/>
|
||||
<key>BundleIsVersionChecked</key>
|
||||
<false/>
|
||||
<key>BundleOverwriteAction</key>
|
||||
<string>upgrade</string>
|
||||
<key>RootRelativeBundlePath</key>
|
||||
<string>CardinalNative.app</string>
|
||||
</dict>
|
||||
</array>
|
||||
</plist>
|
|
@ -3,31 +3,31 @@
|
|||
<title>Cardinal</title>
|
||||
<domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" />
|
||||
<license file="@builddir@/../LICENSE" mime-type="text/plain" />
|
||||
<options customize="always" hostArchitectures="@buildarchs@" require-scripts="false" rootVolumeOnly="true" />
|
||||
<options customize="always" hostArchitectures="arm64,x86_64" require-scripts="false" rootVolumeOnly="true" />
|
||||
<pkg-ref id="studio.kx.distrho.cardinal" />
|
||||
<welcome file="@builddir@/../utils/macOS/welcome.txt" mime-type="text/plain" />
|
||||
<choice id="studio.kx.distrho.cardinal-res" title="Resources" description="Install resources" visible="false">
|
||||
<choice id="studio.kx.distrho.cardinal-res" title="Resources" description="Install resources" visible="true" enabled="false" selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-resources" version="0">dpf-cardinal-resources.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-jack" title="Standalone (JACK)" description="Install Standalone for usage with JACK. See https://jackaudio.org/ for details." visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-jack" title="Standalone (JACK)" description="Install Standalone for usage with JACK. See https://jackaudio.org/ for details." visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-jack" version="0">dpf-cardinal-jack.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-native" title="Standalone (Native)" description="Install Standalone that uses native Audio and MIDI" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-native" title="Standalone (Native)" description="Install Standalone that uses native Audio and MIDI" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-native" version="0">dpf-cardinal-native.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-au" title="AU" description="Install AU plugins" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-au" title="AU" description="Install AU plugins" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-components" version="0">dpf-cardinal-components.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-lv2" title="LV2" description="Install LV2 plugins" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-lv2" title="LV2" description="Install LV2 plugins" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-lv2bundles" version="0">dpf-cardinal-lv2bundles.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-vst2" title="VST2" description="Install VST2 plugins" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-vst2" title="VST2" description="Install VST2 plugins" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-vst2bundles" version="0">dpf-cardinal-vst2bundles.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-vst3" title="VST3" description="Install VST3 plugins" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-vst3" title="VST3" description="Install VST3 plugins" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-vst3bundles" version="0">dpf-cardinal-vst3bundles.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choice id="studio.kx.distrho.cardinal-clap" title="CLAP" description="Install CLAP plugins" visible="true">
|
||||
<choice id="studio.kx.distrho.cardinal-clap" title="CLAP" description="Install CLAP plugins" visible="true" start_selected="true">
|
||||
<pkg-ref id="studio.kx.distrho.cardinal-clapbundles" version="0">dpf-cardinal-clapbundles.pkg</pkg-ref>
|
||||
</choice>
|
||||
<choices-outline>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue