Browse Source

Show description for carla-plugins pkg

tags/v2.3.0-RC1
falkTX 3 years ago
parent
commit
6eb2eaa39d
2 changed files with 12 additions and 4 deletions
  1. +10
    -2
      Makefile.dist.mk
  2. +2
    -2
      data/macos/package.xml

+ 10
- 2
Makefile.dist.mk 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" \


+ 2
- 2
data/macos/package.xml 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>


Loading…
Cancel
Save