git: ddc4f876ed58 - main - textproc/sigil: Update to 2.0.0

From: Wen Heping <wen_at_FreeBSD.org>
Date: Tue, 22 Aug 2023 23:05:45 UTC
The branch main has been updated by wen:

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

commit ddc4f876ed58d9334f81abf97acacc9c588b1171
Author:     Jonathan Chen <jonc@chen.org.nz>
AuthorDate: 2023-08-21 20:53:00 +0000
Commit:     Wen Heping <wen@FreeBSD.org>
CommitDate: 2023-08-22 23:04:13 +0000

    textproc/sigil: Update to 2.0.0
    
    PR:             273272
    Reported by:    jonc@chen.org.nz(maintainer)
---
 textproc/sigil/Makefile  | 17 ++++++++---------
 textproc/sigil/distinfo  |  6 +++---
 textproc/sigil/pkg-plist |  3 ++-
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/textproc/sigil/Makefile b/textproc/sigil/Makefile
index c6a0c9e06921..0e2b0469fdc0 100644
--- a/textproc/sigil/Makefile
+++ b/textproc/sigil/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	sigil
-PORTVERSION=	1.9.30
-PORTREVISION=	1
+PORTVERSION=	2.0.0
 CATEGORIES=	textproc
 
 MAINTAINER=	jonc@chen.org.nz
@@ -10,13 +9,14 @@ WWW=		https://sigil-ebook.com/
 LICENSE=	GPLv3+
 LICENSE_FILE=	${WRKSRC}/COPYING.txt
 
-LIB_DEPENDS=	libpcre.so:devel/pcre \
-		libhunspell-1.7.so:textproc/hunspell
+LIB_DEPENDS=	libpcre2-16.so:devel/pcre2 \
+		libhunspell-1.7.so:textproc/hunspell \
+		libGLX.so:graphics/libglvnd
 RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}dulwich>=0.15.0:devel/py-dulwich@${PY_FLAVOR} \
 		${PYTHON_PKGNAMEPREFIX}lxml>0:devel/py-lxml@${PY_FLAVOR}
 
 USES=		cmake cpe desktop-file-utils \
-		minizip pkgconfig python qt:5 shebangfix
+		minizip pkgconfig python qt:6 shebangfix
 CPE_VENDOR=	${PORTNAME}-ebook
 
 USE_GITHUB=	yes
@@ -25,15 +25,14 @@ GH_PROJECT=	Sigil
 
 USE_LDCONFIG=	${PREFIX}/lib/sigil
 
-USE_QT=		concurrent core declarative gui location network printsupport \
-		svg webchannel webengine widgets xml xmlpatterns \
-		buildtools:build linguisttools:build qmake:build \
+USE_QT=		base 5compat declarative location \
+		svg tools:build positioning webchannel webengine \
 		imageformats:run
 
 SHEBANG_FILES=	src/Resource_Files/plugin_launchers/python/*.py \
 		src/Resource_Files/python3lib/*.py
 
-CMAKE_ARGS=	-DUSE_SYSTEM_LIBS:BOOL=1
+CMAKE_ARGS=	-DUSE_SYSTEM_LIBS:BOOL=1 -DUSE_QT6=1
 
 # Upstream uses pkg-config output to pass libhunspell-1.7.so and
 # libpcre16.so to the linker. pkg-config output does not include full
diff --git a/textproc/sigil/distinfo b/textproc/sigil/distinfo
index de616cd67ecf..65ea81d42e2a 100644
--- a/textproc/sigil/distinfo
+++ b/textproc/sigil/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1679313754
-SHA256 (Sigil-Ebook-Sigil-1.9.30_GH0.tar.gz) = 262c43ec0ce9ea9486fc19074dd0a687a39d9df1829732e9006d8c5fbb242458
-SIZE (Sigil-Ebook-Sigil-1.9.30_GH0.tar.gz) = 26602897
+TIMESTAMP = 1692695485
+SHA256 (Sigil-Ebook-Sigil-2.0.0_GH0.tar.gz) = 934f2eb8ca569499f79137d054ac0986e85e4453b5666a2a628a12a448caec4c
+SIZE (Sigil-Ebook-Sigil-2.0.0_GH0.tar.gz) = 26777055
diff --git a/textproc/sigil/pkg-plist b/textproc/sigil/pkg-plist
index 1bf139a4bb76..6ce788e95109 100644
--- a/textproc/sigil/pkg-plist
+++ b/textproc/sigil/pkg-plist
@@ -100,6 +100,7 @@ share/pixmaps/sigil.png
 %%DATADIR%%/translations/sigil_fi.qm
 %%DATADIR%%/translations/sigil_fr.qm
 %%DATADIR%%/translations/sigil_gl.qm
+%%DATADIR%%/translations/sigil_hu_HU.qm
 %%DATADIR%%/translations/sigil_it.qm
 %%DATADIR%%/translations/sigil_ja.qm
 %%DATADIR%%/translations/sigil_ko.qm
@@ -111,6 +112,6 @@ share/pixmaps/sigil.png
 %%DATADIR%%/translations/sigil_sv.qm
 %%DATADIR%%/translations/sigil_th.qm
 %%DATADIR%%/translations/sigil_tr.qm
-%%DATADIR%%/translations/sigil_uk_UA.qm
+%%DATADIR%%/translations/sigil_uk.qm
 %%DATADIR%%/translations/sigil_zh_CN.qm
 %%DATADIR%%/translations/sigil_zh_TW.qm