git: 046823a67c46 - main - textproc/zxing-cpp: Update to 2.2.1

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Thu, 14 Dec 2023 07:47:44 UTC
The branch main has been updated by jhale:

URL: https://cgit.FreeBSD.org/ports/commit/?id=046823a67c46495fd58a96790afbe182ffc6278e

commit 046823a67c46495fd58a96790afbe182ffc6278e
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2023-12-14 07:20:31 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2023-12-14 07:47:34 +0000

    textproc/zxing-cpp: Update to 2.2.1
    
    Update COMMENT and especially pkg-descr to be a bit more informative as
    to what this port actually does.
    
    Update WWW and remove GH_ACCOUNT. Project now redirects to an account by
    the same name as PORTNAME.
    
    https://github.com/zxing-cpp/zxing-cpp/releases/tag/v2.2.1
    https://github.com/zxing-cpp/zxing-cpp/releases/tag/v2.2.0
---
 textproc/zxing-cpp/Makefile  |  9 +++------
 textproc/zxing-cpp/distinfo  |  8 +++-----
 textproc/zxing-cpp/pkg-descr | 14 ++++++--------
 textproc/zxing-cpp/pkg-plist |  3 ++-
 4 files changed, 14 insertions(+), 20 deletions(-)

diff --git a/textproc/zxing-cpp/Makefile b/textproc/zxing-cpp/Makefile
index 7e0aeebbcf3a..912bc1a8c38c 100644
--- a/textproc/zxing-cpp/Makefile
+++ b/textproc/zxing-cpp/Makefile
@@ -1,20 +1,17 @@
 PORTNAME=	zxing-cpp
 DISTVERSIONPREFIX=	v
-DISTVERSION=	2.1.0
+DISTVERSION=	2.2.1
 CATEGORIES=	textproc
 
-PATCH_SITES=	https://github.com/zxing-cpp/zxing-cpp/commit/
-
 MAINTAINER=	kde@FreeBSD.org
-COMMENT=	ZXing C++ Library for QR code recognition
-WWW=		https://github.com/nu-book/zxing-cpp
+COMMENT=	C++ library for linear/matrix barcode recognition
+WWW=		https://github.com/zxing-cpp/zxing-cpp
 
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		cmake compiler:c++17-lang iconv
 USE_GITHUB=	yes
-GH_ACCOUNT=	nu-book
 USE_LDCONFIG=	yes
 
 CMAKE_ON=	BUILD_SHARED_LIBS
diff --git a/textproc/zxing-cpp/distinfo b/textproc/zxing-cpp/distinfo
index ab78a628caa3..483e99bd93c3 100644
--- a/textproc/zxing-cpp/distinfo
+++ b/textproc/zxing-cpp/distinfo
@@ -1,5 +1,3 @@
-TIMESTAMP = 1689105409
-SHA256 (nu-book-zxing-cpp-v2.1.0_GH0.tar.gz) = 6d54e403592ec7a143791c6526c1baafddf4c0897bb49b1af72b70a0f0c4a3fe
-SIZE (nu-book-zxing-cpp-v2.1.0_GH0.tar.gz) = 866787
-SHA256 (23c19c5f98602a4d69d1667fff99678308b28b5b.diff) = f3b68edc91a55ba24fd5b85f49b66458dab06f9a26ff991509dd13677707c1c8
-SIZE (23c19c5f98602a4d69d1667fff99678308b28b5b.diff) = 727
+TIMESTAMP = 1702517883
+SHA256 (zxing-cpp-zxing-cpp-v2.2.1_GH0.tar.gz) = 02078ae15f19f9d423a441f205b1d1bee32349ddda7467e2c84e8f08876f8635
+SIZE (zxing-cpp-zxing-cpp-v2.2.1_GH0.tar.gz) = 891055
diff --git a/textproc/zxing-cpp/pkg-descr b/textproc/zxing-cpp/pkg-descr
index 942c352c11ed..af0bc69aef58 100644
--- a/textproc/zxing-cpp/pkg-descr
+++ b/textproc/zxing-cpp/pkg-descr
@@ -1,9 +1,7 @@
-This project is a C++ port of ZXing Library.
+ZXing-C++ ("zebra crossing") is an open-source, multi-format
+linear/matrix barcode image processing library implemented in C++.
 
-Features
-    * In pure C++14, no third-party dependencies
-    * Stateless, thread-safe readers/generators
-    * Wrapper to create WinRT component
-    * Wrapper for Android
-    * Wrapper for WebAssembly
-    * Python binding
+It was originally ported from the Java ZXing Library, but has been
+developed further and now includes many improvements in terms of runtime
+and detection performance. It can both read and write barcodes in a
+number of formats.
diff --git a/textproc/zxing-cpp/pkg-plist b/textproc/zxing-cpp/pkg-plist
index 48de104c0de7..7ba8a02b982b 100644
--- a/textproc/zxing-cpp/pkg-plist
+++ b/textproc/zxing-cpp/pkg-plist
@@ -17,6 +17,7 @@ include/ZXing/Point.h
 include/ZXing/Quadrilateral.h
 include/ZXing/Range.h
 include/ZXing/ReadBarcode.h
+include/ZXing/ReaderOptions.h
 include/ZXing/Result.h
 include/ZXing/StructuredAppend.h
 include/ZXing/TextUtfEncoding.h
@@ -28,6 +29,6 @@ lib/cmake/ZXing/ZXingConfigVersion.cmake
 lib/cmake/ZXing/ZXingTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/ZXing/ZXingTargets.cmake
 lib/libZXing.so
-lib/libZXing.so.2.1.0
+lib/libZXing.so.2.2.1
 lib/libZXing.so.3
 libdata/pkgconfig/zxing.pc