[vlc-commits] contrib: add portaudio

Rafaël Carré git at videolan.org
Mon Nov 7 05:54:15 CET 2011


vlc | branch: master | Rafaël Carré <funman at videolan.org> | Sun Nov  6 23:36:38 2011 -0500| [1124b708e8b167c732bc0560ecb9303ed8c96a75] | committer: Rafaël Carré

contrib: add portaudio

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

 contrib/src/portaudio/SHA512SUMS            |    1 +
 contrib/src/portaudio/portaudio-cross.patch |   12 ++++++++++++
 contrib/src/portaudio/rules.mak             |   24 ++++++++++++++++++++++++
 3 files changed, 37 insertions(+), 0 deletions(-)

diff --git a/contrib/src/portaudio/SHA512SUMS b/contrib/src/portaudio/SHA512SUMS
new file mode 100644
index 0000000..b641124
--- /dev/null
+++ b/contrib/src/portaudio/SHA512SUMS
@@ -0,0 +1 @@
+28cc2a13d8b4a6a60c5bcaab74971bdb7aa10cbce38b442dced974efd0a5180f291452099fd10a816bb715d5eb29428711493a0a2a26f30a7ffa91234bb26517  portaudio-19_20110326.tar.gz
diff --git a/contrib/src/portaudio/portaudio-cross.patch b/contrib/src/portaudio/portaudio-cross.patch
new file mode 100644
index 0000000..998b35c
--- /dev/null
+++ b/contrib/src/portaudio/portaudio-cross.patch
@@ -0,0 +1,12 @@
+diff -ruN portaudio/Makefile.in portaudio.n/Makefile.in
+--- portaudio/Makefile.in	2007-10-24 17:29:04.000000000 +0200
++++ portaudio.n/Makefile.in	2007-12-18 05:43:27.000000000 +0100
+@@ -120,7 +120,7 @@
+ SUBDIRS =
+ @ENABLE_CXX_TRUE at SUBDIRS += bindings/cpp
+ 
+-all: lib/$(PALIB) all-recursive tests
++all: lib/$(PALIB) all-recursive
+ 
+ tests: bin-stamp $(TESTS)
+ 
diff --git a/contrib/src/portaudio/rules.mak b/contrib/src/portaudio/rules.mak
new file mode 100644
index 0000000..d099291
--- /dev/null
+++ b/contrib/src/portaudio/rules.mak
@@ -0,0 +1,24 @@
+# portaudio
+
+PORTAUDIO_VERSION := 19_20110326
+PORTAUDIO_URL := http://www.portaudio.com/archives/pa_stable_v$(PORTAUDIO_VERSION).tgz
+
+PKGS += portaudio
+
+ifeq ($(call need_pkg,"portaudio"),)
+PKGS_FOUND += portaudio
+endif
+
+$(TARBALLS)/portaudio-$(PORTAUDIO_VERSION).tar.gz:
+	$(call download,$(PORTAUDIO_URL))
+
+.sum-portaudio: portaudio-$(PORTAUDIO_VERSION).tar.gz
+
+portaudio: portaudio-$(PORTAUDIO_VERSION).tar.gz .sum-portaudio
+	$(UNPACK)
+	patch -p0 < $(SRC)/portaudio/portaudio-cross.patch
+
+.portaudio: portaudio
+	cd $< && $(HOSTVARS) ./configure $(HOSTCONF)
+	cd $< && make && make install
+	touch $@



More information about the vlc-commits mailing list