CMake build seems to be experimental and not ready for primetime.
Added altivec support.
Fixed installing static output libraries to the target.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Switched to CMake. CMake compiles faster.
Added libsyn123 library as it's needed since version 1.26.
Before:
time make package/mpg123/compile -j 12
Executed in 16.05 secs fish external
usr time 26.65 secs 0.00 micros 26.65 secs
sys time 4.82 secs 833.00 micros 4.81 secs
After:
time make package/mpg123/compile -j 12
Executed in 12.12 secs fish external
usr time 19.35 secs 0.00 micros 19.35 secs
sys time 3.22 secs 752.00 micros 3.22 secs
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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>
With openwrt/openwrt@8dcc1087602e2dd606e4f6e81a06aee62cfd4f4c, the ARM
FPU compiler options are no longer part of CONFIG_TARGET_OPTIMIZATION.
This updates various packages that look for NEON/VFP support to search
CONFIG_CPU_TYPE instead.
Signed-off-by: Jeffery To <jeffery.to@gmail.com>
Update mpg123 to 1.25.2
Change download URL to Sourceforge
Change deprecated checksum variable (PKG_MD5SUM) to PKG_HASH
Add libout123
Add generic optimizations depending on platform have fpu or not
Add NEON-specific optimization
Remove BUILD_PATENTED, reference:
https://github.com/openwrt/packages/pull/4587
Small cleanup of Makefile
Thanks to Ted Hess for reviewing and suggesting compilation fix
NOTE:
mpg123 uses the most recent approach just like ffmpeg that's
mentioned here: https://github.com/openwrt/packages/pull/4555
Signed-off-by: Daniel Engberg <daniel.engberg.lists@pyret.net>