Show description for carla-plugins pkg

This commit is contained in:
falkTX 2021-01-10 21:18:33 +00:00
parent 3963ba75b0
commit 6eb2eaa39d
2 changed files with 12 additions and 4 deletions

View File

@ -234,14 +234,22 @@ build/Carla.app/Contents/MacOS/% build/Carla-Control.app/Contents/MacOS/%: bin/%
# ----------------------------------------------------------------------------------------------------------------------------
# Plugin rules
build/Carla-Plugins.pkg: build/carla-lv2.pkg build/carla-vst2fx.pkg build/carla-vst2syn.pkg
MACOS_PACKAGE_EXP = -e 's/version="0"/version="$(VERSION)"/'
ifeq ($(CPU_ARM64),true)
MACOS_PACKAGE_EXP += -e 's/hostArchitectures="x86_64"/hostArchitectures="arm64,x86_64"/'
endif
build/Carla-Plugins.pkg: build/carla-lv2.pkg build/carla-vst2fx.pkg build/carla-vst2syn.pkg build/package.xml
productbuild \
--distribution data/macos/package.xml \
--distribution build/package.xml \
--identifier studio.kx.carla \
--package-path "build" \
--version "$(VERSION)" \
"$@"
build/package.xml: data/macos/package.xml
sed $(MACOS_PACKAGE_EXP) $< > $@
build/carla-lv2.pkg: $(_CARLA_LV2_PLUGIN_FILES:%=build/%)
pkgbuild \
--identifier "studio.kx.carla.lv2" \

View File

@ -4,10 +4,10 @@
<domains enable_anywhere="false" enable_currentUserHome="false" enable_localSystem="true" />
<options customize="always" hostArchitectures="x86_64" require-scripts="false" rootVolumeOnly="true" />
<pkg-ref id="studio.kx.carla" />
<choice id="studio.kx.carla.lv2" title="LV2 plugin" visible="true">
<choice id="studio.kx.carla.lv2" title="LV2 plugin" description='Carla as LV2 plugin' visible="true">
<pkg-ref id="studio.kx.carla.lv2" version="0">carla-lv2.pkg</pkg-ref>
</choice>
<choice id="studio.kx.carla.vst2" title="VST2 plugin" visible="true">
<choice id="studio.kx.carla.vst2" title="VST2 plugin" description='Carla as VST2 plugin (VST "Shell")' visible="true">
<pkg-ref id="studio.kx.carla.vst2fx" version="0">carla-vst2fx.pkg</pkg-ref>
<pkg-ref id="studio.kx.carla.vst2syn" version="0">carla-vst2syn.pkg</pkg-ref>
</choice>