For speexdsp, support for NEON on aarch64 was added in 1.2.0[1].
[1]: https://github.com/xiph/speexdsp/pull/8
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
- Remove ogg params from speex configure as it doesn't know about them.
- Remove --enable-sse=no from both speex and speexdsp. The configure
scripts do actually not add items to our CFLAGS like previously
assumed.
- When --disable-float-api is used VBR needs to be disabled as well, as
VBR has not been implemented with fixed-point math in speex (yet). So
add --disable-vbr when --disable-float-api is used.
- In speexdsp 1.2rc2 optimizations for NEON were added. Unfortunately
the ASM does not work for 64bit ARM. So force NEON optimizations off
when compiling for AARCH64.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
- speexdsp has been broken out of the speex package by upstream. The
released versions of both aren't aligned (speex is at 1.2.0, speexdsp
at 1.2rc3). Break out speexdsp into its own Makefile accordingly.
- Don't disable VBR anymore as it has its applications (i.e. can be used
with freeswitch-stable).
- Prevent build system from changing our CFLAGS (--enable-sse=no).
- Make integer mode depend on SOFT_FLOAT symbol so it doesn't get
enabled on devices with FPUs.
- Use PKG_INSTALL and remove custom Build/Compile as there is no need
for this.
Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>