1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-23 09:10:43 +00:00
freebsd-ports/net-im/cutegram/Makefile
Tobias C. Berner cd49a2bebe 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
2023-09-14 09:08:25 +02:00

39 lines
1.1 KiB
Makefile

PORTNAME= cutegram
PORTVERSION= 2.7.1
DISTVERSIONPREFIX= v
DISTVERSIONSUFFIX= -stable
PORTREVISION= 6
CATEGORIES= net-im
MAINTAINER= henry.hu.sh@gmail.com
COMMENT= Free and opensource telegram client
WWW= https://aseman.co/en/products/cutegram/
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE
LIB_DEPENDS= libqtelegram-ae.so:net-im/libqtelegram-ae \
libtelegramqml.so:net-im/telegramqml
USE_GITHUB= yes
GH_ACCOUNT= Aseman-Land
GH_PROJECT= Cutegram aseman-qt-tools:tools
GH_TAGNAME= 91bf14b:tools
GH_SUBDIR= Cutegram/asemantools:tools
USES= compiler:c++11-lang desktop-file-utils gl gnome qmake:outsource \
qt:5 ssl
USE_GL= gl
USE_QT= qmake:build buildtools:build dbus core declarative graphicaleffects \
gui multimedia network quickcontrols sql sql-sqlite3 xml \
widgets webengine
QMAKE_ARGS= LIBQTELEGRAM_INCLUDE_PATH="${LOCALBASE}/include/libqtelegram-ae" \
TELEGRAMQML_INCLUDE_PATH="${LOCALBASE}/include/telegramqml" \
DEFINES+=WEBENGINE_ASEMAN_WEBGRABBER
post-patch:
@${REINPLACE_CMD} -e "/isEmpty(OPENSSL_INCLUDE_PATH)/d" \
${WRKSRC}/Cutegram/Cutegram.pro
.include <bsd.port.mk>