1 # This Source Code Form is subject to the terms of the Mozilla Public
2 # License, v. 2.0. If a copy of the MPL was not distributed with this
3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
5 # Usage: ./update.sh <speexdsp_directory>
7 # Copies the needed files from a directory containing the original
12 cp $1/libspeexdsp
/resample.c src
13 cp $1/libspeexdsp
/resample_sse.h src
/resample_sse.c
14 cp $1/libspeexdsp
/resample_neon.h src
/resample_neon.c
15 cp $1/libspeexdsp
/arch.h src
16 cp $1/libspeexdsp
/stack_alloc.h src
17 cp $1/libspeexdsp
/fixed_generic.h src
18 cp $1/include
/speex
/speex_resampler.h src
22 # apply outstanding local patches
23 patch -p3 < outside-speex.
patch
24 patch -p3 < simd-detect-runtime.
patch
25 patch -p3 < set-skip-frac.
patch
26 patch -p3 < hugemem.
patch
27 patch -p3 < remove-empty-asm-clobber.
patch