2017-06-20 19:37:54 +02:00
|
|
|
#
|
|
|
|
# spec file for package telegram-desktop
|
|
|
|
#
|
2022-01-06 15:37:58 +01:00
|
|
|
# Copyright (c) 2022 SUSE LLC
|
2017-06-20 19:37:54 +02:00
|
|
|
#
|
|
|
|
# All modifications and additions to the file contributed by third parties
|
|
|
|
# remain the property of their copyright owners, unless otherwise agreed
|
|
|
|
# upon. The license for this file, and modifications and additions to the
|
|
|
|
# file, is the same license as for the pristine package itself (unless the
|
|
|
|
# license for the pristine package is not an Open Source License, in which
|
|
|
|
# case the license is the MIT License). An "Open Source License" is a
|
|
|
|
# license that conforms to the Open Source Definition (Version 1.9)
|
|
|
|
# published by the Open Source Initiative.
|
|
|
|
|
2019-02-21 20:08:55 +01:00
|
|
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
2017-06-20 19:37:54 +02:00
|
|
|
#
|
|
|
|
|
2018-10-12 02:46:27 +02:00
|
|
|
|
2019-07-30 20:14:02 +02:00
|
|
|
# Disable LTO on TW due to build failures
|
2019-08-22 16:02:37 +02:00
|
|
|
%if 0%{?suse_version} > 01500
|
2019-07-30 20:14:02 +02:00
|
|
|
%define _lto_cflags %{nil}
|
|
|
|
%endif
|
|
|
|
|
2020-01-24 23:44:24 +01:00
|
|
|
%define __builder ninja
|
|
|
|
|
2021-03-20 17:23:17 +01:00
|
|
|
%define _dwz_low_mem_die_limit 40000000
|
|
|
|
%define _dwz_max_die_limit 200000000
|
|
|
|
|
2017-06-20 19:37:54 +02:00
|
|
|
Name: telegram-desktop
|
2022-02-03 18:00:29 +01:00
|
|
|
Version: 3.5.0
|
2017-06-20 19:37:54 +02:00
|
|
|
Release: 0
|
2018-09-18 15:39:12 +02:00
|
|
|
Summary: Messaging application with a focus on speed and security
|
2018-03-21 18:20:35 +01:00
|
|
|
License: GPL-3.0-only
|
2017-12-11 01:14:03 +01:00
|
|
|
Group: Productivity/Networking/Instant Messenger
|
2018-03-21 18:20:35 +01:00
|
|
|
URL: https://github.com/telegramdesktop/tdesktop
|
2020-01-16 11:02:40 +01:00
|
|
|
Source0: https://github.com/telegramdesktop/tdesktop/releases/download/v%{version}/tdesktop-%{version}-full.tar.gz
|
2021-12-12 17:51:35 +01:00
|
|
|
# Use tg_owt-packager.py to prepare tg_owt-master.zip
|
|
|
|
# Usage: python tg_owt-packager.py --repo-dir $PWD/tg_owt-master
|
|
|
|
Source1: tg_owt-packager.py
|
|
|
|
Source2: tg_owt-master.zip
|
2020-04-29 10:50:19 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2020-08-31 01:56:14 +02:00
|
|
|
Patch1: 0001-use-bundled-ranged-exptected-gsl.patch
|
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch2: 0002-tg_owt-fix-name-confliction.patch
|
2021-08-02 10:35:57 +02:00
|
|
|
# PATCH-FIX-OPENSUSE
|
2022-02-04 14:11:50 +01:00
|
|
|
Patch3: 0003-add-qt5-widgets-include.patch
|
|
|
|
# PATCH-FIX-OPENSUSE
|
2021-08-02 10:35:57 +02:00
|
|
|
Patch4: 0004-use-dynamic-x-libraries.patch
|
|
|
|
# PATCH-FIX-OPENSUSE
|
|
|
|
Patch5: 0005-add-wayland-include-path.patch
|
2021-03-23 15:07:22 +01:00
|
|
|
# There is an (incomplete) patch available for part of the source:
|
|
|
|
# https://github.com/desktop-app/lib_base.git 3582bca53a1e195a31760978dc41f67ce44fc7e4
|
|
|
|
# but tdesktop itself still falls short, and it looks to be something
|
|
|
|
# that would affect all ILP32 platforms.
|
2021-08-31 18:10:39 +02:00
|
|
|
ExcludeArch: %ix86 aarch64_ilp32 ppc riscv32
|
2020-01-24 23:44:24 +01:00
|
|
|
BuildRequires: appstream-glib
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: chrpath
|
2022-02-03 18:00:29 +01:00
|
|
|
BuildRequires: clang
|
2020-01-30 10:20:05 +01:00
|
|
|
BuildRequires: cmake >= 3.16
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: desktop-file-utils
|
2020-01-24 23:44:24 +01:00
|
|
|
BuildRequires: enchant-devel
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: ffmpeg-devel
|
|
|
|
BuildRequires: freetype-devel
|
2018-03-21 18:20:35 +01:00
|
|
|
BuildRequires: glibc-devel
|
2021-03-23 09:49:21 +01:00
|
|
|
BuildRequires: libQt5Core-private-headers-devel >= 5.15
|
|
|
|
BuildRequires: libQt5Gui-private-headers-devel >= 5.15
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: libjpeg-devel
|
2020-01-16 11:02:40 +01:00
|
|
|
BuildRequires: liblz4-devel
|
2021-03-23 09:49:21 +01:00
|
|
|
BuildRequires: libqt5-qtbase-common-devel >= 5.15
|
|
|
|
BuildRequires: libqt5-qtimageformats-devel >= 5.15
|
|
|
|
BuildRequires: libqt5-qtwayland-private-headers-devel >= 5.15
|
2020-08-31 01:56:14 +02:00
|
|
|
BuildRequires: libwebrtc_audio_processing-devel
|
2020-01-16 11:02:40 +01:00
|
|
|
BuildRequires: ninja
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig
|
2020-08-31 01:56:14 +02:00
|
|
|
BuildRequires: unzip
|
2021-08-02 10:35:57 +02:00
|
|
|
BuildRequires: wayland-devel
|
2021-06-05 15:47:30 +02:00
|
|
|
BuildRequires: webkit2gtk3-devel
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: xorg-x11-devel
|
2020-01-16 11:02:40 +01:00
|
|
|
BuildRequires: xxhash-devel
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: xz
|
2020-08-31 01:56:14 +02:00
|
|
|
BuildRequires: yasm
|
2021-01-29 13:46:23 +01:00
|
|
|
BuildRequires: cmake(KF5Wayland)
|
2021-03-23 09:49:21 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5DBus) >= 5.15
|
|
|
|
BuildRequires: pkgconfig(Qt5Network) >= 5.15
|
Accepting request 921993 from home:tux93:branches:server:messaging
- Update to 3.1.1
- Update tg_owt
- Remove 0003-prioritize-gtk2.patch, the file it was applied to
was removed upstream
- Enable GCC11 again
--
old: server:messaging/telegram-desktop
new: home:tux93:branches:server:messaging/telegram-desktop rev None
Index: telegram-desktop.changes
===================================================================
--- telegram-desktop.changes (revision 200)
+++ telegram-desktop.changes (revision 2)
@@ -1,4 +1,50 @@
-------------------------------------------------------------------
+Tue Sep 28 12:33:30 UTC 2021 - Marcel Kuehlhorn <tux93@opensuse.org>
+
+- Update to 3.1.1
+ * Choose one from dozens of new gorgeous animated backgrounds in
+ Chat Settings > Chat background.
+ * Tile chat background patterns horizontally.
+ * Broadcast video and share your screen to an unlimited number of
+ viewers.
+ * To begin, tap the Live Stream button in the title bar of a
+ community where you are an admin.
+ * Tap the "Forward Message" label above the input field to change
+ how messages will be sent.
+ * Hide or show the original sender's name.
+ * Remove or keep captions from media messages.
+ * See how many unread comments there are when opening a
+ channel's comments.
+ * Check who've seen your message in small groups from the
+ context menu.
+ * Enable recording with video in live streams and video chats.
+ * Add a "Close to Taskbar" option when tray icon is disabled.
+ * Add support for Emoji 13.1.
+ * Some animated emoji now have extra effects.
+ * Send fireworks tada, balloon, :like:, hankey or heart to any
+ private chat, then click on the animated emoji to launch the
+ effect.
+ * If your chat partner also has the chat open, you will both see
+ the effects.
+ * See the "Watching" status when your chat partner is enjoying
+ emoji effects with you.
+ * More interactive emoji coming soon.
+ * Right click one of your outgoing messages in small groups to see
+ who recently viewed it.
+ * To protect privacy, read receipts are only stored for 7 days
+ after the message was sent.
+ * Record video and audio from live broadcasts in your group
+ or channel.
+ * Admins can start recording from the '...' menu.
+ * Choose between recording in portrait or landscape orientation.
+ * Finished recordings are sent to the admin's Saved Messages and
+ can be easily shared.
+- Update tg_owt
+- Remove 0003-prioritize-gtk2.patch, the file it was applied to
+ was removed upstream
+- Enable GCC11 again
+
+-------------------------------------------------------------------
Mon Aug 30 11:30:32 UTC 2021 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Enable build on armv6/armv7 since the build has been fixed
Index: telegram-desktop.spec
===================================================================
--- telegram-desktop.spec (revision 200)
+++ telegram-desktop.spec (revision 2)
@@ -21,8 +21,12 @@
%define _lto_cflags %{nil}
%endif
-# Temporarily stick to gcc10 to work around build failures
+# We need current gcc to build
+%if 0%{?suse_version} < 01550 && 0%{?is_opensuse}
%bcond_without fixed_gcc
+%else
+%bcond_with fixed_gcc
+%endif
%define __builder ninja
@@ -30,7 +34,7 @@
%define _dwz_max_die_limit 200000000
Name: telegram-desktop
-Version: 2.9.0
+Version: 3.1.1
Release: 0
Summary: Messaging application with a focus on speed and security
License: GPL-3.0-only
@@ -43,8 +47,6 @@
Patch1: 0001-use-bundled-ranged-exptected-gsl.patch
# PATCH-FIX-OPENSUSE
Patch2: 0002-tg_owt-fix-name-confliction.patch
-# PATCH-FIX-OPENSUSE boo#1149986
-Patch3: 0003-prioritize-gtk2.patch
# PATCH-FIX-OPENSUSE
Patch4: 0004-use-dynamic-x-libraries.patch
# PATCH-FIX-OPENSUSE
@@ -87,6 +89,7 @@
BuildRequires: cmake(KF5Wayland)
BuildRequires: pkgconfig(Qt5DBus) >= 5.15
BuildRequires: pkgconfig(Qt5Network) >= 5.15
+BuildRequires: pkgconfig(Qt5Svg) >= 5.15
BuildRequires: pkgconfig(Qt5WaylandClient) >= 5.15
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15
BuildRequires: pkgconfig(alsa)
@@ -163,7 +166,6 @@
%prep
%setup -q -n tdesktop-%{version}-full
%patch1 -p1
-%patch3 -p1
%patch4 -p1
%patch5 -p1
Index: tg_owt-master.zip
===================================================================
Binary files tg_owt-master.zip (revision 200) and tg_owt-master.zip (revision 2) differ
Index: tdesktop-3.1.1-full.tar.gz
===================================================================
Binary file tdesktop-3.1.1-full.tar.gz (revision 2) added
Index: 0003-prioritize-gtk2.patch
===================================================================
--- 0003-prioritize-gtk2.patch (revision 200)
+++ 0003-prioritize-gtk2.patch (deleted)
@@ -1,19 +0,0 @@
-diff --git a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-index 1b78bac..09c2ede 100644
---- a/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-+++ b/Telegram/lib_base/base/platform/linux/base_linux_gtk_integration.cpp
-@@ -475,12 +475,12 @@ void GtkIntegration::load(const QString &allowedBackends, bool force) {
- DEBUG_LOG(("Icon theme: %1").arg(QIcon::themeName()));
- DEBUG_LOG(("Fallback icon theme: %1").arg(QIcon::fallbackThemeName()));
-
-- if (LoadGtkLibrary(_lib, "gtk-3", 0)) {
-+ if (LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
- _private->loaded = _private->setupBase(_lib, allowedBackends);
- }
- if (!_private->loaded
- && !_private->triedToInit
-- && LoadGtkLibrary(_lib, "gtk-x11-2.0", 0)) {
-+ && LoadGtkLibrary(_lib, "gtk-3", 0)) {
- _private->loaded = _private->setupBase(_lib, allowedBackends);
- }
-
Index: tdesktop-2.9.0-full.tar.gz
===================================================================
Binary file tdesktop-2.9.0-full.tar.gz (revision 200) deleted
OBS-URL: https://build.opensuse.org/request/show/921993
OBS-URL: https://build.opensuse.org/package/show/server:messaging/telegram-desktop?expand=0&rev=201
2021-09-30 10:34:50 +02:00
|
|
|
BuildRequires: pkgconfig(Qt5Svg) >= 5.15
|
2021-03-23 09:49:21 +01:00
|
|
|
BuildRequires: pkgconfig(Qt5WaylandClient) >= 5.15
|
|
|
|
BuildRequires: pkgconfig(Qt5Widgets) >= 5.15
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(alsa)
|
2020-02-12 18:55:33 +01:00
|
|
|
BuildRequires: pkgconfig(dbusmenu-qt5)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(expat)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(fontconfig)
|
|
|
|
BuildRequires: pkgconfig(freetype2)
|
2022-02-03 18:00:29 +01:00
|
|
|
BuildRequires: pkgconfig(gbm)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(glib-2.0)
|
2021-03-23 09:49:21 +01:00
|
|
|
BuildRequires: pkgconfig(glibmm-2.4)
|
2019-08-23 17:44:17 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-2.0)
|
2019-08-22 16:02:37 +02:00
|
|
|
BuildRequires: pkgconfig(gtk+-3.0)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(harfbuzz)
|
2020-03-17 15:58:46 +01:00
|
|
|
BuildRequires: pkgconfig(hunspell)
|
2021-08-02 10:35:57 +02:00
|
|
|
BuildRequires: pkgconfig(jemalloc)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(libavcodec)
|
|
|
|
BuildRequires: pkgconfig(libavdevice)
|
|
|
|
BuildRequires: pkgconfig(libavfilter)
|
|
|
|
BuildRequires: pkgconfig(libavformat)
|
|
|
|
BuildRequires: pkgconfig(libavutil)
|
|
|
|
BuildRequires: pkgconfig(libcrypto)
|
|
|
|
BuildRequires: pkgconfig(liblzma)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(libmng)
|
|
|
|
BuildRequires: pkgconfig(libpcre)
|
|
|
|
BuildRequires: pkgconfig(libpcre16)
|
|
|
|
BuildRequires: pkgconfig(libpcrecpp)
|
|
|
|
BuildRequires: pkgconfig(libpcreposix)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(libpng)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(libproxy-1.0)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(libpulse)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(libtiff-4)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(libva)
|
|
|
|
BuildRequires: pkgconfig(libva-glx)
|
|
|
|
BuildRequires: pkgconfig(libva-x11)
|
|
|
|
BuildRequires: pkgconfig(libwebp)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(minizip)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(mtdev)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(openal)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(openssl)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(opus)
|
|
|
|
BuildRequires: pkgconfig(opusfile)
|
|
|
|
BuildRequires: pkgconfig(opusurl)
|
|
|
|
BuildRequires: pkgconfig(portaudio-2.0)
|
|
|
|
BuildRequires: pkgconfig(portaudiocpp)
|
2021-08-02 10:35:57 +02:00
|
|
|
BuildRequires: pkgconfig(rnnoise)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(tslib)
|
2019-11-02 12:56:40 +01:00
|
|
|
BuildRequires: pkgconfig(vdpau)
|
2022-02-03 18:00:29 +01:00
|
|
|
BuildRequires: pkgconfig(vpx)
|
2021-09-30 19:40:16 +02:00
|
|
|
BuildRequires: pkgconfig(webkit2gtk-4.0)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(xcb-ewmh)
|
|
|
|
BuildRequires: pkgconfig(xcb-icccm)
|
|
|
|
BuildRequires: pkgconfig(xcb-image)
|
|
|
|
BuildRequires: pkgconfig(xcb-keysyms)
|
2020-12-24 12:47:30 +01:00
|
|
|
BuildRequires: pkgconfig(xcb-record)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(xcb-renderutil)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(xcb-util)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(xfixes)
|
2017-06-20 19:37:54 +02:00
|
|
|
BuildRequires: pkgconfig(xkbcommon)
|
|
|
|
BuildRequires: pkgconfig(xkbcommon-x11)
|
2019-06-11 20:22:44 +02:00
|
|
|
BuildRequires: pkgconfig(zlib)
|
2016-11-13 03:07:38 +01:00
|
|
|
# Runtime requirements
|
2017-06-20 19:37:54 +02:00
|
|
|
Requires: hicolor-icon-theme
|
|
|
|
Requires: icu
|
2021-01-29 13:46:23 +01:00
|
|
|
Requires: libqt5-qtimageformats
|
2020-04-29 10:50:19 +02:00
|
|
|
# TDesktop can fall back to a simple GTK file picker but prefers the portal
|
|
|
|
Recommends: xdg-desktop-portal
|
2021-01-29 13:46:23 +01:00
|
|
|
Recommends: google-opensans-fonts
|
2021-03-20 17:23:17 +01:00
|
|
|
Recommends: libqt5-qtwayland
|
2016-06-05 02:26:41 +02:00
|
|
|
|
|
|
|
%description
|
2018-03-21 18:20:35 +01:00
|
|
|
Telegram is a non-profit cloud-based instant messaging service.
|
|
|
|
Users can send messages and exchange photos, videos, stickers, audio and files of any type.
|
|
|
|
Its client-side code is open-source software but the source code for recent versions is not
|
|
|
|
always immediately published, whereas its server-side code is closed-source and proprietary.
|
|
|
|
The service also provides APIs to independent developers.
|
2016-06-05 02:26:41 +02:00
|
|
|
|
|
|
|
%prep
|
2020-01-16 11:02:40 +01:00
|
|
|
%setup -q -n tdesktop-%{version}-full
|
2021-08-02 10:35:57 +02:00
|
|
|
%patch1 -p1
|
2022-02-04 14:11:50 +01:00
|
|
|
%patch3 -p1
|
2021-08-02 10:35:57 +02:00
|
|
|
%patch4 -p1
|
|
|
|
%patch5 -p1
|
2020-08-31 01:56:14 +02:00
|
|
|
|
|
|
|
cd ../
|
2021-12-12 17:51:35 +01:00
|
|
|
unzip -q %{S:2}
|
2020-08-31 01:56:14 +02:00
|
|
|
mkdir Libraries
|
|
|
|
mv tg_owt-master Libraries/tg_owt
|
|
|
|
%patch2 -p2 -d Libraries/tg_owt
|
2016-06-05 02:26:41 +02:00
|
|
|
|
|
|
|
%build
|
2019-06-11 20:22:44 +02:00
|
|
|
|
2021-03-23 09:49:21 +01:00
|
|
|
# Fix build failures due to not finding installed headers for xkbcommon and wayland-client
|
|
|
|
export CXXFLAGS+="`pkg-config --cflags xkbcommon wayland-client`"
|
|
|
|
|
2020-08-31 01:56:14 +02:00
|
|
|
cd %{_builddir}/Libraries/tg_owt
|
|
|
|
mkdir -p out/Release
|
|
|
|
cd out/Release
|
|
|
|
cmake -G Ninja \
|
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
|
|
-DTG_OWT_SPECIAL_TARGET=linux \
|
|
|
|
-DTG_OWT_LIBJPEG_INCLUDE_PATH=/usr/include \
|
|
|
|
-DTG_OWT_OPENSSL_INCLUDE_PATH=/usr/include/openssl \
|
|
|
|
-DTG_OWT_OPUS_INCLUDE_PATH=/usr/include/opus \
|
|
|
|
-DTG_OWT_FFMPEG_INCLUDE_PATH=/usr/include/ffmpeg \
|
2022-02-03 18:00:29 +01:00
|
|
|
-DTG_OWT_LIBVPX_INCLUDE_PATH=/usr/include/vpx \
|
2020-08-31 01:56:14 +02:00
|
|
|
../..
|
2020-09-30 18:06:12 +02:00
|
|
|
sed -i 's,gnu++2a,gnu++17,g' build.ninja
|
2020-08-31 01:56:14 +02:00
|
|
|
ninja
|
|
|
|
|
|
|
|
cd %{_builddir}/tdesktop-%{version}-full
|
|
|
|
# Use the official API key that telegram uses for their snap builds:
|
|
|
|
# https://github.com/telegramdesktop/tdesktop/blob/8fab9167beb2407c1153930ed03a4badd0c2b59f/snap/snapcraft.yaml#L87-L88
|
|
|
|
# Thanks to @primeos on Github.
|
2020-01-24 23:44:24 +01:00
|
|
|
%cmake \
|
2020-04-29 10:50:19 +02:00
|
|
|
-DCMAKE_INSTALL_PREFIX=%{_prefix} \
|
2020-01-16 11:02:40 +01:00
|
|
|
-DCMAKE_BUILD_TYPE=Release \
|
2021-12-07 12:00:46 +01:00
|
|
|
-DDESKTOP_APP_QT6=OFF \
|
2020-08-31 01:56:14 +02:00
|
|
|
-DTDESKTOP_API_ID=611335 \
|
|
|
|
-DTDESKTOP_API_HASH=d524b414d21f4d37f08684c1df41ac9c \
|
2020-01-16 11:02:40 +01:00
|
|
|
-DDESKTOP_APP_USE_GLIBC_WRAPS=OFF \
|
2020-01-22 12:30:17 +01:00
|
|
|
-DDESKTOP_APP_USE_PACKAGED=ON \
|
2020-08-31 01:56:14 +02:00
|
|
|
-DDESKTOP_APP_QTWAYLANDCLIENT_PRIVATE_HEADERS=OFF \
|
2020-01-24 23:44:24 +01:00
|
|
|
-DDESKTOP_APP_USE_PACKAGED_FONTS=ON \
|
2020-01-16 11:02:40 +01:00
|
|
|
-DDESKTOP_APP_DISABLE_CRASH_REPORTS=ON \
|
2020-01-24 23:44:24 +01:00
|
|
|
-DTDESKTOP_LAUNCHER_BASENAME=%{name} \
|
2021-06-05 15:47:30 +02:00
|
|
|
-DDESKTOP_APP_SPECIAL_TARGET=""
|
2020-01-16 11:02:40 +01:00
|
|
|
|
2020-01-24 23:44:24 +01:00
|
|
|
%cmake_build
|
2016-06-05 02:26:41 +02:00
|
|
|
|
|
|
|
%install
|
2020-01-24 23:44:24 +01:00
|
|
|
%cmake_install
|
|
|
|
|
2021-12-12 16:59:35 +01:00
|
|
|
appstream-util validate-relax --nonet %{buildroot}%{_datadir}/metainfo/*.metainfo.xml
|
2016-06-05 02:26:41 +02:00
|
|
|
|
|
|
|
%files
|
2020-01-24 23:44:24 +01:00
|
|
|
%license LICENSE LEGAL
|
|
|
|
%doc README.md changelog.txt
|
2019-07-30 20:14:02 +02:00
|
|
|
%{_bindir}/%{name}
|
2020-01-24 23:44:24 +01:00
|
|
|
%{_datadir}/applications/%{name}.desktop
|
|
|
|
%{_datadir}/icons/hicolor/*/apps/*.png
|
2021-12-12 16:59:35 +01:00
|
|
|
%{_datadir}/metainfo/*.metainfo.xml
|
2017-06-20 19:37:54 +02:00
|
|
|
|
|
|
|
%changelog
|