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 # v4l-utils components have different licences, see v4l-utils.spec for details
15 LIBV4L_LICENSE
= GPLv2
+ (utilities
), LGPLv2.1
+ (libraries
)
16 LIBV4L_LICENSE_FILES
= COPYING COPYING.libv4l lib
/libv4l1
/libv4l1-kernelcode-license.txt
18 ifeq ($(BR2_PACKAGE_ARGP_STANDALONE
),y
)
19 LIBV4L_DEPENDENCIES
+= argp-standalone
23 LIBV4L_DEPENDENCIES
+= $(if
$(BR2_PACKAGE_LIBICONV
),libiconv
)
25 ifeq ($(BR2_PACKAGE_JPEG
),y
)
26 LIBV4L_DEPENDENCIES
+= jpeg
27 LIBV4L_CONF_OPTS
+= --with-jpeg
29 LIBV4L_CONF_OPTS
+= --without-jpeg
32 ifeq ($(BR2_PACKAGE_HAS_UDEV
),y
)
33 LIBV4L_CONF_OPTS
+= --with-libudev
34 LIBV4L_DEPENDENCIES
+= udev
36 LIBV4L_CONF_OPTS
+= --without-libudev
39 ifeq ($(BR2_PACKAGE_LIBV4L_UTILS
),y
)
40 LIBV4L_CONF_OPTS
+= --enable-v4l-utils
41 # clock_gettime is used, which is provided by librt for glibc < 2.17
44 LIBV4L_CONF_OPTS
+= --disable-v4l-utils
47 LIBV4L_CONF_ENV
+= LIBS
="$(LIBV4L_LIBS)"
49 $(eval
$(autotools-package
))