forked from freebsd/freebsd-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
textproc/goldendict: undeprecate the port (divorce from WebKit)
Follow AUR package and switch to Igor's QtWebEngine fork while we are waiting for upstream to merge his pull request #1542; adjust the version tag accordingly. While here, do not pollute compiler options with `-rdynamic' which is intended for linker. Discussed with: Igor Kushnir
- Loading branch information
Alexey Dokuchaev
authored and
Alexey Dokuchaev
committed
Nov 2, 2023
1 parent
a4283ca
commit c0f53df
Showing
2 changed files
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
PORTNAME= goldendict | ||
PORTVERSION= 1.5.0 | ||
PORTREVISION= 1 | ||
CATEGORIES= textproc | ||
|
||
MAINTAINER= [email protected] | ||
|
@@ -9,9 +10,6 @@ WWW= http://goldendict.org/ | |
LICENSE= GPLv3+ | ||
LICENSE_FILE= ${WRKSRC}/LICENSE.txt | ||
|
||
DEPRECATED= Depends on deprecated www/qt5-webkit | ||
EXPIRATION_DATE= 2023-11-26 | ||
|
||
LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell \ | ||
liblzo2.so:archivers/lzo2 \ | ||
libogg.so:audio/libogg \ | ||
|
@@ -22,11 +20,14 @@ 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_ACCOUNT= vedgy | ||
GH_TAGNAME= 5a87a71 | ||
USE_XORG= x11 xtst | ||
USE_QT= buildtools:build linguisttools:build core gui help \ | ||
network printsupport sql svg webkit widgets \ | ||
x11extras xml | ||
QMAKE_ARGS= ${PORTNAME}.pro CONFIG+="zim_support" | ||
USE_QT= buildtools:build linguisttools:build \ | ||
core declarative gui help network printsupport \ | ||
sql svg webchannel webengine widgets x11extras xml | ||
|
||
QMAKE_ARGS= ${PORTNAME}.pro CONFIG+="use_qtwebengine zim_support" | ||
|
||
OPTIONS_DEFINE= EPWING FFMPEG MULTIMEDIA OPENCC | ||
OPTIONS_DEFAULT= EPWING FFMPEG MULTIMEDIA OPENCC | ||
|
@@ -48,7 +49,8 @@ OPENCC_LIB_DEPENDS= libopencc.so:chinese/opencc | |
OPENCC_QMAKE_ON= CONFIG+="chinese_conversion_support" | ||
|
||
post-patch: | ||
@${REINPLACE_CMD} -e '/^VERSION = /s,git,&-8c5b26a,' \ | ||
@${REINPLACE_CMD} -e '/QMAKE_CXXFLAGS += -rdynamic/d ; \ | ||
/^VERSION = /s,git,&-${GH_ACCOUNT}-${GH_TAGNAME},' \ | ||
${WRKSRC}/goldendict.pro | ||
@${REINPLACE_CMD} -e '/^#include <stdio\.h>/ { x; \ | ||
s/^/#include <locale.h>/; G; }' ${WRKSRC}/main.cc | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
TIMESTAMP = 1685371891 | ||
SHA256 (goldendict-goldendict-1.5.0_GH0.tar.gz) = f9f8e068ece74cc026fdc5f56615246228b4e70c97c7197ccd4c14ceae412c7c | ||
SIZE (goldendict-goldendict-1.5.0_GH0.tar.gz) = 20371681 | ||
TIMESTAMP = 1695552365 | ||
SHA256 (vedgy-goldendict-1.5.0-5a87a71_GH0.tar.gz) = 27097ae4122f2184a7638c6e6ae7bf10623eb2510660db1d8db19054e92131d7 | ||
SIZE (vedgy-goldendict-1.5.0-5a87a71_GH0.tar.gz) = 20400277 |