Fix dependencies and enable QT examples
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: zxing-cpp
|
name: zxing-cpp
|
||||||
description: C++ port of ZXing
|
description: C++ port of ZXing
|
||||||
version: 3.0.1
|
version: 3.0.1
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://github.com/zxing-cpp/zxing-cpp
|
url: https://github.com/zxing-cpp/zxing-cpp
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
maintainers:
|
maintainers:
|
||||||
@@ -11,8 +11,15 @@ type: source
|
|||||||
depends:
|
depends:
|
||||||
- gcc-libs
|
- gcc-libs
|
||||||
- glibc
|
- glibc
|
||||||
|
- zint
|
||||||
|
optional_depends:
|
||||||
|
- qt6-multimedia:For ZXingQtCamReader
|
||||||
make_depends:
|
make_depends:
|
||||||
- cmake
|
- cmake
|
||||||
|
- opencv
|
||||||
|
- qt6-base
|
||||||
|
- qt6-declarative
|
||||||
|
- qt6-multimedia
|
||||||
check_depends:
|
check_depends:
|
||||||
- googletest
|
- googletest
|
||||||
downloads:
|
downloads:
|
||||||
|
|||||||
@@ -8,6 +8,7 @@ build() {
|
|||||||
cmake -B build \
|
cmake -B build \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
-DZXING_EXAMPLES=ON \
|
-DZXING_EXAMPLES=ON \
|
||||||
|
-DZXING_EXAMPLES_QT=ON \
|
||||||
-DZXING_C_API=ON \
|
-DZXING_C_API=ON \
|
||||||
-DZXING_USE_BUNDLED_ZINT=OFF \
|
-DZXING_USE_BUNDLED_ZINT=OFF \
|
||||||
-DZXING_WRITERS=BOTH \
|
-DZXING_WRITERS=BOTH \
|
||||||
|
|||||||
Reference in New Issue
Block a user