kumquat-buildroot/package/pipewire/Config.in
James Hilliard ddad938149 package/pipewire: add option to enable media-session support
The example media-session pipewire session manager requires
pipewire to be built with examples enabled, add support for
enabling this while depending on examples being enabled.

To simplify adding support for additional session managers in
the future such as wireplumber we pass a comma separated list
to the -Dsession-managers meson config option. This also will
ensure that systemd services that depend on media-session are
only installed if media-session support is enabled.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2021-09-21 22:39:11 +02:00

60 lines
1.7 KiB
Plaintext

config BR2_PACKAGE_PIPEWIRE
bool "pipewire"
depends on !BR2_STATIC_LIBS
depends on BR2_TOOLCHAIN_HAS_THREADS # dbus
depends on BR2_USE_MMU # dbus
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
select BR2_PACKAGE_DBUS
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_MEDIA_SESSION
bool "pipewire media-session"
depends on BR2_PACKAGE_PIPEWIRE_EXAMPLES
help
Build pipewire media-session support
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