Enable Vorbis encoder for OGG format and lame for MP3.
This enables mpd to stream OGG and MP3 to e.g. Icecast2.
Signed-off-by: Alexander Egorenkov <egorenar-dev@posteo.net>
faster to compile.
A small selection of packages was tested going from:
Executed in 696.30 secs fish external
usr time 82.98 mins 395.00 micros 82.98 mins
sys time 9.02 mins 0.00 micros 9.02 mins
to:
Executed in 592.20 secs fish external
usr time 84.84 mins 361.00 micros 84.84 mins
sys time 8.85 mins 57.00 micros 8.85 mins
Tested by running make -j 12 and wiping staging/build_dir/target_x
Signed-off-by: Rosen Penev <rosenp@gmail.com>
The ffmpeg package in OpenWrt is customizable and that can cause issues
with a dirty InstallDev. Just remove libavfilter support.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes part of issue #14921.
When $(FPIC) gets added to TARGET_CFLAGS (for instance), we can
count on $(TARGET_CFLAGS) in turn being quoted when it gets
expanded. But there are a few places where $(FPIC) gets
expanded directly into environment variables passed on the
command line, such as when setting lt_cv_* variables as in this
case.
It's wrong to assume that the expansion of $(FPIC) won't require
quoting (such as it containing spaces) if it has multiple compiler
flags.
Signed-off-by: Philip Prindeville <philipp@redfish-solutions.com>
Add patch fixing compilation with Debian 9.
Remove npupnp patch. While it doesn't seem to have any negative effects
there's no real benefit to it.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
A treewide script ran to find dirty patches, this was the only packages
found with issues. From now on the CI should no longer return false
positives on dirty patches.
Signed-off-by: Paul Spooren <mail@aparcar.org>
The crude loop I wrote to come up with this changeset:
find -L package/feeds/packages/ -name patches | \
sed 's/patches$/refresh/' | sort | xargs make
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
Allows targets such as prepare, refresh, or update to be run without
building dependencies for easier patch maintenance.
Signed-off-by: Ilya Lipnitskiy <ilya.lipnitskiy@gmail.com>
with the latest version, there's no OSS support. At least --without-oss
does not work.
Remove autoconf patches and add gettext-version fixup.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
As implemented, these get duplicated. In particular, the ldflags get
recursive and with some recent OpenWrt change, it errors.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This reverts commit 9eb20588cc.
For some unexplained reason, this uses host tools to compile target
builds.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Fixes issues such as:
root@MI-R3G:~# alsactl init
alsa-lib parser.c:2101:(parse_toplevel_config) Syntax field not found
in /usr/share/alsa/ucm2/ucm.conf
alsa-lib main.c:983:(snd_use_case_mgr_open) error: failed to import
hw:0 use case configuration -22
Signed-off-by: Rosen Penev <rosenp@gmail.com>
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>