Date: Tue, 17 Dec 2024 00:58:58 GMT From: Robert Clausecker <fuz@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 90396abe6ba1 - main - textproc/goldendict-ng: Advanced dictionary lookup program, supporting many formats Message-ID: <202412170058.4BH0wwRv094804@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz: URL: https://cgit.FreeBSD.org/ports/commit/?id=90396abe6ba1d754808eac9286e372650e11ac7d commit 90396abe6ba1d754808eac9286e372650e11ac7d Author: mew14930xvi <mew14930xvi@inbox.lv> AuthorDate: 2024-12-11 15:21:52 +0000 Commit: Robert Clausecker <fuz@FreeBSD.org> CommitDate: 2024-12-17 00:31:51 +0000 textproc/goldendict-ng: Advanced dictionary lookup program, supporting many formats GoldenDict-ng is an advanced dictionary lookup program. Supports many dictionary formats, such as MDX, DSL, StarDict, Zim... Presents lookup results of multiple dictionaries in the same page. Supports special types of "dictionaries", such as external program, website, audio files... WWW: https://xiaoyifang.github.io/goldendict-ng/ --- textproc/Makefile | 1 + textproc/goldendict-ng/Makefile | 45 ++++++++++++++++++++++++++++++++++++ textproc/goldendict-ng/distinfo | 3 +++ textproc/goldendict-ng/pkg-descr | 6 +++++ textproc/goldendict-ng/pkg-plist | 50 ++++++++++++++++++++++++++++++++++++++++ 5 files changed, 105 insertions(+) diff --git a/textproc/Makefile b/textproc/Makefile index 3ad9aad24141..175c553b9f2a 100644 --- a/textproc/Makefile +++ b/textproc/Makefile @@ -254,6 +254,7 @@ SUBDIR += go-yq SUBDIR += gojq SUBDIR += goldendict + SUBDIR += goldendict-ng SUBDIR += google-ctemplate SUBDIR += gpp SUBDIR += grap diff --git a/textproc/goldendict-ng/Makefile b/textproc/goldendict-ng/Makefile new file mode 100644 index 000000000000..fbdceeb9d829 --- /dev/null +++ b/textproc/goldendict-ng/Makefile @@ -0,0 +1,45 @@ +PORTNAME= goldendict-ng +DISTVERSIONPREFIX= v +DISTVERSION= 24.09.1 +CATEGORIES= textproc + +MAINTAINER= mew14930xvi@inbox.lv +COMMENT= Advanced dictionary lookup program, supporting many formats +WWW= https://xiaoyifang.github.io/goldendict-ng/ + +LICENSE= GPLv3+ +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= libavutil.so:multimedia/ffmpeg \ + libfmt.so:devel/libfmt \ + libhunspell-1.7.so:textproc/hunspell \ + libicui18n.so:devel/icu \ + liblzo2.so:archivers/lzo2 \ + libopencc.so:chinese/opencc \ + libtomlplusplus.so:devel/tomlplusplus \ + libvorbis.so:audio/libvorbis \ + libxapian.so:databases/xapian-core \ + libzim.so:devel/libzim \ + libzstd.so:archivers/zstd + +USES= cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 \ + xorg +USE_GITHUB= yes +GH_ACCOUNT= xiaoyifang +GH_TAGNAME= ca9dd13 +USE_GL= opengl +USE_QT= 5compat base declarative multimedia positioning svg webchannel \ + webengine tools:build +USE_XORG= ice sm x11 xext xtst + +CMAKE_ON= USE_ALTERNATIVE_NAME USE_SYSTEM_FMT USE_SYSTEM_TOML +CONFIGURE_WRKSRC= ${WRKSRC}/build_dir + +OPTIONS_DEFINE= EPWING +OPTIONS_DEFAULT= EPWING + +EPWING_DESC= Japanese EPWING dictionary format support +EPWING_LIB_DEPENDS= libeb.so:japanese/eb +EPWING_CMAKE_OFF= -DWITH_EPWING_SUPPORT=OFF + +.include <bsd.port.mk> diff --git a/textproc/goldendict-ng/distinfo b/textproc/goldendict-ng/distinfo new file mode 100644 index 000000000000..cc68c6ac997a --- /dev/null +++ b/textproc/goldendict-ng/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1731954321 +SHA256 (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = dd3a26b9c596f7cde98e93ee58b8f3e68200b363e34723c0ed5b41a8e2369260 +SIZE (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = 5701341 diff --git a/textproc/goldendict-ng/pkg-descr b/textproc/goldendict-ng/pkg-descr new file mode 100644 index 000000000000..ec3c96c0d145 --- /dev/null +++ b/textproc/goldendict-ng/pkg-descr @@ -0,0 +1,6 @@ +GoldenDict-ng is an advanced dictionary lookup program. + +Supports many dictionary formats, such as MDX, DSL, StarDict, Zim... +Presents lookup results of multiple dictionaries in the same page. +Supports special types of "dictionaries", such as external program, +website, audio files... diff --git a/textproc/goldendict-ng/pkg-plist b/textproc/goldendict-ng/pkg-plist new file mode 100644 index 000000000000..6c2d0fa56529 --- /dev/null +++ b/textproc/goldendict-ng/pkg-plist @@ -0,0 +1,50 @@ +bin/goldendict-ng +share/applications/io.github.xiaoyifang.goldendict_ng.desktop +share/metainfo/io.github.xiaoyifang.goldendict_ng.metainfo.xml +share/pixmaps/goldendict-ng.png +%%DATADIR%%/locale/ar_SA.qm +%%DATADIR%%/locale/ay_BO.qm +%%DATADIR%%/locale/be_BY.qm +%%DATADIR%%/locale/bg_BG.qm +%%DATADIR%%/locale/crowdin.qm +%%DATADIR%%/locale/cs_CZ.qm +%%DATADIR%%/locale/de_CH.qm +%%DATADIR%%/locale/de_DE.qm +%%DATADIR%%/locale/el_GR.qm +%%DATADIR%%/locale/eo_UY.qm +%%DATADIR%%/locale/es_AR.qm +%%DATADIR%%/locale/es_BO.qm +%%DATADIR%%/locale/es_ES.qm +%%DATADIR%%/locale/fa_IR.qm +%%DATADIR%%/locale/fi_FI.qm +%%DATADIR%%/locale/fr_FR.qm +%%DATADIR%%/locale/hi_IN.qm +%%DATADIR%%/locale/hu_HU.qm +%%DATADIR%%/locale/ie_001.qm +%%DATADIR%%/locale/it_IT.qm +%%DATADIR%%/locale/ja_JP.qm +%%DATADIR%%/locale/jbo_EN.qm +%%DATADIR%%/locale/ko_KR.qm +%%DATADIR%%/locale/lt_LT.qm +%%DATADIR%%/locale/mk_MK.qm +%%DATADIR%%/locale/nl_NL.qm +%%DATADIR%%/locale/pl_PL.qm +%%DATADIR%%/locale/pt_BR.qm +%%DATADIR%%/locale/pt_PT.qm +%%DATADIR%%/locale/qt_extra_es.qm +%%DATADIR%%/locale/qt_extra_it.qm +%%DATADIR%%/locale/qt_extra_lt.qm +%%DATADIR%%/locale/qtwebengine_zh_CN.qm +%%DATADIR%%/locale/qu_PE.qm +%%DATADIR%%/locale/ru_RU.qm +%%DATADIR%%/locale/sk_SK.qm +%%DATADIR%%/locale/sq_AL.qm +%%DATADIR%%/locale/sr_SP.qm +%%DATADIR%%/locale/sv_SE.qm +%%DATADIR%%/locale/tg_TJ.qm +%%DATADIR%%/locale/tk_TM.qm +%%DATADIR%%/locale/tr_TR.qm +%%DATADIR%%/locale/uk_UA.qm +%%DATADIR%%/locale/vi_VN.qm +%%DATADIR%%/locale/zh_CN.qm +%%DATADIR%%/locale/zh_TW.qm
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412170058.4BH0wwRv094804>