commit c32a80d4bf2267feb950e1eb0b26eba7ebf8db0c
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Wed Feb 24 17:59:17 2021 +0100
Updated to version 2.6.0.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 37 +++++++++++++++++++------------------
3 files changed, 21 insertions(+), 19 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 767b48f..0a38c28 100644
--- a/.gitignore
+++ b/.gitignore
@@ -159,3 +159,4 @@
/tdesktop-2.5.1-full.tar.gz
/tdesktop-2.5.8-full.tar.gz
/tdesktop-2.5.9-full.tar.gz
+/tdesktop-2.6.0-full.tar.gz
diff --git a/sources b/sources
index 45e1f53..c3c272a 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-2.5.9-full.tar.gz) =
1824a5cc17644e2f3d971a6bf882f90f209fcb174826f6e59dbe73301e22b4983e77830c41fe27953049af116a5698a29bec1e5e9957e8905f8f6264722e1c9f
+SHA512 (tdesktop-2.6.0-full.tar.gz) =
9dd37e14dc95dac7b7ab585b7491004d9d9ffb0c11ef265c3e2dee4adf77cfdeec226e9185d5052a177596951da5247fdf4583c225d70f3c6dca08b541cedcee
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 697c6d3..f69b116 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,5 +1,4 @@
%undefine __cmake_in_source_build
-%global _lto_cflags %{nil}
# Build conditionals (with - OFF, without - ON)...
%bcond_with clang
@@ -7,6 +6,7 @@
%bcond_with libtgvoip
%bcond_with rlottie
%bcond_with wayland
+%bcond_without x11
# Telegram Desktop's constants...
%global appname tdesktop
@@ -17,15 +17,8 @@
%global toolchain clang
%endif
-# Decrease debuginfo verbosity to reduce memory consumption...
-%ifarch x86_64
-%global optflags %(echo %{optflags} | sed 's/-g /-g1 /')
-%else
-%global optflags %(echo %{optflags} | sed 's/-g /-g2 /')
-%endif
-
Name: telegram-desktop
-Version: 2.5.9
+Version: 2.6.0
Release: 1%{?dist}
# Application and 3rd-party modules licensing:
@@ -69,10 +62,6 @@ BuildRequires: pkgconfig(libswscale)
BuildRequires: pkgconfig(libxxhash)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(opus)
-BuildRequires: pkgconfig(xcb)
-BuildRequires: pkgconfig(xcb-keysyms)
-BuildRequires: pkgconfig(xcb-record)
-BuildRequires: pkgconfig(xcb-screensaver)
BuildRequires: cmake
BuildRequires: desktop-file-utils
@@ -117,6 +106,13 @@ BuildRequires: pkgconfig(wayland-client)
BuildRequires: qt5-qtbase-static
%endif
+%if %{with x11}
+BuildRequires: pkgconfig(xcb)
+BuildRequires: pkgconfig(xcb-keysyms)
+BuildRequires: pkgconfig(xcb-record)
+BuildRequires: pkgconfig(xcb-screensaver)
+%endif
+
# Telegram Desktop require exact version of Qt due to Qt private API usage.
%{?_qt5:Requires: %{_qt5}%{?_isa} = %{_qt5_version}}
Requires: hicolor-icon-theme
@@ -182,15 +178,20 @@ rm -rf Telegram/ThirdParty/libtgvoip
-DDESKTOP_APP_DISABLE_CRASH_REPORTS:BOOL=ON \
-DDESKTOP_APP_DISABLE_WEBRTC_INTEGRATION:BOOL=OFF \
%if %{with gtk3}
- -DTDESKTOP_DISABLE_GTK_INTEGRATION:BOOL=OFF \
+ -DDESKTOP_APP_DISABLE_GTK_INTEGRATION:BOOL=OFF \
%else
- -DTDESKTOP_DISABLE_GTK_INTEGRATION:BOOL=ON \
+ -DDESKTOP_APP_DISABLE_GTK_INTEGRATION:BOOL=ON \
%endif
%if %{with wayland}
-DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION:BOOL=OFF \
%else
-DDESKTOP_APP_DISABLE_WAYLAND_INTEGRATION:BOOL=ON \
%endif
+%if %{with x11}
+ -DDESKTOP_APP_DISABLE_X11_INTEGRATION:BOOL=OFF \
+%else
+ -DDESKTOP_APP_DISABLE_X11_INTEGRATION:BOOL=ON \
+%endif
%if %{with rlottie}
-DDESKTOP_APP_LOTTIE_USE_CACHE:BOOL=OFF \
%endif
@@ -213,11 +214,11 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Wed Feb 24 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.6.0-1
+- Updated to version 2.6.0.
+
* Thu Feb 18 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.5.9-1
- Updated to version 2.5.9.
* Tue Feb 09 2021 Vitaly Zaitsev <vitaly(a)easycoding.org> - 2.5.8-3
- Backported upstream patch with crash fixes.
-
-* Thu Feb 04 2021 RPM Fusion Release Engineering <leigh123linux(a)gmail.com> -
2.5.8-2
-- Rebuilt for
https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild