Initial Commit
- initial default booting image
This commit is contained in:
36
package/zxing-cpp/Config.in
Normal file
36
package/zxing-cpp/Config.in
Normal 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
|
||||
5
package/zxing-cpp/zxing-cpp.hash
Normal file
5
package/zxing-cpp/zxing-cpp.hash
Normal file
@@ -0,0 +1,5 @@
|
||||
# Locally calculated
|
||||
sha256 64e4139103fdbc57752698ee15b5f0b0f7af9a0331ecbdc492047e0772c417ba zxing-cpp-2.3.0.tar.gz
|
||||
|
||||
# License files
|
||||
sha256 c6596eb7be8581c18be736c846fb9173b69eccf6ef94c5135893ec56bd92ba08 LICENSE
|
||||
32
package/zxing-cpp/zxing-cpp.mk
Normal file
32
package/zxing-cpp/zxing-cpp.mk
Normal 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))
|
||||
Reference in New Issue
Block a user