From da2dc986ff91a38cb64d1666b01f0e9be37f4683 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Fri, 17 Feb 2023 16:59:42 +0000 Subject: [PATCH 1/3] zxing-cpp: update to 2.0.0. --- common/shlibs | 2 +- srcpkgs/zxing-cpp/template | 15 +++++++++++---- 2 files changed, 12 insertions(+), 5 deletions(-) diff --git a/common/shlibs b/common/shlibs index 0c1d545fbe27..ecc9d1955f89 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1603,7 +1603,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 diff --git a/srcpkgs/zxing-cpp/template b/srcpkgs/zxing-cpp/template index 8bc0a8a2b89b..8c3f10f294bf 100644 --- a/srcpkgs/zxing-cpp/template +++ b/srcpkgs/zxing-cpp/template @@ -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 " -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}" From 88fd73aa0acb62cfd340f818f1c580ba9004a1b2 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Fri, 17 Feb 2023 17:01:55 +0000 Subject: [PATCH 2/3] libreoffice: revbump for zxing-cpp-2.0.0. --- srcpkgs/libreoffice/template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/srcpkgs/libreoffice/template b/srcpkgs/libreoffice/template index 11e023847f1e..ebc76272d6d8 100644 --- a/srcpkgs/libreoffice/template +++ b/srcpkgs/libreoffice/template @@ -1,7 +1,7 @@ # Template file for 'libreoffice' pkgname=libreoffice version=7.4.3.2 -revision=1 +revision=2 build_style=meta make_build_target="build" nocross="Several dependencies are nocross=yes" From 30bb0227e3ed799af1182aa8de14f3fc59d30d54 Mon Sep 17 00:00:00 2001 From: mhmdanas Date: Fri, 17 Feb 2023 17:01:55 +0000 Subject: [PATCH 3/3] prison: revbump for zxing-cpp-2.0.0. --- srcpkgs/prison/template | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/srcpkgs/prison/template b/srcpkgs/prison/template index b5f4fa4f52b9..1294e2923c33 100644 --- a/srcpkgs/prison/template +++ b/srcpkgs/prison/template @@ -1,7 +1,7 @@ # Template file for 'prison' pkgname=prison version=5.103.0 -revision=1 +revision=2 build_style=cmake hostmakedepends="kcoreaddons extra-cmake-modules qt5-tools doxygen qt5-declarative-devel qt5-qmake qt5-host-tools" @@ -14,6 +14,12 @@ homepage="https://community.kde.org/Frameworks" distfiles="${KDE_SITE}/frameworks/${version%.*}/prison-${version}.tar.xz" checksum=44c5f902fac041e6aeb2baa6f26a1b58b3531d500f40e0411e171d3607b0f288 +if [ "$XBPS_CHECK_PKGS" ]; then + configure_args="-DBUILD_TESTING=ON" +else + configure_args="-DBUILD_TESTING=OFF" +fi + post_install() { vlicense LICENSES/BSD-3-Clause.txt vlicense LICENSES/MIT.txt