summaryrefslogtreecommitdiffstats
path: root/pkg/darwin/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-18 20:48:07 +0000
committerkonablend <[email protected]>2009-06-18 20:48:07 +0000
commit9bc7f6cea55af4796aaac35057ca7058456c3e03 (patch)
tree38a753a2bbdc366270841ae1d1fe9e2315d81b5b /pkg/darwin/module.rules
parentdf54e47eb709cb97075d18e1101e1ce2c464ef75 (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/module.rules')
-rw-r--r--pkg/darwin/module.rules15
1 files changed, 14 insertions, 1 deletions
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/)