git: cd49a2bebedd - main - net-im/cutegram: switch to using WebEngine

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Thu, 14 Sep 2023 07:10:24 UTC
The branch main has been updated by tcberner:

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

commit cd49a2bebeddb7d6a2b430e69c152dbd87ac3634
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2023-09-14 06:36:30 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2023-09-14 07:08:25 +0000

    net-im/cutegram: switch to using WebEngine
    
    Qt5Webkit will be removed at the end of the year.
    
    See: commit e8e65e7574de0b374caaa3da0ba6a26a67103e62
    
        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
---
 net-im/cutegram/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/net-im/cutegram/Makefile b/net-im/cutegram/Makefile
index ad6de0cbda1e..d44990093b36 100644
--- a/net-im/cutegram/Makefile
+++ b/net-im/cutegram/Makefile
@@ -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" \