Config.in 1.0 KB

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