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