2012-05-21 15:12:37 +04: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-23 08:56:25 +04:00
|
|
|
# Usage: ./update.sh <speexdsp_directory>
|
2012-05-15 03:01:04 +04:00
|
|
|
#
|
|
|
|
# Copies the needed files from a directory containing the original
|
2014-07-23 08:56:25 +04:00
|
|
|
# speexdsp sources.
|
2013-01-12 02:58:22 +04:00
|
|
|
|
2013-08-12 16:40:49 +04:00
|
|
|
set -e -x
|
|
|
|
|
2014-07-23 08:56:25 +04:00
|
|
|
cp $1/libspeexdsp/resample.c src
|
2014-07-23 13:49:04 +04:00
|
|
|
cp $1/libspeexdsp/resample_sse.h src/resample_sse.c
|
|
|
|
cp $1/libspeexdsp/resample_neon.h src/resample_neon.c
|
2014-07-23 08:56:25 +04: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-15 03:01:04 +04:00
|
|
|
cp $1/AUTHORS .
|
|
|
|
cp $1/COPYING .
|
2013-01-12 02:58:22 +04:00
|
|
|
|
|
|
|
# apply outstanding local patches
|
2014-07-21 07:22:25 +04:00
|
|
|
patch -p3 < outside-speex.patch
|
2014-07-23 13:49:04 +04:00
|
|
|
patch -p3 < simd-detect-runtime.patch
|
2014-02-27 02:44:40 +04:00
|
|
|
patch -p3 < set-skip-frac.patch
|
2014-07-21 08:34:26 +04:00
|
|
|
patch -p3 < hugemem.patch
|
2014-07-22 12:10:36 +04:00
|
|
|
patch -p3 < remove-empty-asm-clobber.patch
|
2017-03-06 18:15:07 +03:00
|
|
|
patch -p3 < set-rate-overflow-no-return.patch
|