Removed iconv const patch. After discussing with upstream. it turns out
that libiconv-full in OpenWrt is broken.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Since making ffmpeg dependent on BUILD_PATENTED, the full variant
becomes unable to play mp3s. Change that.
libmad is superior to mpg123 because of its faster decoding speed on
soft float systems and because in MPD, it supports streams (HTTP for
example).
ffmpeg supports streams as well. Avoid libmad in that case.
Minor Makefile cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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>
pulseaudio-daemon depends on alsa-lib, which depends on @AUDIO_SUPPORT.
Enables -full on platforms lacking AUDIO_SUPPORT.
Simplified LDFLAGS slighly.
Removed pointless ICU dependency. I managed to patch meson.build to fix
iconv compilation. The original error was that without the header, it
was prefixing the iconv check with __buildin_ , which does not work
with uClibc-ng.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2cedae0aa9 enabled mp3 support for mini,
while keeping id3tag for full. This makes no sense as id3tag is used
specifically for mp3 files.
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>
Unfortunately, meson's check is totally broken.
Fortunately, it's fairly easy to workaround.
Fixes compilation with all ARM platforms that don't support NEON.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The recent update to ffmpeg broke this.
Instead, use the relevant libraries separately.
Added AAC support. AAC is very common and was recently fixed to be
compatible with BUILD_PATENTED.
Explicitly pass all configure arguments, to avoid future breakage.
Remove autoreconf. autotools files are not being patched.
Add PKG_BUILD_PARALLEL for speed.
Other minor cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Turns out, packages like mpd that use pkgconfig to find pulseaudio
end up using host paths.
Fixes compilation with at least mpd.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Converted to use meson for compilation speed.
Removed libwrap dependency. Upstream no longer supports it.
Removed intltool and glib2 host dependencies. They seem to be no
longer needed.
Removed upstream patch.
Minor cleanups.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Removed upstreamed patch.
Remove other patch and replace with a simple configure variable.
Add another configure variable to avoid linking to libatopology.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This is possible as libfaad no longer has patented functionality based on
BUILD_PATENTED.
AAC is a very popular format, so it makes sense to have some kind of
version included.
The ffmpeg package does not provide and cannot provide AAC decoding
without BUILD_PATENTED, therefore enabled FAAD for all variants.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Instead, chose which to build based on CONFIG_BUILD_PATENTED. This is
more flexible and causes fewer problems when compiling.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Updated patches to latest patchset and removed upstreamed ones.
Ran init script through shellcheck. Restart using SIGHUP.
Added logging from stderr as any kind of logging is missing in --no-daemon
mode.
Signed-off-by: Rosen Penev <rosenp@gmail.com>