diff --git a/pkg.info b/pkg.info index 98590bb..6b9baaf 100644 --- a/pkg.info +++ b/pkg.info @@ -1,7 +1,7 @@ name: zxing-cpp description: C++ port of ZXing version: 3.0.1 -revision: 1 +revision: 2 url: https://github.com/zxing-cpp/zxing-cpp license: Apache-2.0 maintainers: @@ -11,8 +11,15 @@ type: source depends: - gcc-libs - glibc + - zint +optional_depends: + - qt6-multimedia:For ZXingQtCamReader make_depends: - cmake + - opencv + - qt6-base + - qt6-declarative + - qt6-multimedia check_depends: - googletest downloads: diff --git a/source.sh b/source.sh index 540d9e6..43fd2a8 100644 --- a/source.sh +++ b/source.sh @@ -8,6 +8,7 @@ build() { cmake -B build \ -DCMAKE_INSTALL_PREFIX=/usr \ -DZXING_EXAMPLES=ON \ + -DZXING_EXAMPLES_QT=ON \ -DZXING_C_API=ON \ -DZXING_USE_BUNDLED_ZINT=OFF \ -DZXING_WRITERS=BOTH \