51f30f47cd
The pipewire-media-session has been moved into a separate package which pipewire attempts to download via meson wraps if session-managers are enabled, since we don't support meson wraps we need to disable session-managers in the pipewire package and create a new pipewire-media-session package. We also need to add a patch removing an invalid session-managers option check from pipewire-media-session. There is an alsa with-module-sets option in pipewire-media-session, however at the moment alsa is an unconditional dependency so we need to always enable it and select alsa-lib. Note: it was previously an option of the pipewire package, named media-session, so the symbol was BR2_PACKAGE_PIPEWIRE_MEDIA_SESSION. Now it is a package name pipewire-media-session, so the symbol is still BR2_PACKAGE_PIPEWIRE_MEDIA_SESSION. So there is no legacy entry needed, and users previously using that option will now get the package. Sneaky. Signed-off-by: James Hilliard <james.hilliard1@gmail.com> [yann.morin.1998@free.fr: - extend commit log with legacy handling - first unconditional CONF_OPTS uses =, not +=; fits on one line - slight reorder in variables assignments ] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
53 lines
1.5 KiB
Plaintext
53 lines
1.5 KiB
Plaintext
config BR2_PACKAGE_PIPEWIRE
|
|
bool "pipewire"
|
|
depends on !BR2_STATIC_LIBS
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
|
|
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_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, threads, gcc >= 5"
|
|
depends on BR2_USE_MMU
|
|
depends on BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS || \
|
|
!BR2_TOOLCHAIN_GCC_AT_LEAST_5
|