git: 884d27b94e35 - main - archivers/peazip: Update to 9.7.1

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Tue, 20 Feb 2024 04:17:25 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=884d27b94e35e2bed1f7f4e155a18070400d7c0b

commit 884d27b94e35e2bed1f7f4e155a18070400d7c0b
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2024-02-20 04:15:54 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2024-02-20 04:17:16 +0000

    archivers/peazip: Update to 9.7.1
    
    - Add support for qt6
---
 archivers/peazip/Makefile | 11 +++++------
 archivers/peazip/distinfo |  6 +++---
 2 files changed, 8 insertions(+), 9 deletions(-)

diff --git a/archivers/peazip/Makefile b/archivers/peazip/Makefile
index 262650b865ca..0274c60d2927 100644
--- a/archivers/peazip/Makefile
+++ b/archivers/peazip/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	peazip
-PORTVERSION=	9.6.0
-PORTREVISION=	0
+PORTVERSION=	9.7.1
 CATEGORIES=	archivers
 MASTER_SITES=	https://github.com/giorgiotani/PeaZip/releases/download/${PORTVERSION}/
 PKGNAMESUFFIX=	${LAZARUS_PKGNAMESUFFIX}
@@ -21,12 +20,12 @@ SUB_FILES=	pea peazip
 
 DOS2UNIX_REGEX=		.*\.([txt]|pas|lpi|txt)
 
-LAZARUS_NO_FLAVORS=	qt6
 LAZARUS_PROJECT_FILES=	dev/project_pea.lpi dev/project_peach.lpi
 LAZBUILD_ARGS=		-d
 
-gtk2_CONFLICTS_INSTALL=	${PORTNAME}-qt5
-qt5_CONFLICTS_INSTALL=	${PORTNAME}-gtk2
+gtk2_CONFLICTS_INSTALL=	${PORTNAME}-qt5 ${PORTNAME}-qt6
+qt5_CONFLICTS_INSTALL=	${PORTNAME}-gtk2 ${PORTNAME}-qt6
+qt6_CONFLICTS_INSTALL=	${PORTNAME}-gtk2 ${PORTNAME}-qt5
 
 ARCHIVER_FILES=		#
 
@@ -82,7 +81,7 @@ PLIST_SUB+=	UNACE="@comment "
 
 post-patch:
 	${REINPLACE_CMD} -e 's|GetSelectedNodePath|Path|g' \
-		-e 's|fileutil|LazFileUtils, fileutil|g' ${WRKSRC}/dev/peach.pas
+		-e 's|IFDEF LCLQT5|IF DEFINED\(LCLQT5\) OR DEFINED\(LCLQT6\)|g ' ${WRKSRC}/dev/peach.pas
 
 pre-install:
 	@${ECHO_CMD} "#" > ${WRKSRC}/altconf.txt
diff --git a/archivers/peazip/distinfo b/archivers/peazip/distinfo
index 0d7169710150..cf3ee0eee832 100644
--- a/archivers/peazip/distinfo
+++ b/archivers/peazip/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1703278293
-SHA256 (peazip-9.6.0.src.zip) = d8220cb729a943f52ad3617876369ce0c29bd9a43c37d4ede551b7002068f0e4
-SIZE (peazip-9.6.0.src.zip) = 5392377
+TIMESTAMP = 1708319702
+SHA256 (peazip-9.7.1.src.zip) = 18aed692f6300642d4b8ab6d5a2bbd2c5bc46d2c12d9ba693334d90e4cc0de16
+SIZE (peazip-9.7.1.src.zip) = 5481007