xref: /OK3568_Linux_fs/buildroot/package/libv4l/Config.in (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBV4L
2*4882a593Smuzhiyun	bool "libv4l"
3*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HAS_THREADS
4*4882a593Smuzhiyun	depends on BR2_INSTALL_LIBSTDCPP
5*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
6*4882a593Smuzhiyun	select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
7*4882a593Smuzhiyun	select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
8*4882a593Smuzhiyun	help
9*4882a593Smuzhiyun	  libv4l is a collection of libraries which adds a thin
10*4882a593Smuzhiyun	  abstraction layer on top of video4linux2 devices. libv4l
11*4882a593Smuzhiyun	  consists of 3 different libraries: libv4lconvert, libv4l1 and
12*4882a593Smuzhiyun	  libv4l2.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun	  http://linuxtv.org/wiki/index.php/V4l-utils
15*4882a593Smuzhiyun
16*4882a593Smuzhiyunif BR2_PACKAGE_LIBV4L
17*4882a593Smuzhiyun
18*4882a593Smuzhiyuncomment "libv4l JPEG support not enabled"
19*4882a593Smuzhiyun	depends on !BR2_PACKAGE_JPEG
20*4882a593Smuzhiyun
21*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBV4L_UTILS
22*4882a593Smuzhiyun	bool "v4l-utils tools"
23*4882a593Smuzhiyun	depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
24*4882a593Smuzhiyun	help
25*4882a593Smuzhiyun	  v4l-utils is a collection of various video4linux and DVB
26*4882a593Smuzhiyun	  utilities.
27*4882a593Smuzhiyun	  Enable this if you want to build the following tools:
28*4882a593Smuzhiyun	  - cx18-ctl
29*4882a593Smuzhiyun	  - dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert
30*4882a593Smuzhiyun	  - decode_tm6000
31*4882a593Smuzhiyun	  - ir-keytable
32*4882a593Smuzhiyun	  - media-ctl
33*4882a593Smuzhiyun	  - v4l2-compliance
34*4882a593Smuzhiyun	  - v4l2-ctl, cx18-ctl, ivtv-ctl
35*4882a593Smuzhiyun	  - v4l2-sysfs-path
36*4882a593Smuzhiyun	  - rds-ctl
37*4882a593Smuzhiyun	  - qv4l2 (if Qt is enabled)
38*4882a593Smuzhiyun
39*4882a593Smuzhiyuncomment "v4l-utils tools needs a toolchain w/ C++11"
40*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
41*4882a593Smuzhiyun
42*4882a593Smuzhiyunconfig BR2_PACKAGE_LIBV4L_BUILTIN_PLUGINS
43*4882a593Smuzhiyun	bool "builtin plugins"
44*4882a593Smuzhiyun	help
45*4882a593Smuzhiyun	  Enable builtin plugins.
46*4882a593Smuzhiyun
47*4882a593Smuzhiyunendif
48*4882a593Smuzhiyun
49*4882a593Smuzhiyuncomment "libv4l needs a toolchain w/ threads, C++ and headers >= 3.0"
50*4882a593Smuzhiyun	depends on !BR2_TOOLCHAIN_HAS_THREADS \
51*4882a593Smuzhiyun		|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
52