xref: /OK3568_Linux_fs/buildroot/package/pipewire/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1config BR2_PACKAGE_PIPEWIRE
2	bool "pipewire"
3	depends on !BR2_STATIC_LIBS
4	depends on BR2_TOOLCHAIN_HAS_THREADS_NPTL # pthread_setname_np()
5	depends on BR2_USE_MMU # fork()
6	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_5
7	select BR2_PACKAGE_BLUEZ5_UTILS_PLUGINS_AUDIO if BR2_PACKAGE_BLUEZ5_UTILS # runtime
8	help
9	  PipeWire is a server and user space API to deal with
10	  multimedia pipelines.
11
12	  https://pipewire.org/
13
14if BR2_PACKAGE_PIPEWIRE
15
16config BR2_PACKAGE_PIPEWIRE_EXAMPLES
17	bool "pipewire examples"
18	help
19	  Build pipewire examples
20
21config BR2_PACKAGE_PIPEWIRE_GSTREAMER
22	bool "pipewire gstreamer plugins"
23	depends on BR2_USE_WCHAR # libglib2
24	depends on BR2_TOOLCHAIN_HAS_THREADS # libglib2
25	depends on BR2_USE_MMU # libglib2
26	select BR2_PACKAGE_LIBGLIB2
27	select BR2_PACKAGE_GSTREAMER1
28	select BR2_PACKAGE_GST1_PLUGINS_BASE
29	help
30	  Build GStreamer plugins
31
32comment "pipewire gstreamer support needs a toolchain w/ wchar, threads"
33	depends on BR2_USE_MMU
34	depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
35
36config BR2_PACKAGE_PIPEWIRE_V4L2
37	bool "pipewire v4l2 plugin"
38	depends on BR2_PACKAGE_HAS_UDEV
39	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
40	help
41	  Build v4l2 plugin
42
43comment "pipewire v4l2 support needs udev and a toolchain w/ headers >= 3.18"
44	depends on !BR2_PACKAGE_HAS_UDEV || \
45		!BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_18
46
47endif
48
49comment "pipewire needs a toolchain w/ dynamic library, NTPL, gcc >= 5"
50	depends on BR2_USE_MMU
51	depends on BR2_STATIC_LIBS || \
52		!BR2_TOOLCHAIN_HAS_THREADS_NPTL || \
53		!BR2_TOOLCHAIN_GCC_AT_LEAST_5
54