mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
net-im/psi: Convert WEBKIT option to WEBENGINE
www/qt5-webkit was removed in [1], leaving the WEBKIT option broken. This application supports using www/qt5-webengine as an alternative chatlog engine, so rename the WEBKIT option to WEBENGINE to avoid confusion and add the required dependencies. Enabling QtWebEngine still requires having the ENABLE_WEBKIT CMake argument set, so this was not an oversight [2], as strange as it may look. In fact, psi defaults to use QtWebEngine if it was found when the ENABLE_WEBKIT argument is set. [3] [1] https://cgit.freebsd.org/ports/commit/?id=cb3615b528c288d90aff6aa0e7a9778f80c9e85d [2] https://github.com/psi-im/psi/blob/1.5/CMakeLists.txt#L44 [3] https://github.com/psi-im/psi/blob/1.5/src/CMakeLists.txt#L17 Approved by: portmgr (blanket) MFH: 2024Q1
This commit is contained in:
parent
3106e8f4d8
commit
5cdc418e76
@ -1,6 +1,6 @@
|
||||
PORTNAME= psi
|
||||
PORTVERSION= 1.5
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= net-im
|
||||
MASTER_SITES= SF/${PORTNAME}/Psi/${PORTVERSION}
|
||||
|
||||
@ -21,15 +21,16 @@ USE_XORG= ice sm x11 xcb xext xscrnsaver
|
||||
CMAKE_ARGS= -DIDN_LIBRARY:FILEPATH="${LOCALBASE}/lib/libidn.so" \
|
||||
-DIDN_INCLUDE_DIR:PATH="${LOCALBASE}/include"
|
||||
|
||||
OPTIONS_DEFINE= WEBKIT
|
||||
OPTIONS_DEFINE= WEBENGINE
|
||||
OPTIONS_RADIO= SPELLCHECK
|
||||
OPTIONS_RADIO_SPELLCHECK= HUNSPELL ENCHANT
|
||||
SPELLCHECK_DESC= Spell checker backend
|
||||
OPTIONS_DEFAULT= HUNSPELL
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
WEBKIT_USE= QT=webkit
|
||||
WEBKIT_CMAKE_BOOL= ENABLE_WEBKIT
|
||||
WEBENGINE_DESC= Use QtWebEngine for chatlogs
|
||||
WEBENGINE_USE= QT=declarative,location,printsupport,webchannel,webengine
|
||||
WEBENGINE_CMAKE_BOOL= ENABLE_WEBKIT
|
||||
|
||||
HUNSPELL_LIB_DEPENDS= libhunspell-1.7.so:textproc/hunspell
|
||||
HUNSPELL_CMAKE_BOOL= USE_HUNSPELL
|
||||
|
@ -404,13 +404,13 @@ share/pixmaps/psi.png
|
||||
%%DATADIR%%/sound/offline.wav
|
||||
%%DATADIR%%/sound/online.wav
|
||||
%%DATADIR%%/sound/send.wav
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/adium/Template.html
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/adium/adapter.js
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/moment-with-locales.js
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/adapter.js
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/classic/index.html
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/classic/load.js
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/new_classic/index.html
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/new_classic/load.js
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/psi/new_classic/screenshot.png
|
||||
%%WEBKIT%%%%DATADIR%%/themes/chatview/util.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/adium/Template.html
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/adium/adapter.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/moment-with-locales.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/adapter.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/classic/index.html
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/classic/load.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/new_classic/index.html
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/new_classic/load.js
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/psi/new_classic/screenshot.png
|
||||
%%WEBENGINE%%%%DATADIR%%/themes/chatview/util.js
|
||||
|
Loading…
Reference in New Issue
Block a user