Bumping manifests a=b2g-bump
[gecko.git] / media / libspeex_resampler / update.sh
blob716a4088d8771670b7ebaf01a8a34d9755b8506e
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
8 # speexdsp sources.
10 set -e -x
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
19 cp $1/AUTHORS .
20 cp $1/COPYING .
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