Compare commits

...

111 Commits

Author SHA1 Message Date
Fabio Valentini d07b835bd2
Rebuild for gstreamer-plugins-bad 1.24 2024-05-25 12:35:35 +02:00
František Zatloukal abdedb7775 Rebuilt for spdlog 1.14.1 2024-05-21 17:41:13 +02:00
Vitaly 7e069609b2
Converted to %autorelease and %autochangelog.
[skip changelog]
2024-03-21 15:28:12 +01:00
Vitaly 8afc1265e7
Fixed FTBFS on F40+. 2024-03-27 11:57:08 +01:00
Fedora Release Engineering e13eb29be6 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-25 08:59:41 +00:00
Fedora Release Engineering 56291c0960 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-21 09:42:24 +00:00
Fedora Release Engineering d6593df8bc Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-20 16:40:53 +00:00
Vitaly Zaitsev c6786f0276
Rebuilt due to spdlog 1.12 update. 2023-07-08 20:44:04 +02:00
Vitaly Zaitsev b631adc2b6
Backported upstream patch with fmt 10 build fix. 2023-06-28 13:37:23 +02:00
Vitaly Zaitsev 547246627d
Rebuilt due to fmt 10 update. 2023-06-28 10:41:21 +02:00
Vitaly Zaitsev 71a771a1b7
Backported upstream patch with GCC 13 build fix. 2023-03-24 19:59:44 +01:00
Vitaly Zaitsev 1943a7a46f
Updated to version 0.11.3. 2023-02-23 10:45:17 +01:00
Vitaly Zaitsev 9c9a18f45d
Updated to version 0.11.2. 2023-02-20 19:29:50 +01:00
Vitaly Zaitsev f520a5f5a9
Added missing patches. 2023-02-18 21:39:55 +01:00
Vitaly Zaitsev 3495450819
Unbundled cpp-httplib and blurhash-cpp. 2023-02-18 21:39:00 +01:00
Jens Petersen cc1f742e0f rebuild 2023-01-30 13:29:18 +08:00
Jens Petersen 46d7d5e00b rebuild f38 against newer cmark 2023-01-27 23:14:29 +08:00
Fedora Release Engineering c949ab992f Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 21:35:40 +00:00
Vitaly Zaitsev 62ca2735a2
Updated to version 0.11.1. 2023-01-16 09:44:35 +01:00
Vitaly Zaitsev f489c9a664
Added missing build requirements. 2023-01-13 08:58:04 +01:00
Vitaly Zaitsev b08538b758
Updated minimal versions of some build-time requirements. 2023-01-13 08:55:23 +01:00
Vitaly Zaitsev a0e39b6b1c
Updated to version 0.11.0. 2023-01-13 08:54:43 +01:00
Vitaly Zaitsev 22265d1789
Converted license tag to SPDX format. 2022-12-13 16:25:03 +01:00
Vitaly Zaitsev 2ff6a50ef4
Rebuilt due to spdlog update. 2022-11-03 15:23:24 +01:00
Vitaly Zaitsev 388332f8eb
Updated to version 0.10.2. 2022-09-29 11:54:18 +02:00
Vitaly Zaitsev 74762b2c1f
Rebuilt due to mtxclient update. 2022-09-10 11:48:48 +02:00
Vitaly Zaitsev c1ecac08af
Bump minimal mtxclient version to 0.8.1. 2022-09-08 09:02:56 +02:00
Vitaly Zaitsev 33f10e891d
Updated to version 0.10.1. 2022-09-08 08:53:53 +02:00
Vitaly Zaitsev 05f870ec17
Rebuilt due to json update. 2022-08-16 14:54:51 +02:00
Vitaly Zaitsev 76a635512b
Added missing files. 2022-07-23 11:09:50 +02:00
Vitaly Zaitsev af09bb0a00
Updated to version 0.10.0. 2022-07-23 10:55:15 +02:00
Fedora Release Engineering 28398843f2 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-22 00:34:40 +00:00
Vitaly Zaitsev 261f81b468
Rebuilt due to fmt library update. 2022-07-16 12:19:52 +02:00
Vitaly Zaitsev f45e68c0c4
Removed obsolete __cmake_in_source_build definition. 2022-05-23 13:10:45 +02:00
Vitaly Zaitsev ba83ea2a01
Rebuilt due to spdlog update. 2022-04-30 13:57:31 +02:00
Vitaly Zaitsev 5d5a9b7fe9
Updated to version 0.9.3. 2022-03-26 18:03:05 +01:00
Vitaly Zaitsev dbbfeeb056
Updated to version 0.9.2. 2022-03-10 11:37:27 +01:00
Vitaly Zaitsev a1a57de2fd
Changed minimal version of mtxclient. 2022-02-24 16:26:35 +01:00
Vitaly Zaitsev 0fb69b9ce6
Rebuilt due to mtxclient update. 2022-02-24 16:23:01 +01:00
Fedora Release Engineering 3908aa56da - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-20 21:12:40 +00:00
Vitaly Zaitsev 9d93f4c81a
Updated to version 0.9.1. 2021-12-21 11:25:39 +01:00
Vitaly Zaitsev 86bd138faa
Added a strict dependency on qt-jdenticon. 2021-12-03 14:28:22 +01:00
Vitaly Zaitsev 1ea5e66dbf
Updated to version 0.9.0. 2021-11-19 18:27:37 +01:00
Fedora Release Engineering 7d1a9ae3d7 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-22 16:08:05 +00:00
Vitaly Zaitsev 032aecb5f8
Rebuilt due to fmt library update. 2021-07-05 14:22:07 +02:00
Vitaly Zaitsev ca4b012c30
Updated to version 0.8.2. 2021-04-23 15:17:34 +02:00
Vitaly Zaitsev bfa4af4173
Backported fonts scaling fixes. 2021-02-08 18:30:16 +01:00
Vitaly Zaitsev 52091b8ddf
Updated to version 0.8.1. 2021-01-30 16:08:15 +01:00
Fedora Release Engineering dd646fd342 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 21:31:28 +00:00
Vitaly Zaitsev 1977d94145
Restored the previous workaround. 2021-01-22 15:23:32 +01:00
Vitaly Zaitsev 428ab41706
Use a better workaround for Clang. 2021-01-22 15:08:50 +01:00
Vitaly Zaitsev f45e5d7be2
Disabled LTO for Clang on armv7hl due to RHBZ#1918924. 2021-01-22 14:49:04 +01:00
Vitaly Zaitsev 56042a8fe9
Enabled s390x builds again. 2021-01-20 21:04:06 +01:00
Vitaly Zaitsev df987bd4b9
Added some emoji fonts as weak dependencies. 2021-01-20 18:24:02 +01:00
Vitaly Zaitsev f9069d4e4e
Temporary disabled builds on s390x due to linkage errors.
See also RHBZ#1918332.
2021-01-20 16:23:52 +01:00
Vitaly Zaitsev 51033ee530
Correctly specified version of the blurhash header-only library. 2021-01-20 15:31:48 +01:00
Vitaly Zaitsev 9da9656f63
Fixed minor bundled libraries licensing issues. 2021-01-20 15:21:18 +01:00
Vitaly Zaitsev b7b7eb49ae
Updated to version 0.8.0. 2021-01-20 14:39:56 +01:00
Rex Dieter 444dbe039a drop hard-coded/versioned Qt5 dependency 2020-12-01 10:32:37 -06:00
Vitaly Zaitsev bda9189cb7
Rebuilt due to Qt 5.15.2 update. 2020-11-23 16:34:32 +01:00
Vitaly Zaitsev 15131cd78c
Rebuilt due to Qt update. 2020-10-17 22:04:40 +02:00
Vitaly Zaitsev 1531a43be0
Switched back to GCC. 2020-07-31 10:32:08 +02:00
Fedora Release Engineering 7d38a23217 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-28 09:09:36 +00:00
Vitaly Zaitsev f78817145d
Cmake out of tree build fixes. 2020-07-21 11:26:09 +02:00
Vitaly Zaitsev b491c234e6
Packported upstream patch with theme changing fix. 2020-06-14 14:32:06 +02:00
Vitaly Zaitsev 075966fa3f
Updated to version 0.7.2. 2020-06-14 11:57:10 +02:00
Vitaly Zaitsev 150f70f224
Updated to version 0.7.1. 2020-06-03 17:23:53 +02:00
Jonathan Wakely 9754b712ef Rebuilt for Boost 1.73 2020-05-31 10:18:09 +01:00
Vitaly Zaitsev 686bb403be
Rebuit due to cmark update. 2020-03-07 13:45:11 +01:00
Vitaly Zaitsev 0900db00b8
Fixed build against modern spdlog. 2020-01-31 14:00:54 +01:00
Fedora Release Engineering 64e4f2c837 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-01-29 14:59:24 +00:00
Fedora Release Engineering ba85dc8828 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-25 18:40:19 +00:00
Vitaly Zaitsev db2bfb1641
Fixed license file name. 2019-05-23 16:01:35 +02:00
Vitaly Zaitsev 111543ff8c
Removed json from custom include path. 2019-05-23 15:27:46 +02:00
Vitaly Zaitsev 431a060aae
Updated to version 0.6.4. 2019-05-23 15:15:39 +02:00
Vitaly Zaitsev 4ec65dc295
Switched upstream to a new maintained fork. Updated to version 0.6.3. 2019-02-10 11:50:30 +01:00
Kalev Lember 4821f6c36c Rebuilt for Boost 1.69 2019-01-31 14:20:56 +01:00
Vitaly Zaitsev 15f0335832
Rebuilt due to libolm update. 2019-01-05 16:07:23 +01:00
Vitaly Zaitsev 1aa22202e1
Backported patch with localization update from maintained fork. 2018-12-10 14:21:49 +01:00
Vitaly Zaitsev 6a7144389a
Updated to version 0.6.2. 2018-10-07 22:56:34 +02:00
Vitaly Zaitsev eb63957a18
Fixed bogus changelog entry. 2018-09-26 19:40:12 +02:00
Vitaly Zaitsev 69a7433959
Updated to version 0.6.1. 2018-09-26 18:58:44 +02:00
Vitaly Zaitsev 8dc46e4da7
Added missing BR. 2018-09-22 18:55:03 +02:00
Vitaly Zaitsev fa572e934e
Updated to version 0.6.0. 2018-09-22 18:29:08 +02:00
Vitaly Zaitsev 4e6a8f0f6f
Updated to version 0.5.5. 2018-09-02 15:49:30 +02:00
Vitaly Zaitsev 292450a51f
Removed patch. 2018-08-22 14:54:00 +02:00
Vitaly Zaitsev 49010779d2
Updated to version 0.5.4. 2018-08-22 14:43:51 +02:00
Vitaly Zaitsev c351610155
Backported patch with crash fix on logout. 2018-08-15 14:13:47 +02:00
Vitaly Zaitsev b23dbf182c
Updated to version 0.5.3. 2018-08-12 20:12:54 +02:00
Florian Weimer 34bc5dbbb7 Rebuild with fixed binutils 2018-07-31 15:14:14 +02:00
Vitaly Zaitsev 94177668e9
Updated to version 0.5.2. 2018-07-28 15:23:20 +02:00
Igor Gnatenko 8c3af633ee
Rebuild for new binutils
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2018-07-27 14:55:19 +02:00
Vitaly Zaitsev 217f876064
Updated to version 0.5.1. 2018-07-26 17:26:50 +02:00
Fedora Release Engineering 3af02da330 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-13 11:36:40 +00:00
Vitaly Zaitsev f39a967727
Fixed issue with system shutdown on KDE Plasma. 2018-07-12 14:34:53 +02:00
Vitaly Zaitsev fdfb26f985
Fixed build. 2018-06-03 15:58:01 +02:00
Vitaly Zaitsev 45e77bc97a
Updated to version 0.4.3. 2018-06-03 15:43:33 +02:00
Vitaly Zaitsev 55139e4d0d
Updated to version 0.4.2. 2018-05-25 15:57:33 +02:00
Vitaly Zaitsev b9cb63a72b
Updated to version 0.4.1. 2018-05-24 14:31:38 +02:00
Vitaly Zaitsev deba512e9d
Updated to version 0.4.0. 2018-05-04 12:21:34 +02:00
Vitaly Zaitsev 9311df1379
Updated to version 0.3.1. 2018-04-13 18:23:17 +02:00
Vitaly Zaitsev 69eb9bb4de
Updated to 0.3.0. 2018-04-03 16:01:35 +02:00
Vitaly Zaitsev e610fe18b6
Reverted json version bump. 2018-03-20 17:44:56 +01:00
Vitaly Zaitsev 2a6e7ea6fd
Fixed build under Fedora 26, Fedora 27. 2018-03-20 17:36:40 +01:00
Vitaly Zaitsev bddcd56c87
Updated to version 0.2.1. 2018-03-14 15:49:18 +01:00
Vitaly Zaitsev 67a2cb918f
Updated to version 0.2.0. 2018-03-05 11:26:26 +01:00
Vitaly Zaitsev b0a9616dfc
Updated to latest Git snapshot. 2018-02-26 16:17:32 +01:00
Vitaly Zaitsev 56ffda361c
Updated to latest Git snapshot. 2018-02-16 16:27:26 +01:00
Fedora Release Engineering c30b74398e - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-08 04:13:20 +00:00
Vitaly Zaitsev 65e2cd25ed
Updated to latest snapshot with crash fixes. 2018-02-03 15:59:49 +01:00
Vitaly Zaitsev 9abba2fff0
Initial upload (#1539831). 2018-02-02 14:35:59 +01:00
8 changed files with 261 additions and 3 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/nheko-*.tar.gz

View File

@ -1,3 +0,0 @@
# nheko
Desktop client for the Matrix protocol

2
changelog Normal file
View File

@ -0,0 +1,2 @@
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 0.11.3-7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild

View File

@ -0,0 +1,78 @@
From e89e65dc17020772eb057414b4f0c5d6f4ad98d0 Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Wed, 28 Jun 2023 13:16:10 +0200
Subject: [PATCH] Fix build against fmt10
fixes #1499
---
src/Cache.cpp | 2 +-
src/encryption/DeviceVerificationFlow.cpp | 2 +-
src/timeline/InputBar.cpp | 10 ++++++----
src/ui/MxcMediaProxy.cpp | 9 ++++++---
4 files changed, 14 insertions(+), 9 deletions(-)
diff --git a/src/Cache.cpp b/src/Cache.cpp
index c575ebf7..0c5e879c 100644
--- a/src/Cache.cpp
+++ b/src/Cache.cpp
@@ -438,7 +438,7 @@ Cache::loadSecretsFromStore(
if (job->error() && job->error() != QKeychain::Error::EntryNotFound) {
nhlog::db()->error("Restoring secret '{}' failed ({}): {}",
name.toStdString(),
- job->error(),
+ static_cast<int>(job->error()),
job->errorString().toStdString());
fatalSecretError();
diff --git a/src/encryption/DeviceVerificationFlow.cpp b/src/encryption/DeviceVerificationFlow.cpp
index 0e9043dd..7dee9e6b 100644
--- a/src/encryption/DeviceVerificationFlow.cpp
+++ b/src/encryption/DeviceVerificationFlow.cpp
@@ -39,7 +39,7 @@ DeviceVerificationFlow::DeviceVerificationFlow(QObject *,
, deviceIds(std::move(deviceIds_))
, model_(model)
{
- nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", flow_type, (void *)this);
+ nhlog::crypto()->debug("CREATING NEW FLOW, {}, {}", static_cast<int>(flow_type), (void *)this);
if (deviceIds.size() == 1)
deviceId = deviceIds.front();
diff --git a/src/timeline/InputBar.cpp b/src/timeline/InputBar.cpp
index 94944337..1fb210d8 100644
--- a/src/timeline/InputBar.cpp
+++ b/src/timeline/InputBar.cpp
@@ -948,14 +948,14 @@ MediaUpload::MediaUpload(std::unique_ptr<QIODevice> source_,
this,
[mediaPlayer](QMediaPlayer::Error error) {
nhlog::ui()->debug("Media player error {} and errorStr {}",
- error,
+ static_cast<int>(error),
mediaPlayer->errorString().toStdString());
});
connect(mediaPlayer,
&QMediaPlayer::mediaStatusChanged,
[mediaPlayer](QMediaPlayer::MediaStatus status) {
nhlog::ui()->debug(
- "Media player status {} and error {}", status, mediaPlayer->error());
+ "Media player status {} and error {}", static_cast<int>(status), static_cast<int>(mediaPlayer->error()));
});
connect(mediaPlayer,
qOverload<const QString &, const QVariant &>(&QMediaPlayer::metaDataChanged),
diff --git a/src/ui/MxcMediaProxy.cpp b/src/ui/MxcMediaProxy.cpp
index da5a2231..dbe63469 100644
--- a/src/ui/MxcMediaProxy.cpp
+++ b/src/ui/MxcMediaProxy.cpp
@@ -37,11 +37,11 @@ MxcMediaProxy::MxcMediaProxy(QObject *parent)
qOverload<QMediaPlayer::Error>(&MxcMediaProxy::error),
[this](QMediaPlayer::Error error) {
nhlog::ui()->info("Media player error {} and errorStr {}",
- error,
+ static_cast<int>(error),
this->errorString().toStdString());
});
connect(this, &MxcMediaProxy::mediaStatusChanged, [this](QMediaPlayer::MediaStatus status) {
- nhlog::ui()->info("Media player status {} and error {}", status, this->error());
+ nhlog::ui()->info("Media player status {} and error {}", static_cast<int>(status), static_cast<int>(this->error()));
});
connect(this,
qOverload<const QString &, const QVariant &>(&MxcMediaProxy::metaDataChanged),

View File

@ -0,0 +1,23 @@
From 871e403f6799df48cfbbe08eba56d473a0c34216 Mon Sep 17 00:00:00 2001
From: q234rty <q23456yuiop@gmail.com>
Date: Thu, 17 Aug 2023 15:13:01 +0800
Subject: [PATCH] Fix build with fmt 10.1.0
I have no idea whether this is a fmt bug, and if this isn't a fmt bug how did this work before, but oh well...
---
src/ChatPage.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ChatPage.cpp b/src/ChatPage.cpp
index 4686b0f53..06d883032 100644
--- a/src/ChatPage.cpp
+++ b/src/ChatPage.cpp
@@ -1269,7 +1269,7 @@ ChatPage::getBackupVersion()
nhlog::crypto()->info("Our backup key {} does not match the one "
"used in the online backup {}",
pubkey,
- auth_data["public_key"]);
+ auth_data["public_key"].get<std::string>());
cache::client()->deleteBackupVersion();
return;
}

View File

@ -0,0 +1,22 @@
From d7c10ae90417fcbb7f81edd4e40d89e91436244b Mon Sep 17 00:00:00 2001
From: Nicolas Werner <nicolas.werner@hotmail.de>
Date: Fri, 24 Mar 2023 19:48:47 +0100
Subject: [PATCH] Fix explicit optional construction on gcc13
---
src/timeline/EventStore.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/timeline/EventStore.cpp b/src/timeline/EventStore.cpp
index 3c214dcbe..dd0e920de 100644
--- a/src/timeline/EventStore.cpp
+++ b/src/timeline/EventStore.cpp
@@ -650,7 +650,7 @@ EventStore::get(int idx, bool decrypt)
if (edits_.empty())
event = cache::client()->getEvent(room_id_, *event_id);
else
- event = {edits_.back()};
+ event = mtx::events::collections::TimelineEvent{edits_.back()};
if (!event)
return nullptr;

134
nheko.spec Normal file
View File

@ -0,0 +1,134 @@
Name: nheko
Version: 0.11.3
Release: %autorelease
# Main source - GPL-3.0-or-later.
# cpp-httplib - bundled - MIT.
# qtsingleapplication-qt5 - bundled - MIT.
License: GPL-3.0-or-later AND MIT
Summary: Desktop client for the Matrix protocol
URL: https://github.com/Nheko-Reborn/%{name}
Source0: %{url}/archive/v%{version}/%{name}-%{version}.tar.gz
# https://github.com/Nheko-Reborn/nheko/commit/d7c10ae90417fcbb7f81edd4e40d89e91436244b
Patch100: %{name}-0.11.3-gcc13-fix.patch
# https://github.com/Nheko-Reborn/nheko/commit/e89e65dc17020772eb057414b4f0c5d6f4ad98d0
Patch101: %{name}-0.11.3-fmt10-fix.patch
# https://github.com/Nheko-Reborn/nheko/commit/871e403f6799df48cfbbe08eba56d473a0c34216
Patch102: %{name}-0.11.3-fmt10.1-fix.patch
BuildRequires: cmake(MatrixClient) >= 0.9.2
BuildRequires: cmake(Olm) >= 3.2.12
BuildRequires: cmake(Qt5Concurrent)
BuildRequires: cmake(Qt5Core)
BuildRequires: cmake(Qt5DBus)
BuildRequires: cmake(Qt5Keychain)
BuildRequires: cmake(Qt5LinguistTools)
BuildRequires: cmake(Qt5Multimedia)
BuildRequires: cmake(Qt5Network)
BuildRequires: cmake(Qt5Qml)
BuildRequires: cmake(Qt5QuickCompiler)
BuildRequires: cmake(Qt5QuickControls2)
BuildRequires: cmake(Qt5QuickWidgets)
BuildRequires: cmake(Qt5Svg)
BuildRequires: cmake(Qt5Widgets)
BuildRequires: cmake(fmt) >= 9.1.0
BuildRequires: cmake(httplib) >= 0.5.12
BuildRequires: cmake(mpark_variant)
BuildRequires: cmake(nlohmann_json) >= 3.2.0
BuildRequires: cmake(spdlog) >= 1.0.0
BuildRequires: pkgconfig(blurhash) >= 0.2.0
BuildRequires: pkgconfig(coeurl) >= 0.3.0
BuildRequires: pkgconfig(gstreamer-1.0)
BuildRequires: pkgconfig(gstreamer-app-1.0)
BuildRequires: pkgconfig(gstreamer-audio-1.0)
BuildRequires: pkgconfig(gstreamer-base-1.0)
BuildRequires: pkgconfig(gstreamer-sdp-1.0)
BuildRequires: pkgconfig(gstreamer-video-1.0)
BuildRequires: pkgconfig(gstreamer-webrtc-1.0)
BuildRequires: pkgconfig(libcmark) >= 0.29.0
BuildRequires: pkgconfig(libcrypto)
BuildRequires: pkgconfig(libevent)
BuildRequires: pkgconfig(lmdb)
BuildRequires: pkgconfig(openssl)
BuildRequires: pkgconfig(re2)
BuildRequires: pkgconfig(xcb)
BuildRequires: pkgconfig(xcb-ewmh)
BuildRequires: pkgconfig(zlib)
BuildRequires: asciidoc
BuildRequires: cmake
BuildRequires: desktop-file-utils
BuildRequires: gcc
BuildRequires: gcc-c++
BuildRequires: libappstream-glib
BuildRequires: lmdbxx-devel >= 1.0.0
BuildRequires: ninja-build
Requires: hicolor-icon-theme
Requires: qt-jdenticon%{?_isa}
Requires: qt5-qtquickcontrols2%{?_isa}
Recommends: google-noto-emoji-color-fonts
Recommends: google-noto-emoji-fonts
# https://github.com/Nheko-Reborn/nheko/issues/391
Provides: bundled(qtsingleapplication-qt5) = 3.3.2
%description
The motivation behind the project is to provide a native desktop app
for Matrix that feels more like a mainstream chat app.
%prep
%autosetup -p1
rm -rf third_party/{blurhash,cpp-httplib*}
%build
%cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_INSTALL_RPATH:BOOL=ON \
-DCOMPILE_QML:BOOL=OFF \
-DHUNTER_ENABLED:BOOL=OFF \
-DCI_BUILD:BOOL=OFF \
-DASAN:BOOL=OFF \
-DQML_DEBUGGING:BOOL=OFF \
-DBUILD_DOCS:BOOL=OFF \
-DVOIP:BOOL=ON \
-DMAN:BOOL=ON \
-DUSE_BUNDLED_BLURHASH:BOOL=OFF \
-DUSE_BUNDLED_CMARK:BOOL=OFF \
-DUSE_BUNDLED_COEURL:BOOL=OFF \
-DUSE_BUNDLED_CPPHTTPLIB:BOOL=OFF \
-DUSE_BUNDLED_GTEST:BOOL=OFF \
-DUSE_BUNDLED_JSON:BOOL=OFF \
-DUSE_BUNDLED_LIBEVENT:BOOL=OFF \
-DUSE_BUNDLED_LMDB:BOOL=OFF \
-DUSE_BUNDLED_LMDBXX:BOOL=OFF \
-DUSE_BUNDLED_MTXCLIENT:BOOL=OFF \
-DUSE_BUNDLED_OLM:BOOL=OFF \
-DUSE_BUNDLED_OPENSSL:BOOL=OFF \
-DUSE_BUNDLED_QTKEYCHAIN:BOOL=OFF \
-DUSE_BUNDLED_SPDLOG:BOOL=OFF
%cmake_build
%install
%cmake_install
%check
appstream-util validate-relax --nonet %{buildroot}%{_metainfodir}/%{name}.appdata.xml
desktop-file-validate %{buildroot}%{_datadir}/applications/%{name}.desktop
%files
%doc README.md CHANGELOG.md
%license COPYING
%dir %{_datadir}/zsh/site-functions
%{_bindir}/%{name}
%{_metainfodir}/%{name}.appdata.xml
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/*/apps/%{name}.*
%{_datadir}/zsh/site-functions/_%{name}
%{_mandir}/man1/%{name}.1*
%changelog
%autochangelog

1
sources Normal file
View File

@ -0,0 +1 @@
SHA512 (nheko-0.11.3.tar.gz) = bd5b94def3c56bb2c91c40c3ef967ee3b14cb71a7e5b01028743a849932c918620c2b1a1b822705e49dacc80dae6c48712f63bf9a68698858b0faaf1a816c9cd