mmal/codec: Increase verbosity for interlaced detection
[vlc.git] / contrib / src / speexdsp / rules.mak
1 # speexdsp
2
3 SPEEXDSP_VERSION := git
4 SPEEXDSP_HASH := HEAD
5 SPEEXDSP_GITURL := http://git.xiph.org/?p=speexdsp.git;a=snapshot;h=$(SPEEXDSP_HASH);sf=tgz
6
7 PKGS += speexdsp
8 ifeq ($(call need_pkg,"speexdsp"),)
9 PKGS_FOUND += speexdsp
10 endif
11
12 $(TARBALLS)/speexdsp-git.tar.gz:
13         $(call download,$(SPEEXDSP_GITURL))
14
15 .sum-speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz
16         $(warning $@ not implemented)
17         touch $@
18
19 speexdsp: speexdsp-$(SPEEXDSP_VERSION).tar.gz .sum-speexdsp
20         rm -Rf $@-git $@
21         mkdir -p $@-git
22         $(ZCAT) "$<" | (cd $@-git && tar xv --strip-components=1)
23         $(MOVE)
24
25 SPEEXDSP_CONF := --enable-resample-full-sinc-table
26 ifndef HAVE_FPU
27 SPEEXDSP_CONF += --enable-fixed-point
28 ifeq ($(ARCH),arm)
29 SPEEXDSP_CONF += --enable-arm5e-asm
30 endif
31 endif
32
33 .speexdsp: speexdsp
34         mkdir -p $</m4 && $(RECONF)
35         cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(SPEEXDSP_CONF)
36         cd $< && $(MAKE) install
37         touch $@