mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 12:10:06 +02:00
Telegram: bump version
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
From 1cdb808134cc80b171164d49ae21a1346ed8e7a8 Mon Sep 17 00:00:00 2001
|
||||
From 4a5a2472294cc9a5dad805626a436115b7f099e6 Mon Sep 17 00:00:00 2001
|
||||
From: Gerasim Troeglazov <3dEyes@gmail.com>
|
||||
Date: Sat, 31 Oct 2020 11:35:43 +1000
|
||||
Date: Mon, 2 Nov 2020 23:12:40 +1000
|
||||
Subject: Add Haiku support
|
||||
|
||||
|
||||
@@ -57,10 +57,10 @@ index dbb3a89..7bcc52f 100644
|
||||
rpl::variable<bool> _systemDarkModeEnabled = false;
|
||||
rpl::variable<Window::ControlsLayout> _windowControlsLayout;
|
||||
diff --git a/Telegram/SourceFiles/core/update_checker.cpp b/Telegram/SourceFiles/core/update_checker.cpp
|
||||
index 69ba0f7..4653779 100644
|
||||
index af4ceec..51edea1 100644
|
||||
--- a/Telegram/SourceFiles/core/update_checker.cpp
|
||||
+++ b/Telegram/SourceFiles/core/update_checker.cpp
|
||||
@@ -1553,7 +1553,7 @@ bool checkReadyUpdate() {
|
||||
@@ -1554,7 +1554,7 @@ bool checkReadyUpdate() {
|
||||
ClearAll();
|
||||
return false;
|
||||
}
|
||||
@@ -1138,10 +1138,10 @@ index 0000000..a1df976
|
||||
+}
|
||||
diff --git a/Telegram/SourceFiles/platform/haiku/specific_haiku.h b/Telegram/SourceFiles/platform/haiku/specific_haiku.h
|
||||
new file mode 100644
|
||||
index 0000000..e7a5011
|
||||
index 0000000..b10ef6b
|
||||
--- /dev/null
|
||||
+++ b/Telegram/SourceFiles/platform/haiku/specific_haiku.h
|
||||
@@ -0,0 +1,121 @@
|
||||
@@ -0,0 +1,132 @@
|
||||
+/*
|
||||
+This file is part of Telegram Desktop for Haiku,
|
||||
+
|
||||
@@ -1201,6 +1201,17 @@ index 0000000..e7a5011
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+inline bool InFlatpak() {
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+inline bool InSnap() {
|
||||
+ return false;
|
||||
+}
|
||||
+
|
||||
+inline void InstallLauncher(bool force = false) {
|
||||
+};
|
||||
+
|
||||
+} // namespace Platform
|
||||
+
|
||||
+inline void psCheckLocalSocket(const QString &serverName) {
|
||||
@@ -3,9 +3,9 @@ DESCRIPTION="Unofficial build of the original Telegram client for Haiku."
|
||||
HOMEPAGE="https://www.telegram.org/"
|
||||
COPYRIGHT="2013-2020 Telegram"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/telegramdesktop/tdesktop/releases/download/v$portVersion/tdesktop-$portVersion-full.tar.gz"
|
||||
CHECKSUM_SHA256="a5f7a6cb6b0146969c0034ae53c14df7482b693df2ab513c7ec515c2def51f5a"
|
||||
CHECKSUM_SHA256="2c6f97ca079c3f9aad700f133d8bcd45ae4cfa32423e91d02c79a163664c13a4"
|
||||
SOURCE_FILENAME="tdesktop-$portVersion-full.tar.gz"
|
||||
SOURCE_DIR="tdesktop-$portVersion-full"
|
||||
srcGitRev_2="1d4f7d74ff1a627db6e45682efd0e3b85738e426"
|
||||
Reference in New Issue
Block a user