python: make hashlib and readline modules really optional
[buildroot-gz.git] / package / libv4l / Config.in
blob4da00342a271626a053f6c8fa858485ee9dba5b4
1 config BR2_PACKAGE_LIBV4L
2         bool "libv4l"
3         depends on BR2_TOOLCHAIN_HAS_THREADS
4         depends on BR2_USE_MMU # fork()
5         depends on !BR2_STATIC_LIBS # dlopen()
6         depends on BR2_INSTALL_LIBSTDCPP
7         depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
8         select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
9         select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
10         help
11           libv4l is a collection of libraries which adds a thin abstraction
12           layer on top of video4linux2 devices. libv4l consists of 3 different
13           libraries: libv4lconvert, libv4l1 and libv4l2.
15           http://linuxtv.org/wiki/index.php/V4l-utils
17 if BR2_PACKAGE_LIBV4L
19 comment "libv4l JPEG support not enabled"
20         depends on !BR2_PACKAGE_JPEG
22 config BR2_PACKAGE_LIBV4L_UTILS
23         bool "v4l-utils tools"
24         depends on BR2_ENABLE_LOCALE
25         select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
26         help
27           v4l-utils is a collection of various video4linux and DVB utilities.
28           Enable this if you want to build the following tools:
29           - cx18-ctl
30           - dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert
31           - decode_tm6000
32           - ir-keytable
33           - media-ctl
34           - v4l2-compliance
35           - v4l2-ctl, cx18-ctl, ivtv-ctl
36           - v4l2-sysfs-path
37           - rds-ctl
38           - qv4l2 (if Qt is enabled)
40 comment "libv4l-utils tools need a toolchain w/ locale"
41         depends on !BR2_ENABLE_LOCALE
43 endif
45 comment "libv4l needs a toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
46         depends on BR2_USE_MMU
47         depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
48                 || !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0