aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Chen <jonc@chen.org.nz>2023-08-21 20:53:00 +0000
committerWen Heping <wen@FreeBSD.org>2023-08-22 23:04:13 +0000
commitddc4f876ed58d9334f81abf97acacc9c588b1171 (patch)
tree8c76906ffcdc6a4e2db4812d16058ee63f4dbf74
parent287a7ddd9b6935b8eb93775b6940eb8060e2ea31 (diff)
downloadports-ddc4f876ed58d9334f81abf97acacc9c588b1171.tar.gz
ports-ddc4f876ed58d9334f81abf97acacc9c588b1171.zip
textproc/sigil: Update to 2.0.0
PR: 273272 Reported by: jonc@chen.org.nz(maintainer)
-rw-r--r--textproc/sigil/Makefile17
-rw-r--r--textproc/sigil/distinfo6
-rw-r--r--textproc/sigil/pkg-plist3
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