[vlc-commits] contrib: build sparkle

Rafaël Carré git at videolan.org
Thu Nov 24 21:58:56 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 15:58:43 2011 -0500| [96447a8af587815cba340f98cef8b786db1db04b] | committer: Rafaël Carré

contrib: build sparkle

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=96447a8af587815cba340f98cef8b786db1db04b
---

 contrib/src/sparkle/rules.mak |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index b9c2efa..aa4b138 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -13,7 +13,11 @@ $(TARBALLS)/sparkle-$(SPARKLE_VERSION).zip:
 .sum-sparkle: sparkle-$(SPARKLE_VERSION).zip
 
 sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
-	$(RM) -R $@ && mkdir -p $@ && cd $@ $(foreach f,$(filter %.zip,$^), && unzip ../$(f))
+	$(RM) -R $@ && mkdir -p $@ && cd $@ && unzip ../$<
+	cd $@/Extras/Source\ Code/Configurations && \
+		sed -i.orig -e s/"GCC_TREAT_WARNINGS_AS_ERRORS = YES"/"GCC_TREAT_WARNINGS_AS_ERRORS = NO"/g \
+			ConfigCommonRelease.xcconfig && \
+		sed -i.orig -e s/10\.4/$(OSX_VERSION)/g -e s/10\.5/$(OSX_VERSION)/g ConfigCommon.xcconfig
 	touch $@
 
 .sparkle: sparkle



More information about the vlc-commits mailing list