[vlc-commits] contribs: add speex
Rémi Denis-Courmont
git at videolan.org
Tue Jun 28 18:45:31 CEST 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Jun 27 15:49:01 2011 +0300| [f033c284f88730cf343df725612fe9385e6278fd] | committer: Rémi Denis-Courmont
contribs: add speex
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f033c284f88730cf343df725612fe9385e6278fd
---
contrib/src/speex/SHA512SUMS | 1 +
contrib/src/speex/rules.mak | 25 +++++++++++++++++++++++++
2 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/contrib/src/speex/SHA512SUMS b/contrib/src/speex/SHA512SUMS
new file mode 100644
index 0000000..ac07bfe
--- /dev/null
+++ b/contrib/src/speex/SHA512SUMS
@@ -0,0 +1 @@
+bdf1ddb2d60496ab220b94c1bec7a43f267fc964fdbb5cc9f24b71b9b571f237f5ce98c1d74b02699d71a95281f4694ff464ebec25e3b135244e5b3099cb1813 speex-1.2rc1.tar.gz
diff --git a/contrib/src/speex/rules.mak b/contrib/src/speex/rules.mak
new file mode 100644
index 0000000..5ad7786
--- /dev/null
+++ b/contrib/src/speex/rules.mak
@@ -0,0 +1,25 @@
+# speex
+
+SPEEX_VERSION := 1.2rc1
+SPEEX_URL := http://downloads.us.xiph.org/releases/speex/speex-$(SPEEX_VERSION).tar.gz
+
+PKGS += speex
+
+$(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz:
+ $(DOWNLOAD) $(SPEEX_URL)
+
+.sum-speex: $(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz
+ $(CHECK_SHA512)
+ touch $@
+
+speex: $(TARBALLS)/speex-$(SPEEX_VERSION).tar.gz .sum-speex
+ $(UNPACK_GZ)
+ mv $@-$(SPEEX_VERSION) $@
+ touch $@
+
+# TODO: fixed point and ASM opts
+
+.speex: speex
+ cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-ogg
+ cd $< && $(MAKE) install
+ touch $@
More information about the vlc-commits
mailing list