ports/textproc/goldendict-ng/Makefile
mew14930xvi 90396abe6b 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/
2024-12-17 01:31:51 +01:00

45 lines
1.2 KiB
Makefile

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>