]> granicus.if.org Git - handbrake/commitdiff
BuildSystem: OSX packaging: remove unused archs from Growl/Sparkle frameworks.
authorkonablend <kona8lend@gmail.com>
Wed, 17 Jun 2009 22:06:57 +0000 (22:06 +0000)
committerkonablend <kona8lend@gmail.com>
Wed, 17 Jun 2009 22:06:57 +0000 (22:06 +0000)
- 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

pkg/darwin/module.rules

index f6aa2d610864f7f4df30b63e56f1c8a8ca027874..1392f00f79fbc9ec27c8a7217f2cdb08b389e73a 100644 (file)
@@ -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