View | Details | Raw Unified | Return to bug 282861
Collapse All | Expand All

(-)b/textproc/goldendict-ng/Makefile (+45 lines)
Added Link Here
1
PORTNAME=	goldendict-ng
2
DISTVERSIONPREFIX=	v
3
DISTVERSION=	24.09.1
4
CATEGORIES=	textproc
5
6
MAINTAINER=	mew14930xvi@inbox.lv
7
COMMENT=	Advanced dictionary lookup program, supporting many formats
8
WWW=		https://xiaoyifang.github.io/goldendict-ng/
9
10
LICENSE=	GPLv3+
11
LICENSE_FILE=	${WRKSRC}/LICENSE.txt
12
13
LIB_DEPENDS=	libavutil.so:multimedia/ffmpeg \
14
		libfmt.so:devel/libfmt \
15
		libhunspell-1.7.so:textproc/hunspell \
16
		libicui18n.so:devel/icu \
17
		liblzo2.so:archivers/lzo2 \
18
		libopencc.so:chinese/opencc \
19
		libtomlplusplus.so:devel/tomlplusplus \
20
		libvorbis.so:audio/libvorbis \
21
		libxapian.so:databases/xapian-core \
22
		libzim.so:devel/libzim \
23
		libzstd.so:archivers/zstd
24
25
USES=		cmake compiler:c++17-lang desktop-file-utils gl pkgconfig qt:6 \
26
		xorg
27
USE_GITHUB=	yes
28
GH_ACCOUNT=	xiaoyifang
29
GH_TAGNAME=	ca9dd13
30
USE_GL=		opengl
31
USE_QT=		5compat base declarative multimedia positioning svg webchannel \
32
		webengine tools:build
33
USE_XORG=	ice sm x11 xext xtst
34
35
CMAKE_ON=		USE_ALTERNATIVE_NAME USE_SYSTEM_FMT USE_SYSTEM_TOML
36
CONFIGURE_WRKSRC=	${WRKSRC}/build_dir
37
38
OPTIONS_DEFINE=		EPWING
39
OPTIONS_DEFAULT=	EPWING
40
41
EPWING_DESC=		Japanese EPWING dictionary format support
42
EPWING_LIB_DEPENDS=	libeb.so:japanese/eb
43
EPWING_CMAKE_OFF=	-DWITH_EPWING_SUPPORT=OFF
44
45
.include <bsd.port.mk>
(-)b/textproc/goldendict-ng/distinfo (+3 lines)
Added Link Here
1
TIMESTAMP = 1731954321
2
SHA256 (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = dd3a26b9c596f7cde98e93ee58b8f3e68200b363e34723c0ed5b41a8e2369260
3
SIZE (xiaoyifang-goldendict-ng-v24.09.1-ca9dd13_GH0.tar.gz) = 5701341
(-)b/textproc/goldendict-ng/pkg-descr (+6 lines)
Added Link Here
1
GoldenDict-ng is an advanced dictionary lookup program.
2
3
Supports many dictionary formats, such as MDX, DSL, StarDict, Zim...
4
Presents lookup results of multiple dictionaries in the same page.
5
Supports special types of "dictionaries", such as external program,
6
website, audio files...
(-)b/textproc/goldendict-ng/pkg-plist (+50 lines)
Added Link Here
1
bin/goldendict-ng
2
share/applications/io.github.xiaoyifang.goldendict_ng.desktop
3
share/metainfo/io.github.xiaoyifang.goldendict_ng.metainfo.xml
4
share/pixmaps/goldendict-ng.png
5
%%DATADIR%%/locale/ar_SA.qm
6
%%DATADIR%%/locale/ay_BO.qm
7
%%DATADIR%%/locale/be_BY.qm
8
%%DATADIR%%/locale/bg_BG.qm
9
%%DATADIR%%/locale/crowdin.qm
10
%%DATADIR%%/locale/cs_CZ.qm
11
%%DATADIR%%/locale/de_CH.qm
12
%%DATADIR%%/locale/de_DE.qm
13
%%DATADIR%%/locale/el_GR.qm
14
%%DATADIR%%/locale/eo_UY.qm
15
%%DATADIR%%/locale/es_AR.qm
16
%%DATADIR%%/locale/es_BO.qm
17
%%DATADIR%%/locale/es_ES.qm
18
%%DATADIR%%/locale/fa_IR.qm
19
%%DATADIR%%/locale/fi_FI.qm
20
%%DATADIR%%/locale/fr_FR.qm
21
%%DATADIR%%/locale/hi_IN.qm
22
%%DATADIR%%/locale/hu_HU.qm
23
%%DATADIR%%/locale/ie_001.qm
24
%%DATADIR%%/locale/it_IT.qm
25
%%DATADIR%%/locale/ja_JP.qm
26
%%DATADIR%%/locale/jbo_EN.qm
27
%%DATADIR%%/locale/ko_KR.qm
28
%%DATADIR%%/locale/lt_LT.qm
29
%%DATADIR%%/locale/mk_MK.qm
30
%%DATADIR%%/locale/nl_NL.qm
31
%%DATADIR%%/locale/pl_PL.qm
32
%%DATADIR%%/locale/pt_BR.qm
33
%%DATADIR%%/locale/pt_PT.qm
34
%%DATADIR%%/locale/qt_extra_es.qm
35
%%DATADIR%%/locale/qt_extra_it.qm
36
%%DATADIR%%/locale/qt_extra_lt.qm
37
%%DATADIR%%/locale/qtwebengine_zh_CN.qm
38
%%DATADIR%%/locale/qu_PE.qm
39
%%DATADIR%%/locale/ru_RU.qm
40
%%DATADIR%%/locale/sk_SK.qm
41
%%DATADIR%%/locale/sq_AL.qm
42
%%DATADIR%%/locale/sr_SP.qm
43
%%DATADIR%%/locale/sv_SE.qm
44
%%DATADIR%%/locale/tg_TJ.qm
45
%%DATADIR%%/locale/tk_TM.qm
46
%%DATADIR%%/locale/tr_TR.qm
47
%%DATADIR%%/locale/uk_UA.qm
48
%%DATADIR%%/locale/vi_VN.qm
49
%%DATADIR%%/locale/zh_CN.qm
50
%%DATADIR%%/locale/zh_TW.qm

Return to bug 282861