]> git.sesse.net Git - vlc/commitdiff
contrib: add speexdsp
authorRémi Denis-Courmont <remi@remlab.net>
Tue, 18 Oct 2011 15:41:09 +0000 (18:41 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Wed, 19 Oct 2011 15:25:21 +0000 (18:25 +0300)
Like vorbisenc, this does not actually build anything. It merely pulls
speex if speexdsp is not available in the distro, even if speex is.

contrib/src/speex/rules.mak

index d76ee93088152f7588f3f3472fed369b0af6133e..08d7ade903b6a7bd82a78a970e7a99945ab7eac3 100644 (file)
@@ -23,3 +23,19 @@ speex: speex-$(SPEEX_VERSION).tar.gz .sum-speex
        cd $< && $(HOSTVARS) ./configure $(HOSTCONF) --without-ogg
        cd $< && $(MAKE) install
        touch $@
+
+# Speex DSP
+
+PKGS += speexdsp
+PKGS_ALL += speexdsp
+ifeq ($(call need_pkg,"speexdsp"),)
+PKGS_FOUND += speexdsp
+endif
+
+.sum-speexdsp: .sum-speex
+       touch -r $< $@
+
+DEPS_speexdsp = speex $(DEPS_speex)
+
+.speexdsp:
+       touch $@