2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2011-03-07 18:21:18 +01:00
|
|
|
#
|
|
|
|
# libv4l
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
LIBV4L_VERSION = 1.0.1
|
2011-03-07 18:21:18 +01:00
|
|
|
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2
|
|
|
|
LIBV4L_SITE = http://linuxtv.org/downloads/v4l-utils/
|
|
|
|
LIBV4L_INSTALL_STAGING = YES
|
2014-07-05 23:07:40 +02:00
|
|
|
LIBV4L_DEPENDENCIES = host-pkgconf
|
2011-03-07 18:21:18 +01:00
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
# v4l-utils components have different licences, see v4l-utils.spec for details
|
|
|
|
LIBV4L_LICENSE = GPLv2+ (utilities), LGPLv2.1+ (libraries)
|
|
|
|
LIBV4L_LICENSE_FILES = COPYING COPYING.libv4l lib/libv4l1/libv4l1-kernelcode-license.txt
|
2011-04-05 12:05:08 +02:00
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_ARGP_STANDALONE),y)
|
|
|
|
LIBV4L_DEPENDENCIES += argp-standalone
|
|
|
|
LIBV4L_CONF_ENV += LIBS="-largp"
|
2011-03-07 18:21:18 +01:00
|
|
|
endif
|
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_JPEG),y)
|
|
|
|
LIBV4L_DEPENDENCIES += jpeg
|
|
|
|
LIBV4L_CONF_OPT += --with-jpeg
|
|
|
|
else
|
|
|
|
LIBV4L_CONF_OPT += --without-jpeg
|
|
|
|
endif
|
2011-03-07 18:21:18 +01:00
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
|
|
|
|
LIBV4L_CONF_OPT += --enable-v4l-utils
|
|
|
|
else
|
|
|
|
LIBV4L_CONF_OPT += --disable-v4l-utils
|
|
|
|
endif
|
2011-03-07 18:21:18 +01:00
|
|
|
|
2014-07-05 23:07:40 +02:00
|
|
|
$(eval $(autotools-package))
|