854314d153
SND_AUDIOCODEC_A{LAC,PE} are only available since kernel 5.7 and0f546d6f02
resulting in the following build failure since bump to version 0.3.65 in commit247e2d0eb1
and https://git.buildroot.net/buildroot/commit/?id=247e2d0eb1e60f483044d58bed58c5ed321528f7: ../spa/plugins/alsa/alsa-compress-offload-sink.c:183:11: error: 'SND_AUDIOCODEC_ALAC' undeclared here (not in a function); did you mean 'SND_AUDIOCODEC_AAC'? 183 | { SND_AUDIOCODEC_ALAC, }, | ^~~~~~~~~~~~~~~~~~~ | SND_AUDIOCODEC_AAC Moreover, flac_d is also only available since kernel 5.5 andd2522335c9
Take this opportunity to make compress offload an explicit option rather than automatic based on the availability of tinycompress. The relationship between them is not obvious. Fixes: - http://autobuild.buildroot.org/results/9ecd9aca5edc3756154da59573157954f06e6537 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Arnout Vandecappelle <arnout@mind.be>
68 lines
2.0 KiB
Plaintext
68 lines
2.0 KiB
Plaintext
config BR2_PACKAGE_PIPEWIRE
|
|
bool "pipewire"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
select BR2_PACKAGE_ALSA_LIB_UCM if BR2_PACKAGE_ALSA_LIB
|
|
select BR2_PACKAGE_ALSA_LIB_SEQ if BR2_PACKAGE_ALSA_LIB
|
|
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
|
|
help
|
|
PipeWire is a server and user space API to deal with
|
|
multimedia pipelines.
|
|
|
|
https://pipewire.org/
|
|
|
|
if BR2_PACKAGE_PIPEWIRE
|
|
|
|
config BR2_PACKAGE_PIPEWIRE_COMPRESS_OFFLOAD
|
|
bool "pipewire Compress-Offload"
|
|
depends on !BR2_STATIC_LIBS # tinycompress
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
select BR2_PACKAGE_TINYCOMPRESS
|
|
help
|
|
Enable ALSA Compress-Offload support
|
|
|
|
comment "pipewire Compress-Offload needs a toolchain w/ dynamic library, headers >= 5.7"
|
|
depends on BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_5_7
|
|
|
|
config BR2_PACKAGE_PIPEWIRE_EXAMPLES
|
|
bool "pipewire examples"
|
|
help
|
|
Build pipewire examples
|
|
|
|
config BR2_PACKAGE_PIPEWIRE_GSTREAMER
|
|
bool "pipewire gstreamer plugins"
|
|
depends on BR2_USE_WCHAR # libglib2
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
|
|
depends on BR2_USE_MMU # libglib2
|
|
select BR2_PACKAGE_LIBGLIB2
|
|
select BR2_PACKAGE_GSTREAMER1
|
|
select BR2_PACKAGE_GST1_PLUGINS_BASE
|
|
help
|
|
Build GStreamer plugins
|
|
|
|
comment "pipewire gstreamer support needs a toolchain w/ wchar, threads"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
|
|
|
config BR2_PACKAGE_PIPEWIRE_V4L2
|
|
bool "pipewire v4l2 plugin"
|
|
depends on BR2_PACKAGE_HAS_UDEV
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
|
help
|
|
Build v4l2 plugin
|
|
|
|
comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18"
|
|
depends on !BR2_PACKAGE_HAS_UDEV || \
|
|
!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
|
|
|
|
endif
|
|
|
|
comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || \
|
|
!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|