commit 59da0707a62f5b93a887f5aaf30149c4fab39928
Author: Vitaly Zaitsev <vitaly(a)easycoding.org>
Date: Fri Jan 24 21:28:49 2020 +0100
Updated to version 1.9.8.
.gitignore | 1 +
sources | 2 +-
telegram-desktop.spec | 27 +++++++++++++++++----------
3 files changed, 19 insertions(+), 11 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index a697f15..53789f0 100644
--- a/.gitignore
+++ b/.gitignore
@@ -125,3 +125,4 @@
/lib_ui-c0b0745.tar.gz
/tdesktop-1.9.4.tar.gz
/tdesktop-1.9.7-full.tar.gz
+/tdesktop-1.9.8-full.tar.gz
diff --git a/sources b/sources
index 6555536..17530a3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (tdesktop-1.9.7-full.tar.gz) =
7fd2e2ab8813fad187ca711aafc42c1ad76102ee23ce2dbfa4ccc6898b80a152ecbdf842a175b67db05937c099ddf45889ad493a5bac91da9331ee645bb691bf
+SHA512 (tdesktop-1.9.8-full.tar.gz) =
5562eb99812a8faec74fe073323d6e04e36311c1e4ce984035212ecfed8bd5d12df92cd0f0022401201136315fb5556971b267b4bf47edf4eeddc9926c7969dc
diff --git a/telegram-desktop.spec b/telegram-desktop.spec
index 4c275da..1b4ea3a 100644
--- a/telegram-desktop.spec
+++ b/telegram-desktop.spec
@@ -1,8 +1,13 @@
-# Build conditionals...
+# Build conditionals (with - OFF, without - ON)...
%bcond_with gtk3
+%if 0%{?fedora} && %{?fedora} >= 32
+%bcond_without clang
+%else
%bcond_with clang
-%bcond_with spellcheck
+%endif
+%bcond_without spellcheck
%bcond_without fonts
+%bcond_without ipo
# Telegram Desktop's constants...
%global appname tdesktop
@@ -19,8 +24,8 @@
%endif
Name: telegram-desktop
-Version: 1.9.7
-Release: 2%{?dist}
+Version: 1.9.8
+Release: 1%{?dist}
# Application and 3rd-party modules licensing:
# * Telegram Desktop - GPLv3+ with OpenSSL exception -- main tarball;
@@ -62,6 +67,7 @@ BuildRequires: qt5-qtbase-private-devel
BuildRequires: libtgvoip-devel >= 2.4.4
BuildRequires: range-v3-devel >= 0.10.0
BuildRequires: libqrcodegencpp-devel
+BuildRequires: minizip-compat-devel
BuildRequires: ffmpeg-devel >= 3.1
BuildRequires: openal-soft-devel
BuildRequires: qt5-qtbase-devel
@@ -100,12 +106,6 @@ BuildRequires: llvm
Requires: open-sans-fonts
%endif
-%if 0%{?fedora} && 0%{?fedora} >= 30
-BuildRequires: minizip-compat-devel
-%else
-BuildRequires: minizip-devel
-%endif
-
%description
Telegram is a messaging app with a focus on speed and security, it’s super
fast, simple and free. You can use Telegram on all your devices at the same
@@ -144,6 +144,9 @@ pushd %{_target_platform}
%if %{without fonts}
-DDESKTOP_APP_USE_PACKAGED_FONTS:BOOL=OFF \
%endif
+%if %{with ipo} && %{without clang}
+ -DDESKTOP_APP_ENABLE_IPO_OPTIMIZATIONS:BOOL=ON \
+%endif
%if %{with clang}
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
@@ -187,6 +190,10 @@ desktop-file-validate
%{buildroot}%{_datadir}/applications/%{launcher}.desktop
%{_metainfodir}/%{launcher}.appdata.xml
%changelog
+* Fri Jan 24 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.8-1
+- Updated to version 1.9.8.
+- Enabled LTO and spellcheck.
+
* Thu Jan 23 2020 Vitaly Zaitsev <vitaly(a)easycoding.org> - 1.9.7-2
- Fixed desktop launcher. Regression introduced in previous build.