mirror of
https://gitlab.com/buildroot.org/buildroot.git
synced 2026-09-10 00:04:06 -09:00
package/libv4l: bump version to 1.28.1
Upstream switched to xz tarball and meson. Changelog: https://git.linuxtv.org/v4l-utils.git/tree/ChangeLog?h=stable-1.28 Signed-off-by: Bernd Kuhls <bernd@kuhls.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
committed by
Thomas Petazzoni
parent
90c386d1ec
commit
41ce1cc690
@@ -1,7 +1,7 @@
|
||||
# Locally calculated after checking signature
|
||||
# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.20.0.tar.bz2.asc
|
||||
# https://linuxtv.org/downloads/v4l-utils/v4l-utils-1.28.1.tar.xz.asc
|
||||
# with key 05D0169C26E41593418129DF199A64FADFB500FF
|
||||
sha256 cbb7fe8a6307f5ce533a05cded70bb93c3ba06395ab9b6d007eb53b75d805f5b v4l-utils-1.24.1.tar.bz2
|
||||
sha256 0fa075ce59b6618847af6ea191b6155565ccaa44de0504581ddfed795a328a82 v4l-utils-1.28.1.tar.xz
|
||||
|
||||
# Locally calculated
|
||||
sha256 391e4da1c54a422a78d83be7bf84b2dfb8bacdd8ad256fa4374e128655584a8a COPYING
|
||||
|
||||
@@ -4,19 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
LIBV4L_VERSION = 1.24.1
|
||||
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.bz2
|
||||
LIBV4L_VERSION = 1.28.1
|
||||
LIBV4L_SOURCE = v4l-utils-$(LIBV4L_VERSION).tar.xz
|
||||
LIBV4L_SITE = https://linuxtv.org/downloads/v4l-utils
|
||||
LIBV4L_INSTALL_STAGING = YES
|
||||
LIBV4L_DEPENDENCIES = host-pkgconf
|
||||
LIBV4L_CONF_OPTS = --disable-doxygen-doc --disable-qvidcap --disable-v4l2-tracer
|
||||
# needed to get utils/qv4l link flags right
|
||||
LIBV4L_AUTORECONF = YES
|
||||
# add host-gettext for AM_ICONV macro
|
||||
LIBV4L_DEPENDENCIES += host-gettext
|
||||
|
||||
# fix uclibc-ng configure/compile
|
||||
LIBV4L_CONF_ENV = ac_cv_prog_cc_c99='-std=gnu99'
|
||||
LIBV4L_CONF_OPTS = -Ddoxygen-doc=disabled -Dqvidcap=disabled -Dv4l2-tracer=disabled
|
||||
|
||||
# v4l-utils components have different licences, see v4l-utils.spec for details
|
||||
LIBV4L_LICENSE = GPL-2.0+ (utilities), LGPL-2.1+ (libraries)
|
||||
@@ -34,10 +27,10 @@ endif
|
||||
LIBV4L_DEPENDENCIES += $(if $(BR2_PACKAGE_LIBICONV),libiconv)
|
||||
|
||||
ifeq ($(BR2_PACKAGE_JPEG),y)
|
||||
LIBV4L_CONF_OPTS += -Djpeg=enabled
|
||||
LIBV4L_DEPENDENCIES += jpeg
|
||||
LIBV4L_CONF_OPTS += --with-jpeg
|
||||
else
|
||||
LIBV4L_CONF_OPTS += --without-jpeg
|
||||
LIBV4L_CONF_OPTS += -Djpeg=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
|
||||
@@ -45,10 +38,10 @@ LIBV4L_DEPENDENCIES += libgl
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
||||
LIBV4L_CONF_OPTS += --with-libudev --with-udevdir=/usr/lib/udev
|
||||
LIBV4L_CONF_OPTS += -Dlibdvbv5=enabled -Dudevdir=/usr/lib/udev
|
||||
LIBV4L_DEPENDENCIES += udev
|
||||
else
|
||||
LIBV4L_CONF_OPTS += --without-libudev
|
||||
LIBV4L_CONF_OPTS += -Dlibdvbv5=disabled
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBGLU),y)
|
||||
@@ -56,33 +49,25 @@ LIBV4L_DEPENDENCIES += libglu
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_LIBV4L_UTILS),y)
|
||||
LIBV4L_CONF_OPTS += --enable-v4l-utils
|
||||
LIBV4L_CONF_OPTS += -Dv4l-utils=true
|
||||
LIBV4L_DEPENDENCIES += $(TARGET_NLS_DEPENDENCIES)
|
||||
|
||||
# v4l2-ctl needs c++11, use gnu++11 for typeof support
|
||||
LIBV4L_CONF_ENV += CXXFLAGS="$(TARGET_CXXFLAGS) -std=gnu++11"
|
||||
|
||||
# IR BPF decoder support needs toolchain with linux-headers >= 3.18
|
||||
# libelf and clang support
|
||||
LIBV4L_CONF_OPTS += --disable-bpf
|
||||
LIBV4L_CONF_OPTS += -Dbpf=disabled
|
||||
|
||||
ifeq ($(BR2_PACKAGE_QT5BASE)$(BR2_PACKAGE_QT5BASE_GUI)$(BR2_PACKAGE_QT5BASE_WIDGETS),yyy)
|
||||
LIBV4L_CONF_OPTS += --enable-qv4l2
|
||||
LIBV4L_CONF_OPTS += -Dqv4l2=enabled
|
||||
LIBV4L_DEPENDENCIES += qt5base
|
||||
# protect against host version detection of moc-qt5/rcc-qt5/uic-qt5
|
||||
LIBV4L_CONF_ENV += \
|
||||
ac_cv_prog_MOC=$(HOST_DIR)/bin/moc \
|
||||
ac_cv_prog_RCC=$(HOST_DIR)/bin/rcc \
|
||||
ac_cv_prog_UIC=$(HOST_DIR)/bin/uic
|
||||
else
|
||||
LIBV4L_CONF_OPTS += --disable-qv4l2
|
||||
LIBV4L_CONF_OPTS += -Dqv4l2=disabled
|
||||
endif
|
||||
else
|
||||
LIBV4L_CONF_OPTS += --disable-v4l-utils
|
||||
LIBV4L_CONF_OPTS += -Dv4l-utils=false
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_SDL2_IMAGE),y)
|
||||
LIBV4L_DEPENDENCIES += sdl2_image
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
$(eval $(meson-package))
|
||||
|
||||
Reference in New Issue
Block a user