zxing-cpp: update to 2.0.0.

This commit is contained in:
mhmdanas 2023-02-17 16:59:42 +00:00 committed by Duncaen
parent 7b861787f8
commit 1fdb803ae9
No known key found for this signature in database
GPG key ID: 335C1D17EC3D6E35
2 changed files with 12 additions and 5 deletions

View file

@ -1612,7 +1612,7 @@ libKF5Kirigami2.so.5 kirigami2-5.47.0_1
libtaskmanager.so.6 plasma-workspace-5.8.4_1
libnotificationmanager.so.1 plasma-workspace-5.15.90_1
libKPipeWire.so.5 kpipewire-5.26.0_1
libZXing.so.1 zxing-cpp-1.2.0_1
libZXing.so.3 zxing-cpp-2.0.0_1
libfreerdp-client2.so.2 libfreerdp-2.2.0_3
libfreerdp2.so.2 libfreerdp-2.2.0_3
libwinpr2.so.2 libfreerdp-2.2.0_3

View file

@ -1,15 +1,22 @@
# Template file for 'zxing-cpp'
pkgname=zxing-cpp
version=1.2.0
version=2.0.0
revision=1
build_style=cmake
configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF"
configure_args="-DBUILD_EXAMPLES=OFF -DBUILD_BLACKBOX_TESTS=OFF -DBUILD_DEPENDENCIES=LOCAL"
checkdepends="gtest-devel"
short_desc="Multi-format 1D/2D barcode image processing library"
maintainer="John <me@johnnynator.dev>"
license="GPL-3.0-or-later"
license="Apache-2.0"
homepage="https://github.com/nu-book/zxing-cpp/"
distfiles="https://github.com/nu-book/zxing-cpp/archive/refs/tags/v${version}.tar.gz"
checksum=653d9e44195d86cf64a36af9ff3a1978ec5599df3882439fefa56e7064f55e8a
checksum=12b76b7005c30d34265fc20356d340da179b0b4d43d2c1b35bcca86776069f76
if [ "$XBPS_CHECK_PKGS" ]; then
configure_args+=" -DBUILD_UNIT_TESTS=ON"
else
configure_args+=" -DBUILD_UNIT_TESTS=OFF"
fi
zxing-cpp-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"