contrib: use speexdsp 1.2rc2
authorTristan Matthews <tmatth@videolan.org>
Sat, 6 Dec 2014 23:08:35 +0000 (18:08 -0500)
committerTristan Matthews <tmatth@videolan.org>
Sat, 6 Dec 2014 23:08:59 +0000 (18:08 -0500)
contrib/src/speexdsp/rules.mak

index 3cc2b15..6c07a31 100644 (file)
@@ -1,25 +1,20 @@
 # speexdsp
 
-SPEEXDSP_VERSION := git
-SPEEXDSP_HASH := HEAD
-SPEEXDSP_GITURL := http://git.xiph.org/?p=speexdsp.git;a=snapshot;h=$(SPEEXDSP_HASH);sf=tgz
+SPEEXDSP_VERSION := 1.2rc2
+SPEEXDSP_URL := http://downloads.us.xiph.org/releases/speex/speexdsp-$(SPEEXDSP_VERSION).tar.gz
 
 PKGS += speexdsp
 ifeq ($(call need_pkg,"speexdsp"),)
 PKGS_FOUND += speexdsp
 endif
 
-$(TARBALLS)/speexdsp-git.tar.gz:
-       $(call download,$(SPEEXDSP_GITURL))
+$(TARBALLS)/speexdsp-$(SPEEXDSP_VERSION).tar.gz:
+       $(call download,$(SPEEXDSP_URL))
 
 .sum-speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz
-       $(warning $@ not implemented)
-       touch $@
 
 speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz .sum-speexdsp
-       rm -Rf $@-git $@
-       mkdir -p $@-git
-       $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
+       $(UNPACK)
        $(MOVE)
 
 SPEEXDSP_CONF := --enable-resample-full-sinc-table --disable-examples