[vlc-commits] contrib: Growl: fix build

Rafaël Carré git at videolan.org
Thu Nov 24 22:34:00 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Thu Nov 24 16:33:17 2011 -0500| [580921081cb86c1bd1523987dfe4e1cb11a2a91b] | committer: Rafaël Carré

contrib: Growl: fix build

Growl.framework is still nowhere to be found though

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

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

diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index adaf514..88ca657 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -15,9 +15,14 @@ $(TARBALLS)/growl-$(GROWL_VERSION).tar.bz2:
 growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
 	$(UNPACK)
 	mv Growl-1.2.2-src $@
+	sed -i.orig -e s/"SDKROOT = macosx10.5"/"SDKROOT = macosx$(OSX_VERSION)"/g \
+		-e s/"GCC_VERSION = 4.0"/"GCC_VERSION = 4.2"/g \
+		-e s/com.apple.compilers.gcc.4_0/com.apple.compilers.gcc.4_2/g \
+		$@/Growl.xcodeproj/project.pbxproj
+	sed -i.orig -e s/"REVISION \$$REV"/"REVISION 0x\$$REV"/g $@/generateHgRevision.sh
 	touch $@
 
 .growl: growl
-	cd $< && xcodebuild -sdk /Developer/SDKs/MacOSX10.6.sdk -arch $(ARCH)
+	cd $< && xcodebuild -sdk /Developer/SDKs/MacOSX$(OSX_VERSION).sdk -arch $(ARCH)
 	cd $< && cp -R -L build/Release/Growl.framework "$(PREFIX)"
 	touch $@



More information about the vlc-commits mailing list