2012-05-21 04:12:37 -07:00
|
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
|
2014-07-22 21:56:25 -07:00
|
|
|
# Usage: ./update.sh <speexdsp_directory>
|
2012-05-14 16:01:04 -07:00
|
|
|
#
|
|
|
|
# Copies the needed files from a directory containing the original
|
2014-07-22 21:56:25 -07:00
|
|
|
# speexdsp sources.
|
2013-01-11 14:58:22 -08:00
|
|
|
|
2013-08-12 05:40:49 -07:00
|
|
|
set -e -x
|
|
|
|
|
2014-07-22 21:56:25 -07:00
|
|
|
cp $1/libspeexdsp/resample.c src
|
2014-07-23 02:49:04 -07:00
|
|
|
cp $1/libspeexdsp/resample_sse.h src/resample_sse.c
|
|
|
|
cp $1/libspeexdsp/resample_neon.h src/resample_neon.c
|
2014-07-22 21:56:25 -07:00
|
|
|
cp $1/libspeexdsp/arch.h src
|
|
|
|
cp $1/libspeexdsp/stack_alloc.h src
|
|
|
|
cp $1/libspeexdsp/fixed_generic.h src
|
|
|
|
cp $1/include/speex/speex_resampler.h src
|
2012-05-14 16:01:04 -07:00
|
|
|
cp $1/AUTHORS .
|
|
|
|
cp $1/COPYING .
|
2013-01-11 14:58:22 -08:00
|
|
|
|
|
|
|
# apply outstanding local patches
|
2014-07-20 20:22:25 -07:00
|
|
|
patch -p3 < outside-speex.patch
|
2014-07-23 02:49:04 -07:00
|
|
|
patch -p3 < simd-detect-runtime.patch
|
2014-02-26 14:44:40 -08:00
|
|
|
patch -p3 < set-skip-frac.patch
|
2014-07-20 21:34:26 -07:00
|
|
|
patch -p3 < hugemem.patch
|
2014-07-22 01:10:36 -07:00
|
|
|
patch -p3 < remove-empty-asm-clobber.patch
|