git: 2d88acdf4303 - main - textproc/zxing-cpp: Update to 3.0.2

Max Brazhnikov <[email protected]> Sat, 01 Aug 2026 19:29:13 +0000
Newsgroups gmane.os.freebsd.devel.cvs.ports
Message-ID <[email protected]>
The branch main has been updated by makc:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2d88acdf430315f69f8974645b0a076c8a113c39

commit 2d88acdf430315f69f8974645b0a076c8a113c39
Author:     Max Brazhnikov <[email protected]>
AuthorDate: 2026-08-01 19:27:20 +0000
Commit:     Max Brazhnikov <[email protected]>
CommitDate: 2026-08-01 19:27:20 +0000

    textproc/zxing-cpp: Update to 3.0.2
    
    Release notes:  https://github.com/zxing-cpp/zxing-cpp/releases/tag/v3.0.0
                    https://github.com/zxing-cpp/zxing-cpp/releases/tag/v3.0.1
                    https://github.com/zxing-cpp/zxing-cpp/releases/tag/v3.0.2
    
    PR:             293675
    Co-authored-by: Daniel Engberg <[email protected]>
---
 textproc/zxing-cpp/Makefile  | 16 ++++++----------
 textproc/zxing-cpp/distinfo  |  6 +++---
 textproc/zxing-cpp/pkg-plist | 19 +++++++------------
 3 files changed, 16 insertions(+), 25 deletions(-)

diff --git a/textproc/zxing-cpp/Makefile b/textproc/zxing-cpp/Makefile
index 10a974876801..8334d0331eb7 100644
--- a/textproc/zxing-cpp/Makefile
+++ b/textproc/zxing-cpp/Makefile
@@ -1,7 +1,7 @@
 PORTNAME=	zxing-cpp
-DISTVERSIONPREFIX=	v
-DISTVERSION=	2.3.0
+DISTVERSION=	3.0.2
 CATEGORIES=	textproc
+MASTER_SITES=	https://github.com/${PORTNAME}/${PORTNAME}/releases/download/v${DISTVERSION}/
 
 MAINTAINER=	[email protected]
 COMMENT=	C++ library for linear/matrix barcode recognition
@@ -10,18 +10,14 @@ WWW=		https://github.com/zxing-cpp/zxing-cpp
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
+BUILD_DEPENDS=	${LOCALBASE}/libdata/pkgconfig/stb.pc:devel/stb
 TEST_DEPENDS=	googletest>0:devel/googletest
 
-USES=		cmake:testing compiler:c++20-lang iconv pathfix
-USE_GITHUB=	yes
+USES=		cmake:testing compiler:c++20-lang iconv pathfix pkgconfig
 USE_LDCONFIG=	yes
 
-CMAKE_ON=	BUILD_SHARED_LIBS
-# Disable
-# * examples (no installation target)
-# * blackbox test (fetches third party source)
-CMAKE_OFF=	BUILD_EXAMPLES \
-		BUILD_BLACKBOX_TESTS
+CMAKE_ARGS=	-DZXING_WRITERS=BOTH
+CMAKE_OFF=	ZXING_EXAMPLES
 CMAKE_TESTING_ON=	ZXING_UNIT_TESTS
 
 PLIST_SUB=	SOVERSION=${DISTVERSION}
diff --git a/textproc/zxing-cpp/distinfo b/textproc/zxing-cpp/distinfo
index 95c06b18a597..6f4c1c320fa4 100644
--- a/textproc/zxing-cpp/distinfo
+++ b/textproc/zxing-cpp/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1736003728
-SHA256 (zxing-cpp-zxing-cpp-v2.3.0_GH0.tar.gz) = 64e4139103fdbc57752698ee15b5f0b0f7af9a0331ecbdc492047e0772c417ba
-SIZE (zxing-cpp-zxing-cpp-v2.3.0_GH0.tar.gz) = 1008541
+TIMESTAMP = 1771669332
+SHA256 (zxing-cpp-3.0.2.tar.gz) = e957f13e2ad4e31badb3d9af3f6ba8999a3ca3c9cc4d6bafc98032f9cce1a090
+SIZE (zxing-cpp-3.0.2.tar.gz) = 1563635
diff --git a/textproc/zxing-cpp/pkg-plist b/textproc/zxing-cpp/pkg-plist
index 5b3729939a4e..e21da2dde75a 100644
--- a/textproc/zxing-cpp/pkg-plist
+++ b/textproc/zxing-cpp/pkg-plist
@@ -1,35 +1,30 @@
 include/ZXing/Barcode.h
 include/ZXing/BarcodeFormat.h
-include/ZXing/BitHacks.h
 include/ZXing/BitMatrix.h
 include/ZXing/BitMatrixIO.h
-include/ZXing/ByteArray.h
 include/ZXing/CharacterSet.h
-include/ZXing/Content.h
-include/ZXing/DecodeHints.h
+include/ZXing/ContentType.h
+include/ZXing/CreateBarcode.h
 include/ZXing/Error.h
-include/ZXing/Flags.h
 include/ZXing/GTIN.h
 include/ZXing/ImageView.h
 include/ZXing/Matrix.h
 include/ZXing/MultiFormatWriter.h
 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
 include/ZXing/Version.h
-include/ZXing/ZXAlgorithms.h
-include/ZXing/ZXingCpp.h
+include/ZXing/WriteBarcode.h
 include/ZXing/ZXVersion.h
+include/ZXing/ZXingC.h
+include/ZXing/ZXingCpp.h
+include/ZXing/ZXingQt.h
 lib/cmake/ZXing/ZXingConfig.cmake
 lib/cmake/ZXing/ZXingConfigVersion.cmake
 lib/cmake/ZXing/ZXingTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/ZXing/ZXingTargets.cmake
 lib/libZXing.so
 lib/libZXing.so.%%SOVERSION%%
-lib/libZXing.so.3
+lib/libZXing.so.4
 libdata/pkgconfig/zxing.pc