| 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, NPTL, gcc >= 5" |
| depends on BR2_USE_MMU |
| depends on BR2_STATIC_LIBS || \ |
| !BR2_TOOLCHAIN_HAS_THREADS_NPTL || \ |
| !BR2_TOOLCHAIN_GCC_AT_LEAST_5 |