Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
comment "zxing-cpp needs a toolchain w/ C++, wchar, dynamic library, threads"
depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \
BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS
config BR2_PACKAGE_ZXING_CPP
bool "zxing-cpp"
depends on !BR2_STATIC_LIBS
depends on BR2_USE_WCHAR
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_STB
select BR2_PACKAGE_PYTHON_PYBIND if BR2_PACKAGE_PYTHON3
select BR2_PACKAGE_ZXING_CPP_READERS if !BR2_PACKAGE_ZXING_CPP_WRITERS
help
ZXing-cpp (pronounced "zebra crossing") is an open-source,
multi-format 1D/2D barcode image processing library
implemented in Java, with ports to other languages. This
compiles the C++ port.
https://github.com/zxing-cpp/zxing-cpp
if BR2_PACKAGE_ZXING_CPP
config BR2_PACKAGE_ZXING_CPP_READERS
bool "readers support"
default y
help
Build with readers (decoders) support
config BR2_PACKAGE_ZXING_CPP_WRITERS
bool "writers support"
default y
help
Build with writers (encoders) support
endif # BR2_PACKAGE_ZXING_CPP

View File

@@ -0,0 +1,5 @@
# Locally calculated
sha256 64e4139103fdbc57752698ee15b5f0b0f7af9a0331ecbdc492047e0772c417ba zxing-cpp-2.3.0.tar.gz
# License files
sha256 c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08 LICENSE

View File

@@ -0,0 +1,32 @@
################################################################################
#
# zxing-cpp
#
################################################################################
ZXING_CPP_VERSION = 2.3.0
ZXING_CPP_SITE = $(call github,zxing-cpp,zxing-cpp,v$(ZXING_CPP_VERSION))
ZXING_CPP_LICENSE = Apache-2.0
ZXING_CPP_LICENSE_FILES = LICENSE
ZXING_CPP_INSTALL_STAGING = YES
ZXING_CPP_SUPPORTS_IN_SOURCE_BUILD = NO
ZXING_CPP_DEPENDENCIES = host-pkgconf stb
ZXING_CPP_CONF_OPTS = \
-DBUILD_BLACKBOX_TESTS=OFF \
-DBUILD_UNIT_TESTS=OFF \
-DBUILD_DEPENDENCIES=LOCAL \
-DBUILD_PYTHON_MODULE=OFF
ifeq ($(BR2_PACKAGE_ZXING_CPP_READERS),y)
ZXING_CPP_CONF_OPTS += -DBUILD_READERS=ON
else
ZXING_CPP_CONF_OPTS += -DBUILD_READERS=OFF
endif
ifeq ($(BR2_PACKAGE_ZXING_CPP_WRITERS),y)
ZXING_CPP_CONF_OPTS += -DBUILD_WRITERS=ON
else
ZXING_CPP_CONF_OPTS += -DBUILD_WRITERS=OFF
endif
$(eval $(cmake-package))