1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

net-im/cutegram: switch to using WebEngine

Qt5Webkit will be removed at the end of the year.

See: commit e8e65e7574

    www/qt5-webkit: mark for deletion

    Qt upstream switched to QtWebEngine quite a while ago, and the maintenance
    of QtWebKit was carried out by a separate person.
    Unfortunately, no release or updates have been pushed in the recent
    years.

    Note: there is a fork [1] of the used fork [2], that might be viable for people that
    really still need to rely on Qt5Webkit.

    [1] https://github.com/movableink/webkit/
    [2] https://github.com/qtwebkit/qtwebkit
This commit is contained in:
Tobias C. Berner 2023-09-14 08:36:30 +02:00
parent 5e2b11dd89
commit cd49a2bebe

View File

@ -2,7 +2,7 @@ PORTNAME= cutegram
PORTVERSION= 2.7.1
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
PORTREVISION= 5
PORTREVISION= 6
CATEGORIES= net-im
MAINTAINER= henry.hu.sh@gmail.com
@ -26,9 +26,10 @@ USES= compiler:c++11-lang desktop-file-utils gl gnome qmake:outsource \
USE_GL= gl
USE_QT= qmake:build buildtools:build dbus core declarative graphicaleffects \
gui multimedia network quickcontrols sql sql-sqlite3 xml \
widgets webkit
widgets webengine
QMAKE_ARGS= LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae" \
TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml"
TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml" \
DEFINES+=WEBENGINE_ASEMAN_WEBGRABBER
post-patch:
@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \