aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSheila Aman <sheila@vulpine.house>2021-11-25 14:00:27 +0000
committerLeo <thinkabit.ukim@gmail.com>2021-11-26 00:02:32 +0000
commitabfe8b4761f8b35b55aeb57907eb4cda6cd8f351 (patch)
tree1776ebb36d5399f67d0720e165f81f90e037008d
parent078b496fa197d5c4e98c5a6ab70872cb3bbbf92a (diff)
downloadaports-abfe8b4761f8b35b55aeb57907eb4cda6cd8f351.tar.gz
aports-abfe8b4761f8b35b55aeb57907eb4cda6cd8f351.tar.bz2
aports-abfe8b4761f8b35b55aeb57907eb4cda6cd8f351.tar.xz
community/mtxclient: upgrade to 0.6.0
-rw-r--r--community/mtxclient/0001-Fix-compilaton-with-Olm-3.2.5.patch32
-rw-r--r--community/mtxclient/APKBUILD15
2 files changed, 7 insertions, 40 deletions
diff --git a/community/mtxclient/0001-Fix-compilaton-with-Olm-3.2.5.patch b/community/mtxclient/0001-Fix-compilaton-with-Olm-3.2.5.patch
deleted file mode 100644
index ef18647abd..0000000000
--- a/community/mtxclient/0001-Fix-compilaton-with-Olm-3.2.5.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-From b452a984b0fc522c21bb8df7d320bf13960974d0 Mon Sep 17 00:00:00 2001
-From: Nicolas Werner <nicolas.werner@hotmail.de>
-Date: Thu, 16 Sep 2021 15:51:33 +0200
-Subject: [PATCH] Fix compilaton with Olm 3.2.5
-
----
- lib/crypto/client.cpp | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
-diff --git a/lib/crypto/client.cpp b/lib/crypto/client.cpp
-index 0b46163..62233de 100644
---- a/lib/crypto/client.cpp 2021-04-20 18:14:41.000000000 +0200
-+++ b/lib/crypto/client.cpp 2021-10-24 13:56:28.132590707 +0200
-@@ -37,15 +37,15 @@ static const std::array olmErrorStrings{
-
- };
-
--OlmErrorCode
-+mtx::crypto::OlmErrorCode
- olm_exception::ec_from_string(std::string_view error)
- {
- for (size_t i = 0; i < olmErrorStrings.size(); i++) {
- if (olmErrorStrings[i] == error)
-- return static_cast<OlmErrorCode>(i);
-+ return static_cast<mtx::crypto::OlmErrorCode>(i);
- }
-
-- return OlmErrorCode::UNKNOWN_ERROR;
-+ return mtx::crypto::OlmErrorCode::UNKNOWN_ERROR;
- }
-
- void
diff --git a/community/mtxclient/APKBUILD b/community/mtxclient/APKBUILD
index ba9dda04fa..b55f66b578 100644
--- a/community/mtxclient/APKBUILD
+++ b/community/mtxclient/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Bart Ribbers <bribbers@disroot.org>
-# Maintainer: Sheila Aman <sheila@vulpine.house>
+# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=mtxclient
-pkgver=0.5.1
-pkgrel=2
+pkgver=0.6.0
+pkgrel=0
pkgdesc="Client API library for Matrix, built on top of Boost.Asio"
url="https://github.com/nheko-reborn/mtxclient"
arch="all"
license="MIT"
-depends_dev="nlohmann-json openssl1.1-compat-dev zlib-dev olm-dev libsodium-dev boost-dev"
+depends_dev="boost-dev coeurl-dev libsodium-dev nlohmann-json olm-dev
+ openssl1.1-compat-dev zlib-dev"
makedepends="$depends_dev cmake gtest-dev"
subpackages="$pkgname-dev"
-source="https://github.com/nheko-reborn/mtxclient/archive/v$pkgver/mtxclient-v$pkgver.tar.gz
- 0001-Fix-compilaton-with-Olm-3.2.5.patch"
+source="https://github.com/nheko-reborn/mtxclient/archive/v$pkgver/mtxclient-v$pkgver.tar.gz"
options="!check" # Requires running Synapse instance
build() {
@@ -33,6 +33,5 @@ package() {
}
sha512sums="
-f0a5e823bd7f3cccdf5f919c04c36a1a5ab4d2627a6f8f3fac78e4b300eda3b9e1f5060fb31e6e47267bbafc3a03f6c2a2d16c2323e63ce4889f551860e7703f mtxclient-v0.5.1.tar.gz
-bd422a9f7f35b067a00076ccf93e832fc97eed19b9fc1b34bb50d25e348dfc342b6d90b9fad1709c44c4516ed72d861f18799c60cd41f47c97993988d44f0916 0001-Fix-compilaton-with-Olm-3.2.5.patch
+8ee9cd6cfab64625029ed18b5de72523a8d7dc1ac67ff8d9f32d730f15e473248ec11447a480ce9f76629d1bd5722785f229857489a63e71e92aae0990a3d20f mtxclient-v0.6.0.tar.gz
"