summaryrefslogtreecommitdiffstats
path: root/pkg/darwin/module.rules
diff options
context:
space:
mode:
authorkonablend <[email protected]>2009-06-17 22:06:57 +0000
committerkonablend <[email protected]>2009-06-17 22:06:57 +0000
commit57952a58b0596d86d6c43d6663590a0c654264c6 (patch)
tree2d1c8a048fa1add2951dc664987d9edb632b7939 /pkg/darwin/module.rules
parent0f8e43685a29f6f35e7db7101494331f4d68ee40 (diff)
BuildSystem: OSX packaging: remove unused archs from Growl/Sparkle frameworks.
- eg. results in 780/156 KB filesystem/dmg savings for x86_64 . git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@2564 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'pkg/darwin/module.rules')
-rw-r--r--pkg/darwin/module.rules6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/darwin/module.rules b/pkg/darwin/module.rules
index f6aa2d610..1392f00f7 100644
--- a/pkg/darwin/module.rules
+++ b/pkg/darwin/module.rules
@@ -38,5 +38,11 @@ $(STAGE.gui/):
$(MKDIR.exe) -p $@
ifeq (1-darwin,$(FEATURE.xcode)-$(BUILD.system))
$(CP.exe) -R $(BUILD/)HandBrake.app $(STAGE.gui/)
+ $(LIPO.exe) -thin $(BUILD.arch) \
+ $(SRC/)macosx/Growl.framework/Versions/A/Growl \
+ -output $(STAGE.gui/)HandBrake.app/Contents/Frameworks/Growl.framework/Versions/A/Growl
+ $(LIPO.exe) -thin $(BUILD.arch) \
+ $(SRC/)macosx/Sparkle.framework/Versions/A/Sparkle \
+ -output $(STAGE.gui/)HandBrake.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle
$(call STAGE.doc,$(STAGE.gui/))
endif