Skip to content
Snippets Groups Projects
Commit 3d94456f authored by Vittorio Giovara's avatar Vittorio Giovara Committed by Tristan Matthews
Browse files

contrib: add speexdsp rules and patches

Based on VideoLan code by Rémi Denis-Courmont et al.
Refs: #46617

Change-Id: I0d74485018f50767c00a800f0361bff85c66bfe6
parent 8aec0f21
No related branches found
No related tags found
No related merge requests found
# speexdsp
SPEEXDSP_VERSION := git
SPEEXDSP_HASH := HEAD
SPEEXDSP_GITURL := http://git.xiph.org/?p=speexdsp.git;a=snapshot;h=$(SPEEXDSP_HASH);sf=tgz
PKGS += speexdsp
ifeq ($(call need_pkg,"speexdsp"),)
PKGS_FOUND += speexdsp
endif
$(TARBALLS)/speexdsp-git.tar.gz:
$(call download,$(SPEEXDSP_GITURL))
.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)
$(MOVE)
SPEEXDSP_CONF := --enable-resample-full-sinc-table
ifndef HAVE_FPU
SPEEXDSP_CONF += --enable-fixed-point
ifeq ($(ARCH),arm)
SPEEXDSP_CONF += --enable-arm5e-asm
endif
endif
.speexdsp: speexdsp
mkdir -p $</m4 && $(RECONF)
cd $< && $(HOSTVARS) ./configure $(HOSTCONF) $(SPEEXDSP_CONF)
cd $< && $(MAKE) install
touch $@
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment