Skip to content

Commit

Permalink
textproc/qstardict: update to 1.4
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
MaxBrazhnikov committed Nov 14, 2023
1 parent 66512b7 commit b17001c
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 19 deletions.
21 changes: 7 additions & 14 deletions textproc/qstardict/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
6 changes: 3 additions & 3 deletions textproc/qstardict/distinfo
Original file line number Diff line number Diff line change
@@ -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
34 changes: 32 additions & 2 deletions textproc/qstardict/pkg-plist
Original file line number Diff line number Diff line change
@@ -1,23 +1,53 @@
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
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%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
%%DATADIR%%/translations/qstardict-lt_LT.qm
%%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

0 comments on commit b17001c

Please sign in to comment.