1comment "zxing-cpp needs a toolchain w/ C++, wchar, dynamic library, threads" 2 depends on !BR2_INSTALL_LIBSTDCPP || !BR2_USE_WCHAR || \ 3 BR2_STATIC_LIBS || !BR2_TOOLCHAIN_HAS_THREADS 4 5config BR2_PACKAGE_ZXING_CPP 6 bool "zxing-cpp" 7 depends on !BR2_STATIC_LIBS 8 depends on BR2_USE_WCHAR 9 depends on BR2_INSTALL_LIBSTDCPP 10 depends on BR2_TOOLCHAIN_HAS_THREADS 11 select BR2_PACKAGE_STB 12 select BR2_PACKAGE_PYTHON_PYBIND if BR2_PACKAGE_PYTHON3 13 select BR2_PACKAGE_ZXING_CPP_READERS if !BR2_PACKAGE_ZXING_CPP_WRITERS 14 help 15 ZXing-cpp (pronounced "zebra crossing") is an open-source, 16 multi-format 1D/2D barcode image processing library 17 implemented in Java, with ports to other languages. This 18 compiles the C++ port. 19 20 https://github.com/zxing-cpp/zxing-cpp 21 22if BR2_PACKAGE_ZXING_CPP 23 24config BR2_PACKAGE_ZXING_CPP_READERS 25 bool "readers support" 26 default y 27 help 28 Build with readers (decoders) support 29 30config BR2_PACKAGE_ZXING_CPP_WRITERS 31 bool "writers support" 32 default y 33 help 34 Build with writers (encoders) support 35 36endif # BR2_PACKAGE_ZXING_CPP 37