git: ca2108f09031 - main - net-im/telegram-desktop: Chase Qt5 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 30 May 2024 14:22:03 UTC
The branch main has been updated by jhale: URL: https://cgit.FreeBSD.org/ports/commit/?id=ca2108f09031662cc3f0a556a0197291f4ad47ad commit ca2108f09031662cc3f0a556a0197291f4ad47ad Author: Jason E. Hale <jhale@FreeBSD.org> AuthorDate: 2024-05-30 14:04:28 +0000 Commit: Jason E. Hale <jhale@FreeBSD.org> CommitDate: 2024-05-30 14:21:03 +0000 net-im/telegram-desktop: Chase Qt5 update This unfortunately makes use of the Qt private API, so it has to be rebuilt with each Qt update. Fix the qt5 flavor when building on a live system that also has Qt6 installed. If both Qt5 and Qt6 were installed, it would default to using Qt6. --- net-im/telegram-desktop/Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/net-im/telegram-desktop/Makefile b/net-im/telegram-desktop/Makefile index dd1fb9ecd9ad..e7e824e8611c 100644 --- a/net-im/telegram-desktop/Makefile +++ b/net-im/telegram-desktop/Makefile @@ -1,5 +1,6 @@ PORTNAME= telegram-desktop DISTVERSION= 5.0.4 +PORTREVISION= 1 CATEGORIES= net-im MASTER_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/releases/download/v${DISTVERSION}/ DISTNAME= tdesktop-${DISTVERSION}-full @@ -71,7 +72,8 @@ USE_GL= gl USE_GNOME= glib20 glibmm26 introspection USE_XORG= x11 xcb xcomposite xdamage xext xfixes xrandr xrender xtst -CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} +CMAKE_ARGS= -DTDESKTOP_API_ID=${TELEGRAM_API_ID} -DTDESKTOP_API_HASH=${TELEGRAM_API_HASH} \ + -DQT_VERSION_MAJOR=${FLAVOR:S/qt//} CMAKE_ON= DESKTOP_APP_USE_PACKAGED DESKTOP_APP_DISABLE_CRASH_REPORTS \ DESKTOP_APP_DISABLE_SCUDO \ DESKTOP_APP_DISABLE_WAYLAND_INTEGRATION