initial buildroot for linux 5.15
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_ZBAR
|
||||
bool "zbar"
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # libv4l
|
||||
depends on BR2_USE_MMU # libv4l
|
||||
depends on BR2_INSTALL_LIBSTDCPP # libv4l
|
||||
depends on BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0 # libv4l
|
||||
select BR2_PACKAGE_JPEG
|
||||
select BR2_PACKAGE_LIBV4L
|
||||
help
|
||||
QR and barcode scanner
|
||||
|
||||
https://git.linuxtv.org/zbar.git/about/
|
||||
|
||||
comment "zbar needs a toolchain w/ threads, C++ and headers >= 3.0"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_TOOLCHAIN_HAS_THREADS \
|
||||
|| !BR2_INSTALL_LIBSTDCPP || !BR2_TOOLCHAIN_HEADERS_AT_LEAST_3_0
|
||||
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 9152c8fb302b3891e1cb9cc719883d2f4ccd2483e3430783a2cf2d93bd5901ad zbar-0.23.90.tar.bz2
|
||||
sha256 44260f9252c7fe38ba8dfb645330504f4a375e3a5e9dd7d5d6b9f04adb4952f1 LICENSE.md
|
||||
@@ -0,0 +1,42 @@
|
||||
################################################################################
|
||||
#
|
||||
# zbar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZBAR_VERSION = 0.23.90
|
||||
ZBAR_SOURCE = zbar-$(ZBAR_VERSION).tar.bz2
|
||||
ZBAR_SITE = https://www.linuxtv.org/downloads/zbar
|
||||
ZBAR_LICENSE = LGPL-2.1+
|
||||
ZBAR_LICENSE_FILES = LICENSE.md
|
||||
ZBAR_INSTALL_STAGING = YES
|
||||
ZBAR_DEPENDENCIES = libv4l jpeg $(TARGET_NLS_DEPENDENCIES)
|
||||
# uses C99 features
|
||||
ZBAR_CONF_ENV = \
|
||||
CFLAGS="$(TARGET_CFLAGS) -std=gnu99" \
|
||||
LIBS=$(TARGET_NLS_LIBS)
|
||||
ZBAR_CONF_OPTS = \
|
||||
--disable-doc \
|
||||
--without-imagemagick \
|
||||
--without-qt \
|
||||
--without-qt5 \
|
||||
--without-gtk \
|
||||
--without-x \
|
||||
--without-java
|
||||
|
||||
ifeq ($(BR2_PACKAGE_DBUS),y)
|
||||
ZBAR_DEPENDENCIES += dbus
|
||||
ZBAR_CONF_OPTS += --with-dbus
|
||||
else
|
||||
ZBAR_CONF_OPTS += --without-dbus
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_PYTHON3),y)
|
||||
ZBAR_DEPENDENCIES += host-python3 python3
|
||||
ZBAR_CONF_OPTS += --with-python=python3
|
||||
ZBAR_CONF_ENV += PYTHON_CONFIG="$(STAGING_DIR)/usr/bin/python3-config"
|
||||
else
|
||||
ZBAR_CONF_OPTS += --with-python=no
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user