Initial Commit
- initial default booting image
This commit is contained in:
17
package/zbar/Config.in
Normal file
17
package/zbar/Config.in
Normal file
@@ -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
|
||||
3
package/zbar/zbar.hash
Normal file
3
package/zbar/zbar.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally computed:
|
||||
sha256 83be8f85fc7c288fd91f98d52fc55db7eedbddcf10a83d9221d7034636683fa0 zbar-0.23.93.tar.bz2
|
||||
sha256 44260f9252c7fe38ba8dfb645330504f4a375e3a5e9dd7d5d6b9f04adb4952f1 LICENSE.md
|
||||
49
package/zbar/zbar.mk
Normal file
49
package/zbar/zbar.mk
Normal file
@@ -0,0 +1,49 @@
|
||||
################################################################################
|
||||
#
|
||||
# zbar
|
||||
#
|
||||
################################################################################
|
||||
|
||||
ZBAR_VERSION = 0.23.93
|
||||
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_CPE_ID_VALID = YES
|
||||
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-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_IMAGEMAGICK),y)
|
||||
ZBAR_DEPENDENCIES += imagemagick
|
||||
ZBAR_CONF_OPTS += --with-imagemagick
|
||||
else
|
||||
ZBAR_CONF_OPTS += --without-imagemagick
|
||||
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