buildroot/package/libv4l/Config.in
Peter Seiderer 184ce3ced3 package/libv4l: v4l-utils needs C++11 support
Fixes:

  - http://autobuild.buildroot.net/results/cacd73e08cfb359d608bca807189b7bd3c5c79bd

  v4l2-ctl.cpp:53:2: warning: identifier 'nullptr' is a keyword in C++11 [-Wc++0x-compat]
  v4l2-ctl.cpp:53:37: error: 'nullptr' was not declared in this scope
  [...]
  v4l2-ctl-tuner.cpp: In function 'void parse_freq_seek(char*, v4l2_hw_freq_seek&)':
  v4l2-ctl-tuner.cpp:160:10: error: 'constexpr' does not name a type
     static constexpr const char *subopts[] = {
            ^
  v4l2-ctl-tuner.cpp:160:10: note: C++11 'constexpr' only available with -std=c++11 or -std=gnu++11

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
2022-02-14 21:46:13 +01:00

47 lines
1.4 KiB
Plaintext

config BR2_PACKAGE_LIBV4L
bool "libv4l"
depends on BR2_TOOLCHAIN_HAS_THREADS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
select BR2_PACKAGE_ARGP_STANDALONE if BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_MUSL
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
help
libv4l is a collection of libraries which adds a thin
abstraction layer on top of video4linux2 devices. libv4l
consists of 3 different libraries: libv4lconvert, libv4l1 and
libv4l2.
http://linuxtv.org/wiki/index.php/V4l-utils
if BR2_PACKAGE_LIBV4L
comment "libv4l JPEG support not enabled"
depends on !BR2_PACKAGE_JPEG
config BR2_PACKAGE_LIBV4L_UTILS
bool "v4l-utils tools"
depends on BR2_TOOLCHAIN_GCC_AT_LEAST_4_8 # C++11
help
v4l-utils is a collection of various video4linux and DVB
utilities.
Enable this if you want to build the following tools:
- cx18-ctl
- dvb-fe-tool, dvbv5-zap, dvbv5-scan, dvb-format-convert
- decode_tm6000
- ir-keytable
- media-ctl
- v4l2-compliance
- v4l2-ctl, cx18-ctl, ivtv-ctl
- v4l2-sysfs-path
- rds-ctl
- qv4l2 (if Qt is enabled)
comment "v4l-utils tools needs a toolchain w/ C++11"
depends on !BR2_TOOLCHAIN_GCC_AT_LEAST_4_8
endif
comment "libv4l needs a toolchain w/ threads, C++ and headers >= 3.0"
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0