Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
spencersalazar committed Aug 30, 2017
1 parent eab6c2b commit d53422b
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 23 deletions.
25 changes: 13 additions & 12 deletions installer/Distribution.xml
Original file line number Diff line number Diff line change
@@ -1,25 +1,26 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<installer-gui-script minSpecVersion="1">

<pkg-ref id="edu.calarts.mtiid.ChuckRacks"/>

<title>ChuckRacks</title>

<pkg-ref id="edu.calarts.mtiid.ChuckRacks.vst" />
<pkg-ref id="edu.calarts.mtiid.ChuckRacks.au" />

<title>Chuck Racks</title>
<background file="chuck_logo.png" alignment="topleft" scaling="none"/>
<allowed-os-versions><os-version min="10.5"/></allowed-os-versions>
<allowed-os-versions><os-version min="10.10"/></allowed-os-versions>
<options customize="allow" require-scripts="false"/>
<choices-outline>
<line choice="edu.calarts.mtiid.ChuckRacks.vst"/>
<line choice="edu.calarts.mtiid.ChuckRacks.au"/>
</choices-outline>

<choice id="edu.calarts.mtiid.ChuckRacks.vst" title="ChuckRacks (VST)" description="Music programming => your DAW (VST version).">
<pkg-ref id="edu.stanford.ChuckRacks.vst"/>
<choice id="edu.calarts.mtiid.ChuckRacks.vst" title="Chuck Racks (VST)" description="Music programming => your DAW (VST version).">
<pkg-ref id="edu.calarts.mtiid.ChuckRacks.vst"/>
</choice>
<pkg-ref id="edu.stanford.ChuckRacks.vst" version="0" onConclusion="none">ChuckRacks.vst.pkg</pkg-ref>
<choice id="edu.calarts.mtiid.ChuckRacks.au" title="ChuckRacks (AU)" description="Music programming => your DAW (AudioUnit version).">
<pkg-ref id="edu.stanford.ChuckRacks.au"/>
<pkg-ref id="edu.calarts.mtiid.ChuckRacks.vst" version="0" onConclusion="none">ChuckRacks.vst.pkg</pkg-ref>

<choice id="edu.calarts.mtiid.ChuckRacks.au" title="Chuck Racks (AU)" description="Music programming => your DAW (Audio Unit version).">
<pkg-ref id="edu.calarts.mtiid.ChuckRacks.au"/>
</choice>
<pkg-ref id="edu.stanford.ChuckRacks.au" version="0" onConclusion="none">ChuckRacks.component.pkg</pkg-ref>
<pkg-ref id="edu.calarts.mtiid.ChuckRacks.au" version="0" onConclusion="none">ChuckRacks.component.pkg</pkg-ref>

</installer-gui-script>
21 changes: 10 additions & 11 deletions installer/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@ BUILD_ROOT=$(SRC_ROOT)/Builds/MacOSX
PRODUCTS_ROOT=$(BUILD_ROOT)/build/Release

PRODUCT_NAME=ChuckRacks
PRODUCT_VERSION=1.0
PRODUCT_VERSION=0.9-beta
INSTALLER=$(PRODUCT_NAME)-$(PRODUCT_VERSION).pkg

XCODE_PROJECT=ChuckRacks.xcodeproj
XCODE_TARGET_VST="ChuckRacks - VST"
XCODE_TARGET_AU="ChuckRacks - AU"
XCODE_TARGET_SHARED="ChuckRacks - All"
XCODE_CONFIGURATION=Release

PLUGIN_VST=$(PRODUCT_NAME).vst
PLUGIN_AU=$(PRODUCT_NAME).component
PLUGINS=$(PLUGIN_VST) $(PLUGIN_AU)

VST_PKG=$(PLUGIN_VST).pkg
AU_PKG=$(PLUGIN_AU).pkg
Expand Down Expand Up @@ -41,15 +43,15 @@ $(VST_PKG): %.pkg: %
rm -rf $<.tmp/$(VST_DIR)
mkdir -p $<.tmp/$(VST_DIR)
cp -afRL $< $<.tmp/$(VST_DIR)
pkgbuild --root $<.tmp --identifier $(IDENTIFIER_BASE).$(basename $<) $@
rm -rf $<.tmp
pkgbuild --root $<.tmp --identifier $(IDENTIFIER_BASE).$< $@
# rm -rf $<.tmp

$(AU_PKG): %.pkg: %
rm -rf $<.tmp/$(AU_DIR)
mkdir -p $<.tmp/$(AU_DIR)
cp -afRL $< $<.tmp/$(AU_DIR)
pkgbuild --root $<.tmp --identifier $(IDENTIFIER_BASE).$(basename $<) $@
rm -rf $<.tmp
pkgbuild --root $<.tmp --identifier $(IDENTIFIER_BASE).$< $@
# rm -rf $<.tmp

$(PLUGIN_VST):
xcodebuild -project $(BUILD_ROOT)/$(XCODE_PROJECT)/ -target $(XCODE_TARGET_VST) -configuration $(XCODE_CONFIGURATION)
Expand All @@ -64,13 +66,10 @@ $(PLUGIN_AU):
touch $@

clean:
rm -rf $(PLUGINS) $(PLUGIN_PKGS) $(INSTALLER)
rm -rf $(PLUGIN_PKGS) $(INSTALLER)

clean-vst:
clean-all: clean clean-vst clean-au
xcodebuild clean -project $(BUILD_ROOT)/$(XCODE_PROJECT)/ -target $(XCODE_TARGET_SHARED) -configuration $(XCODE_CONFIGURATION)
xcodebuild clean -project $(BUILD_ROOT)/$(XCODE_PROJECT)/ -target $(XCODE_TARGET_VST) -configuration $(XCODE_CONFIGURATION)

clean-au:
xcodebuild clean -project $(BUILD_ROOT)/$(XCODE_PROJECT)/ -target $(XCODE_TARGET_AU) -configuration $(XCODE_CONFIGURATION)

clean-all: clean clean-vst clean-au

0 comments on commit d53422b

Please sign in to comment.