e1e9c7daa9
Add missing libintl linking to utils/dvb and utils/keytable (patch Makefile.am and do autoreconf with host-gettext dependency). Patch submitted upstream (see [2]). Add proper gettext dependency for v4l-utils option. Fixes [1]: dvb-format-convert.o: In function `parse_opt': dvb-format-convert.c:(.text+0x46): undefined reference to `libintl_gettext' [1] http://autobuild.buildroot.net/results/40a/40a12c0d1746dcc51e4f221eefbbf31bd427cac8 [2] http://permalink.gmane.org/gmane.linux.drivers.video-input-infrastructure/95883 Signed-off-by: Peter Seiderer <ps.report@gmx.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
48 lines
1.6 KiB
Plaintext
48 lines
1.6 KiB
Plaintext
config BR2_PACKAGE_LIBV4L
|
|
bool "libv4l"
|
|
depends on BR2_TOOLCHAIN_HAS_THREADS
|
|
depends on BR2_USE_MMU # fork()
|
|
depends on !BR2_STATIC_LIBS # dlopen()
|
|
depends on BR2_INSTALL_LIBSTDCPP
|
|
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # media headers
|
|
# wait for libv4l 1.7+ for musl compatibility
|
|
depends on BR2_TOOLCHAIN_USES_GLIBC || BR2_TOOLCHAIN_USES_UCLIBC
|
|
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"
|
|
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
|
|
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)
|
|
|
|
endif
|
|
|
|
comment "libv4l needs an uClibc or (e)glibc toolchain w/ threads, dynamic library, C++ and headers >= 3.0"
|
|
depends on BR2_USE_MMU
|
|
depends on !BR2_TOOLCHAIN_HAS_THREADS || BR2_STATIC_LIBS \
|
|
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 \
|
|
|| !(BR2_TOOLCHAIN_USES_UCLIBC || BR2_TOOLCHAIN_USES_GLIBC)
|