1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

textproc/goldendict: the port had been updated and unbroken (+)

- Update to the latest GitHub commit (they're still not
  tagging any new releases)
- Unbreak the build on recent -CURRENT by adding missing
  #include <locale.h>
- Assume maintainership of the port for the time being

Reported by:	pkg-fallout
This commit is contained in:
Alexey Dokuchaev 2022-06-06 18:47:42 +00:00
parent a3ead31804
commit e19c97fdc2
3 changed files with 11 additions and 8 deletions

View File

@ -1,10 +1,10 @@
# Created by: Boris Samorodov <bsam@FreeBSD.org>
PORTNAME= goldendict
DISTVERSION= 1.5.0-g20210115
DISTVERSION= 1.5.0-g20220602
CATEGORIES= textproc
MAINTAINER= ports@FreeBSD.org
MAINTAINER= danfe@FreeBSD.org
COMMENT= Feature-rich dictionary lookup program
LICENSE= GPLv3+
@ -20,7 +20,7 @@ LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \
USES= compiler:c++11-lang gnome iconv:wchar_t pkgconfig \
qmake qt:5 xorg
USE_GITHUB= yes
GH_TAGNAME= 73ec1b5
GH_TAGNAME= 99982a1
USE_XORG= x11 xtst
USE_QT= buildtools_build linguisttools_build core gui help \
network printsupport sql svg webkit widgets \
@ -49,6 +49,8 @@ OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support"
post-patch:
@${REINPLACE_CMD} -e '/^VERSION = /s,git,&${GH_TAGNAME},' \
${WRKSRC}/goldendict.pro
@${REINPLACE_CMD} -e '/^#include <stdio\.h>/ { x; \
s/^/#include <locale.h>/; G; }' ${WRKSRC}/main.cc
post-install:
@${MKDIR} ${STAGEDIR}${DATADIR}/locale

View File

@ -1,3 +1,3 @@
TIMESTAMP = 1610723742
SHA256 (goldendict-goldendict-1.5.0-g20210115-73ec1b5_GH0.tar.gz) = 48fc218976bd173418741b862d55b50c6f8bd6434cf586bb13e9786290bfcb64
SIZE (goldendict-goldendict-1.5.0-g20210115-73ec1b5_GH0.tar.gz) = 20210581
TIMESTAMP = 1654167073
SHA256 (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 138ea766bb2260a2bcc75327c2c900080fef5cb82edbb94aed1977d46a4c41af
SIZE (goldendict-goldendict-1.5.0-g20220602-99982a1_GH0.tar.gz) = 20351546

View File

@ -1,6 +1,6 @@
bin/goldendict
share/applications/goldendict.desktop
share/metainfo/goldendict.appdata.xml
share/applications/org.goldendict.GoldenDict.desktop
share/metainfo/org.goldendict.GoldenDict.metainfo.xml
share/pixmaps/goldendict.png
%%DATADIR%%/help/gdhelp_en.qch
%%DATADIR%%/help/gdhelp_ru.qch
@ -19,6 +19,7 @@ share/pixmaps/goldendict.png
%%DATADIR%%/locale/fa_IR.qm
%%DATADIR%%/locale/fi_FI.qm
%%DATADIR%%/locale/fr_FR.qm
%%DATADIR%%/locale/hi_IN.qm
%%DATADIR%%/locale/ie_001.qm
%%DATADIR%%/locale/it_IT.qm
%%DATADIR%%/locale/ja_JP.qm