git: 90455d179738 - main - textproc/goldendict-ng: Update to 26.1.1

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 10 Jan 2026 12:39:29 UTC
The branch main has been updated by eduardo:

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

commit 90455d1797380a14ea2f050bfce9d0a4b1dbdf8e
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-01-10 00:24:37 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-01-10 12:39:15 +0000

    textproc/goldendict-ng: Update to 26.1.1
    
    - Do not use ffmpeg with qt>=6.8 as per upstream instructions
    - Put option EPWING as broken, japanese/eb is unfetchable
    - Take maintainership
    
    ChangeLog:
    https://github.com/xiaoyifang/goldendict-ng/compare/v25.10.1-Release.85f9a3d5...v26.1.1-Release.5491ffca
---
 textproc/goldendict-ng/Makefile                    | 17 ++++++++---------
 textproc/goldendict-ng/distinfo                    |  6 +++---
 textproc/goldendict-ng/files/patch-src_metadata.cc |  9 +++++++++
 textproc/goldendict-ng/pkg-plist                   |  7 ++++---
 4 files changed, 24 insertions(+), 15 deletions(-)

diff --git a/textproc/goldendict-ng/Makefile b/textproc/goldendict-ng/Makefile
index dcf2c33924cb..057f34f4f9b5 100644
--- a/textproc/goldendict-ng/Makefile
+++ b/textproc/goldendict-ng/Makefile
@@ -1,19 +1,17 @@
 PORTNAME=	goldendict-ng
 DISTVERSIONPREFIX=	v
-DISTVERSION=	25.10.1
-DISTVERSIONSUFFIX=	-Release.85f9a3d5
-PORTREVISION=	2
+DISTVERSION=	26.1.1
+DISTVERSIONSUFFIX=	-Release.5491ffca
 CATEGORIES=	textproc
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	eduardo@FreeBSD.org
 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 \
+LIB_DEPENDS=	libfmt.so:devel/libfmt \
 		libhunspell-1.7.so:textproc/hunspell \
 		liblzo2.so:archivers/lzo2 \
 		libopencc.so:chinese/opencc \
@@ -32,14 +30,15 @@ USE_QT=		5compat base declarative multimedia positioning svg webchannel \
 USE_XORG=	ice sm x11 xext xorgproto xtst
 
 CMAKE_ON=		USE_ALTERNATIVE_NAME USE_SYSTEM_FMT USE_SYSTEM_TOML
+CMAKE_OFF=		WITH_FFMPEG_PLAYER
 CONFIGURE_WRKSRC=	${WRKSRC}/build_dir
 
 OPTIONS_DEFINE=		EPWING SPEECH
-OPTIONS_DEFAULT=	EPWING
 
-EPWING_DESC=		Japanese EPWING dictionary format support
-SPEECH_DESC=		Text to speech support
+EPWING_DESC=	Japanese EPWING dictionary format support
+SPEECH_DESC=	Text to speech support
 
+EPWING_BROKEN=		unfetchable
 EPWING_LIB_DEPENDS=	libeb.so:japanese/eb
 EPWING_CMAKE_OFF=	-DWITH_EPWING_SUPPORT=OFF
 SPEECH_USE=		QT=speech
diff --git a/textproc/goldendict-ng/distinfo b/textproc/goldendict-ng/distinfo
index 1a6671c18d38..3bb83d441cad 100644
--- a/textproc/goldendict-ng/distinfo
+++ b/textproc/goldendict-ng/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1759469021
-SHA256 (xiaoyifang-goldendict-ng-v25.10.1-Release.85f9a3d5_GH0.tar.gz) = bbf3c23dd0a3a17fa4d083144a579aea9f766d99e3b995ed1c04760665001c47
-SIZE (xiaoyifang-goldendict-ng-v25.10.1-Release.85f9a3d5_GH0.tar.gz) = 6101416
+TIMESTAMP = 1768002221
+SHA256 (xiaoyifang-goldendict-ng-v26.1.1-Release.5491ffca_GH0.tar.gz) = e59b343b4ecd2b34c110797119e700a25628d0ef6c7f589511e411bcf85adf7d
+SIZE (xiaoyifang-goldendict-ng-v26.1.1-Release.5491ffca_GH0.tar.gz) = 6012947
diff --git a/textproc/goldendict-ng/files/patch-src_metadata.cc b/textproc/goldendict-ng/files/patch-src_metadata.cc
new file mode 100644
index 000000000000..2875b158d128
--- /dev/null
+++ b/textproc/goldendict-ng/files/patch-src_metadata.cc
@@ -0,0 +1,9 @@
+--- src/metadata.cc.orig	2026-01-09 23:18:18 UTC
++++ src/metadata.cc
+@@ -1,5 +1,6 @@
+ #include "metadata.hh"
+ #include "toml++/toml.hpp"
++#include <sstream>
+ #include <QDebug>
+ #include <QSaveFile>
+ #include <QFile>
diff --git a/textproc/goldendict-ng/pkg-plist b/textproc/goldendict-ng/pkg-plist
index 47bd231a9f25..8e1c4d31354a 100644
--- a/textproc/goldendict-ng/pkg-plist
+++ b/textproc/goldendict-ng/pkg-plist
@@ -1,7 +1,5 @@
 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.qm
 %%DATADIR%%/locale/ay.qm
 %%DATADIR%%/locale/be.qm
@@ -11,6 +9,7 @@ share/pixmaps/goldendict-ng.png
 %%DATADIR%%/locale/de.qm
 %%DATADIR%%/locale/de_CH.qm
 %%DATADIR%%/locale/el.qm
+%%DATADIR%%/locale/en.qm
 %%DATADIR%%/locale/eo.qm
 %%DATADIR%%/locale/es.qm
 %%DATADIR%%/locale/es_AR.qm
@@ -35,8 +34,8 @@ share/pixmaps/goldendict-ng.png
 %%DATADIR%%/locale/qu.qm
 %%DATADIR%%/locale/ru.qm
 %%DATADIR%%/locale/sk.qm
-%%DATADIR%%/locale/sr.qm
 %%DATADIR%%/locale/sq.qm
+%%DATADIR%%/locale/sr.qm
 %%DATADIR%%/locale/sv.qm
 %%DATADIR%%/locale/tg.qm
 %%DATADIR%%/locale/tk.qm
@@ -45,3 +44,5 @@ share/pixmaps/goldendict-ng.png
 %%DATADIR%%/locale/vi.qm
 %%DATADIR%%/locale/zh_CN.qm
 %%DATADIR%%/locale/zh_TW.qm
+share/metainfo/io.github.xiaoyifang.goldendict_ng.metainfo.xml
+share/pixmaps/goldendict-ng.png