git: b17001c8eb71 - main - textproc/qstardict: update to 1.4

From: Max Brazhnikov <makc_at_FreeBSD.org>
Date: Tue, 14 Nov 2023 19:28:19 UTC
The branch main has been updated by makc:

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

commit b17001c8eb710f442cc545120e22686cdd65832b
Author:     Max Brazhnikov <makc@FreeBSD.org>
AuthorDate: 2023-11-14 19:27:53 +0000
Commit:     Max Brazhnikov <makc@FreeBSD.org>
CommitDate: 2023-11-14 19:27:53 +0000

    textproc/qstardict: update to 1.4
    
    - Remove KDE option: upstream has dropped support for KDE
    - Use https:// for WWW
    - Download tarball from the main site: the project has moved from github
---
 textproc/qstardict/Makefile  | 21 +++++++--------------
 textproc/qstardict/distinfo  |  6 +++---
 textproc/qstardict/pkg-plist | 34 ++++++++++++++++++++++++++++++++--
 3 files changed, 42 insertions(+), 19 deletions(-)

diff --git a/textproc/qstardict/Makefile b/textproc/qstardict/Makefile
index 5efcd583344c..be029cb39b00 100644
--- a/textproc/qstardict/Makefile
+++ b/textproc/qstardict/Makefile
@@ -1,36 +1,29 @@
 PORTNAME=	qstardict
-DISTVERSIONPREFIX=	qstardict-
-DISTVERSION=	1.3
-PORTREVISION=	2
+DISTVERSION=	1.4
 CATEGORIES=	textproc
+MASTER_SITES=	https://qstardict.ylsoftware.com/files/
 
 MAINTAINER=	makc@FreeBSD.org
 COMMENT=	Qt based dictionary program (stardict clone)
-WWW=		http://qstardict.ylsoftware.com/
+WWW=		https://qstardict.ylsoftware.com/
 
 LICENSE=	GPLv2+
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-USES=		compiler:c++11-lang gl gnome pkgconfig qmake qt:5 tar:bzip2 xorg
+LIB_DEPENDS=	libzim.so:devel/libzim
+
+USES=		compiler:c++17-lang gl gnome pkgconfig qmake qt:5 xorg
 USE_GL=		gl
 USE_GNOME=	glib20
 USE_QT=		core dbus gui network printsupport widgets xml \
 		buildtools:build linguisttools:build qmake:build
 USE_XORG=	x11
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	a-rodin
-
 QMAKE_ARGS=	INSTALL_PREFIX=${PREFIX}
 
-OPTIONS_DEFINE=	DOCS KDE
+OPTIONS_DEFINE=	DOCS
 OPTIONS_SUB=	yes
 
-KDE_DESC=	KDE integration
-KDE_USES=	kde:5
-KDE_USE=	KDE=globalaccel,notifications,windowsystem
-KDE_QMAKE_ON=	"ENABLED_PLUGINS=stardict web kdeintegration"
-
 # Path to dictionaries installed by stardict-* ports
 DICPATH=	${LOCALBASE}/share/stardict/dic
 
diff --git a/textproc/qstardict/distinfo b/textproc/qstardict/distinfo
index cfaade15126d..2599d55c5639 100644
--- a/textproc/qstardict/distinfo
+++ b/textproc/qstardict/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1552147870
-SHA256 (a-rodin-qstardict-qstardict-1.3_GH0.tar.gz) = 9b083a3177407d66a17403742590471a0aa89a3d31df886926b79fa21e4d41a4
-SIZE (a-rodin-qstardict-qstardict-1.3_GH0.tar.gz) = 490595
+TIMESTAMP = 1699918830
+SHA256 (qstardict-1.4.tar.gz) = bba0504d22e57008d10d8facad9938c49332e967e4dfc71b853691d4e06b678b
+SIZE (qstardict-1.4.tar.gz) = 2339727
diff --git a/textproc/qstardict/pkg-plist b/textproc/qstardict/pkg-plist
index 2352e6bab3f9..7272a8d8647b 100644
--- a/textproc/qstardict/pkg-plist
+++ b/textproc/qstardict/pkg-plist
@@ -1,5 +1,7 @@
 bin/qstardict
-%%KDE%%lib/qstardict/plugins/libkdeintegration.so
+lib/qstardict/plugins/libkiwix.so
+lib/qstardict/plugins/libprint.so
+lib/qstardict/plugins/libsavetofile.so
 lib/qstardict/plugins/libstardict.so
 lib/qstardict/plugins/libweb.so
 share/applications/qstardict.desktop
@@ -7,10 +9,38 @@ share/applications/qstardict.desktop
 %%PORTDOCS%%%%DOCSDIR%%/COPYING
 %%PORTDOCS%%%%DOCSDIR%%/ChangeLog
 %%PORTDOCS%%%%DOCSDIR%%/THANKS
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/add-dialog-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/file-dialog-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/file-dialog-stardict.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/main-window-intro.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/notification-area.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/qstardict.svg
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/settings-dictionaries-add.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/settings-dictionaries-dict-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/settings-dictionaries-dict-stardict.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/settings-run-in-background.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/images/settings-start-with-system.png
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/index.html
+%%PORTDOCS%%%%DOCSDIR%%/en_GB/styles/style.css
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/add-dialog-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/file-dialog-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/file-dialog-stardict.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/main-window-intro.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/notification-area.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/qstardict.svg
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/settings-dictionaries-add.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/settings-dictionaries-dict-kiwix.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/settings-dictionaries-dict-stardict.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/settings-run-in-background.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/images/settings-start-with-system.png
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/index.html
+%%PORTDOCS%%%%DOCSDIR%%/ru_RU/styles/style.css
 share/icons/hicolor/scalable/apps/qstardict.svg
 %%DATADIR%%/translations/qstardict-bg_BG.qm
 %%DATADIR%%/translations/qstardict-cs_CZ.qm
 %%DATADIR%%/translations/qstardict-de_DE.qm
+%%DATADIR%%/translations/qstardict-el_GR.qm
+%%DATADIR%%/translations/qstardict-en_US.qm
 %%DATADIR%%/translations/qstardict-es_ES.qm
 %%DATADIR%%/translations/qstardict-fr_FR.qm
 %%DATADIR%%/translations/qstardict-it_IT.qm
@@ -18,6 +48,6 @@ share/icons/hicolor/scalable/apps/qstardict.svg
 %%DATADIR%%/translations/qstardict-pl_PL.qm
 %%DATADIR%%/translations/qstardict-pt_BR.qm
 %%DATADIR%%/translations/qstardict-ru_RU.qm
-%%DATADIR%%/translations/qstardict-ua_UA.qm
+%%DATADIR%%/translations/qstardict-uk_UA.qm
 %%DATADIR%%/translations/qstardict-zh_CN.qm
 %%DATADIR%%/translations/qstardict-zh_TW.qm