[vlc-commits] contrib: tentative build rules for OSX frameworks

Rafaël Carré git at videolan.org
Thu Nov 24 01:33:17 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Wed Nov 23 19:13:07 2011 -0500| [af3b365aa722703b0261a70b215b30773ed7d1f1] | committer: Rafaël Carré

contrib: tentative build rules for OSX frameworks

only bghudappkit builds properly

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

 contrib/TODO                      |    8 --------
 contrib/src/bghudappkit/rules.mak |    3 ++-
 contrib/src/growl/rules.mak       |    3 ++-
 contrib/src/sparkle/rules.mak     |    3 ++-
 4 files changed, 6 insertions(+), 11 deletions(-)

diff --git a/contrib/TODO b/contrib/TODO
deleted file mode 100644
index 87eaeaa..0000000
--- a/contrib/TODO
+++ /dev/null
@@ -1,8 +0,0 @@
-binary package downloading/extraction (prebuilt contribs)
-
-### Missing software for MacOSX
-
-# These 3 are binary framework downloads : no source code is used
-BGHUDAppKit
-Growl           -- last free version: 1.3.0: http://code.google.com/p/growl/source/list http://itunes.apple.com/us/app/growl/id467939042
-Sparkle
diff --git a/contrib/src/bghudappkit/rules.mak b/contrib/src/bghudappkit/rules.mak
index cfac330..279a219 100644
--- a/contrib/src/bghudappkit/rules.mak
+++ b/contrib/src/bghudappkit/rules.mak
@@ -20,5 +20,6 @@ bghudappkit: bghudappkit-git.tar.xz .sum-bghudappkit
 	$(MOVE)
 
 .bghudappkit: bghudappkit
-	cd $< && $(MAKE) && exit 1 #FIXME
+	cd $< && xcodebuild -arch $(ARCH)
+	cd $< && cp -R -L build/Release/BGHUDAppKit.framework "$(PREFIX)"
 	touch $@
diff --git a/contrib/src/growl/rules.mak b/contrib/src/growl/rules.mak
index be74528..adaf514 100644
--- a/contrib/src/growl/rules.mak
+++ b/contrib/src/growl/rules.mak
@@ -18,5 +18,6 @@ growl: growl-$(GROWL_VERSION).tar.bz2 .sum-growl
 	touch $@
 
 .growl: growl
-	cd $< && $(MAKE) && exit 1 #FIXME
+	cd $< && xcodebuild -sdk /Developer/SDKs/MacOSX10.6.sdk -arch $(ARCH)
+	cd $< && cp -R -L build/Release/Growl.framework "$(PREFIX)"
 	touch $@
diff --git a/contrib/src/sparkle/rules.mak b/contrib/src/sparkle/rules.mak
index 26d4a0d..b9c2efa 100644
--- a/contrib/src/sparkle/rules.mak
+++ b/contrib/src/sparkle/rules.mak
@@ -17,5 +17,6 @@ sparkle: sparkle-$(SPARKLE_VERSION).zip .sum-sparkle
 	touch $@
 
 .sparkle: sparkle
-	cd $</Extras/Source\ Code && $(MAKE) && exit 1 #FIXME
+	cd $</Extras/Source\ Code && $(MAKE) && xcodebuild -arch $(ARCH)
+	cd $< && cp -R -L Extras/Source\ Code/build/release/Sparkle.framework "$(PREFIX)"
 	touch $@



More information about the vlc-commits mailing list