diff options
author | konablend <[email protected]> | 2009-06-18 20:48:07 +0000 |
---|---|---|
committer | konablend <[email protected]> | 2009-06-18 20:48:07 +0000 |
commit | 9bc7f6cea55af4796aaac35057ca7058456c3e03 (patch) | |
tree | 38a753a2bbdc366270841ae1d1fe9e2315d81b5b /pkg/darwin | |
parent | df54e47eb709cb97075d18e1101e1ce2c464ef75 (diff) |
BuildSystem: appcast updates
- changed appcast URL to add architecture for OSX platform
- added autogen'd appcast.xml during 'make pkg.create'
- added new build of Sparkle 1.5b6 for 4 { i386, x86_64, ppc, ppc64 } which disables security.
- added patch which was used against Sparkle sources.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2569 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/darwin')
-rw-r--r-- | pkg/darwin/module.defs | 3 | ||||
-rw-r--r-- | pkg/darwin/module.rules | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/pkg/darwin/module.defs b/pkg/darwin/module.defs index 33115a2a8..8c88e7dbd 100644 --- a/pkg/darwin/module.defs +++ b/pkg/darwin/module.defs @@ -7,7 +7,10 @@ PKG.gui.tmp.dmg = $(PKG.out/)$(HB.name)-$(HB.version)-MacOSX.5_GUI_$(BUILD.machi STAGE.cli/ = $(BUILD/)stage/cli/ STAGE.gui/ = $(BUILD/)stage/gui/ +PKG.appcast = $(PKG.out/)$(notdir $(HB.url.appcast)) + ############################################################################### BUILD.out += $(PKG.cli.dmg) BUILD.out += $(PKG.gui.dmg) +BUILD.out += $(PKG.appcast) diff --git a/pkg/darwin/module.rules b/pkg/darwin/module.rules index 1392f00f7..28abb0520 100644 --- a/pkg/darwin/module.rules +++ b/pkg/darwin/module.rules @@ -1,4 +1,13 @@ -pkg.create:: $(PKG.cli.dmg) $(PKG.gui.dmg) +pkg.create:: $(PKG.appcast) $(PKG.cli.dmg) $(PKG.gui.dmg) + + +$(PKG.appcast): | $(dir $(PKG.appcast)) +$(PKG.appcast): $(BUILD/)project/handbrake.m4 +$(PKG.appcast): $(PKG.in/)appcast.xml.m4 + $(M4.exe) -I$(BUILD/)project \ + -D__APPCAST_dmg="$(notdir $(PKG.gui.dmg))" \ + -D__APPCAST_dmg_size="$(shell stat -f '%z' $(PKG.gui.dmg))" \ + $(PKG.in/)appcast.xml.m4 > $@ $(PKG.cli.dmg): | $(dir $(PKG.cli.dmg)) $(PKG.cli.dmg): | $(STAGE.cli/) @@ -10,11 +19,15 @@ $(PKG.cli.dmg): | $(STAGE.cli/) $(PKG.gui.dmg): | $(dir $(PKG.gui.dmg)) $(PKG.gui.dmg): | $(STAGE.gui/) +ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system)) hdiutil create -srcfolder $(STAGE.gui/) -format UDRO -mode 755 \ -volname $(basename $(notdir $@)) \ -ov $(PKG.gui.tmp.dmg) hdiutil convert -format UDBZ -o $@ $(PKG.gui.tmp.dmg) $(RM.exe) $(PKG.gui.tmp.dmg) +else + $(TOUCH.exe) $@ +endif pkg.cli.clean: $(RM.exe) -fr $(STAGE.cli/) |