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