Update to tdesktop 4.0.2
This version builds and runs cleanly against Qt5 without patches.
This commit is contained in:
parent
4f6d05a809
commit
47d0253a13
@ -5,7 +5,7 @@ NOT_FOR_ARCHS = ${BE_ARCHS} i386
|
||||
|
||||
COMMENT = Telegram Desktop messenger
|
||||
PORTROACH = limit:-full$$
|
||||
V = 4.0.0
|
||||
V = 4.0.2
|
||||
DISTNAME = tdesktop-${V}-full
|
||||
PKGNAME = ${DISTNAME:-full=}
|
||||
CATEGORIES = net
|
||||
@ -15,10 +15,6 @@ DEBUG_PACKAGES = ${BUILD_PACKAGES}
|
||||
HOMEPAGE = https://desktop.telegram.org
|
||||
MASTER_SITES = https://github.com/telegramdesktop/tdesktop/releases/download/v${V}/
|
||||
|
||||
PATCH_LIST = patch-*
|
||||
# Patches only relevant while building against Qt5
|
||||
PATCH_LIST += qt5-patch-*
|
||||
|
||||
MAINTAINER = Andrew Krasavin <noiseless-ak@yandex.ru>, \
|
||||
Klemens Nanni <kn@openbsd.org>
|
||||
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (tdesktop-4.0.0-full.tar.gz) = 9P8g4ayP/dQGbXCPg1+xFoyDv0t0ogpSyaMaAwXloMc=
|
||||
SIZE (tdesktop-4.0.0-full.tar.gz) = 41056249
|
||||
SHA256 (tdesktop-4.0.2-full.tar.gz) = RGWaey2z7/LlxC43LawU0bA/+uGeAFAHzlgHGWFbWbE=
|
||||
SIZE (tdesktop-4.0.2-full.tar.gz) = 41059443
|
||||
|
@ -1,14 +0,0 @@
|
||||
Fix build against Qt5
|
||||
|
||||
Index: Telegram/SourceFiles/media/view/media_view_pip.cpp
|
||||
--- Telegram/SourceFiles/media/view/media_view_pip.cpp.orig
|
||||
+++ Telegram/SourceFiles/media/view/media_view_pip.cpp
|
||||
@@ -475,7 +475,7 @@ void PipPanel::setPositionDefault() {
|
||||
const auto parentScreen = widgetScreen(_parent);
|
||||
const auto myScreen = widgetScreen(widget());
|
||||
if (parentScreen && myScreen && myScreen != parentScreen) {
|
||||
- widget()->setScreen(parentScreen);
|
||||
+ widget()->windowHandle()->setScreen(parentScreen);
|
||||
}
|
||||
auto position = Position();
|
||||
position.snapped = RectPart::Top | RectPart::Left;
|
Loading…
Reference in New Issue
Block a user