commit e1a75124094d525091026c12addb4ad9855230ff
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Thu Jan 20 10:39:42 2022 +0100
Updated to version 3.4.8.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 23 +++++++++++++++++------
3 files changed, 19 insertions(+), 7 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a318145..40b7998 100644
--- a/.gitignore
+++ b/.gitignore
@@ -170,3 +170,4 @@
/tdesktop-3.4.0-full.tar.gz
/tdesktop-3.4.2-full.tar.gz
/tdesktop-3.4.3-full.tar.gz
+/tdesktop-3.4.8-full.tar.gz
diff --git a/sources b/sources
index 0653e88..0b07938 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-3.4.3-full.tar.gz) =
6b27eb14570b55fb14c77f1d557591985a4791712897c2e144196c54c2a98b10c7ece9dac7d039a6bb56f39e3062e4fbfbb60f6822e52b76f927bbf419d88a6b
+SHA512 (tdesktop-3.4.8-full.tar.gz) =
cdeb5a83a375a494d805bf4198beee1c4bfc94bd9626535721a0cf04a590c70bfdb20e76baaa2a4c8c6db54c5813f22ce2a8c6291786b6b6db3dcde10b266fe1
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 1bc9994..845d9a8 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -25,7 +25,7 @@
%endif
Name: telegram-desktop
-Version: 3.4.3
+Version: 3.4.8
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -133,17 +133,19 @@ Provides: bundled(rlottie) = 0~git
BuildRequires: cmake(KF5Wayland)
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5WaylandClient)
+BuildRequires: extra-cmake-modules
BuildRequires: qt5-qtbase-static
%else
-BuildRequires: cmake(PlasmaWaylandProtocols)
BuildRequires: cmake(Qt6Concurrent)
BuildRequires: cmake(Qt6WaylandClient)
-BuildRequires: pkgconfig(wayland-protocols)
+BuildRequires: meson
BuildRequires: qt6-qtbase-static
-Provides: bundled(kf5-kwayland) = 5.89.0
+Provides: bundled(extra-cmake-modules) = 5.90.0
+Provides: bundled(kf5-kwayland) = 5.90.0
+Provides: bundled(plasma-wayland-protocols) = 1.6.0
+Provides: bundled(wayland-protocols) = 1.24
%endif
BuildRequires: pkgconfig(wayland-client)
-BuildRequires: extra-cmake-modules
%endif
%if %{enable_x11}
@@ -192,7 +194,7 @@ rm -rf
Telegram/ThirdParty/{GSL,QR,SPMediaKeyTap,dispatch,expected,fcitx-qt5,fci
# Unbundling kwayland and libdbusmenu-qt if build against Qt5...
%if %{use_qt5}
-rm -rf Telegram/ThirdParty/{kwayland,libdbusmenu-qt}
+rm -rf
Telegram/ThirdParty/{extra-cmake-modules,kwayland,plasma-wayland-protocols,libdbusmenu-qt,wayland-protocols}
%endif
# Unbundling rlottie if build against packaged version...
@@ -205,6 +207,9 @@ rm -rf Telegram/ThirdParty/rlottie
rm -rf Telegram/ThirdParty/libtgvoip
%endif
+# Patching metainfo file to pass automatic checks...
+sed -e 's/Version=1.5/Version=1.0/g' -e '/SingleMainWindow/d' -i
lib/xdg/telegramdesktop.desktop
+
%build
# Building Telegram Desktop using cmake...
%cmake -G Ninja \
@@ -243,7 +248,10 @@ rm -rf Telegram/ThirdParty/libtgvoip
-DDESKTOP_APP_DISABLE_X11_INTEGRATION:BOOL=ON \
%endif
%if %{system_rlottie}
+ -DDESKTOP_APP_USE_PACKAGED_RLOTTIE:BOOL=ON \
-DDESKTOP_APP_LOTTIE_USE_CACHE:BOOL=OFF \
+%else
+ -DDESKTOP_APP_USE_PACKAGED_RLOTTIE:BOOL=OFF \
%endif
-DTDESKTOP_LAUNCHER_BASENAME=%{launcher}
%cmake_build
@@ -264,6 +272,9 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.metainfo.xml
%changelog
+* Thu Jan 20 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.4.8-1
+- Updated to version 3.4.8.
+
* Tue Jan 04 2022 Vitaly Zaitsev <vitaly(a)easycoding.org> - 3.4.3-1
- Updated to version 3.4.3.
Show replies by date