1 ################################################################################
5 ################################################################################
8 LIBV4L_SOURCE
= v4l-utils-
$(LIBV4L_VERSION
).
tar.bz2
9 LIBV4L_SITE
= http
://linuxtv.org
/downloads
/v4l-utils
10 LIBV4L_INSTALL_STAGING
= YES
11 LIBV4L_DEPENDENCIES
= host-pkgconf
12 LIBV4L_CONF_OPTS
= --disable-doxygen-doc
14 # fix uclibc-ng configure/compile
15 LIBV4L_CONF_ENV
= ac_cv_prog_cc_c99
='-std=gnu99'
17 # v4l-utils components have different licences, see v4l-utils.spec for details
18 LIBV4L_LICENSE
= GPLv2
+ (utilities
), LGPLv2.1
+ (libraries
)
19 LIBV4L_LICENSE_FILES
= COPYING COPYING.libv4l lib
/libv4l1
/libv4l1-kernelcode-license.txt
21 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE
),y
)
22 LIBV4L_DEPENDENCIES
+= argp-standalone
26 LIBV4L_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
28 ifeq ($(BR2_PACKAGE_JPEG
),y
)
29 LIBV4L_DEPENDENCIES
+= jpeg
30 LIBV4L_CONF_OPTS
+= --with-jpeg
32 LIBV4L_CONF_OPTS
+= --without-jpeg
35 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
36 LIBV4L_CONF_OPTS
+= --with-libudev
37 LIBV4L_DEPENDENCIES
+= udev
39 LIBV4L_CONF_OPTS
+= --without-libudev
42 ifeq ($(BR2_PACKAGE_LIBV4L_UTILS
),y
)
43 LIBV4L_CONF_OPTS
+= --enable-v4l-utils
44 # clock_gettime is used, which is provided by librt for glibc < 2.17
47 LIBV4L_CONF_OPTS
+= --disable-v4l-utils
50 LIBV4L_CONF_ENV
+= LIBS
="$(LIBV4L_LIBS)"
52 $(eval
$(autotools-package
))