1 |
commit: 9a03114ed5a150793b791e582cbfa3cd16a2e7b1 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Tue Feb 22 21:12:01 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Tue Feb 22 21:12:01 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9a03114e |
7 |
|
8 |
dev-libs/mtxclient: Version bump 0.6.2 |
9 |
|
10 |
Fixes guaranteed crash with Matrix API >=1.1 |
11 |
|
12 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
13 |
|
14 |
dev-libs/mtxclient/Manifest | 1 + |
15 |
dev-libs/mtxclient/mtxclient-0.6.2.ebuild | 42 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest |
19 |
index 50f32e868..3fd61b4c8 100644 |
20 |
--- a/dev-libs/mtxclient/Manifest |
21 |
+++ b/dev-libs/mtxclient/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST mtxclient-0.6.0.tar.gz 593602 BLAKE2B 61e9f332e2056727c0d8e6b473e42591e3a8fc4841b8f76a1fe3ac61b1ccc9ba40c0dd248201ae301ce56d21aa0e034d65c5a7e7c33b202361b6ab6fd763aa01 SHA512 8ee9cd6cfab64625029ed18b5de72523a8d7dc1ac67ff8d9f32d730f15e473248ec11447a480ce9f76629d1bd5722785f229857489a63e71e92aae0990a3d20f |
24 |
DIST mtxclient-0.6.1.tar.gz 596763 BLAKE2B 68acd5c4e0d03ac3afe8ce4b756099ced9a672fbe9017e4f654249f65ca2e0bec830119eb05651a9ed96ee139e3a4823a0ce4a74a63b37ae91076f0b70f4c9fd SHA512 96463a135e402b7255a0d5641babe128751ee731f01ccd50fdf0a1e60d6f036370998c2d05fa286129def8a4591183bf0d63fe631b9a7a2fa92ae7a748cf07d0 |
25 |
+DIST mtxclient-0.6.2.tar.gz 596675 BLAKE2B c796218849324222e94ecd82336f4bfed25f344c8d01f9de293f5220d43e9c3b2b3921dce5d0d9a0d850e85dcb2e2b74e26ab75000d1fa48601c433d646b90ba SHA512 91ac33b16fb2685f1aee3e76f3fe334a34e8403d11be8a065e10dac0181333131654f26886a8cf5b25ded1960010c06a259e7d2e5f195a28f7cc8041ca9dbff9 |
26 |
|
27 |
diff --git a/dev-libs/mtxclient/mtxclient-0.6.2.ebuild b/dev-libs/mtxclient/mtxclient-0.6.2.ebuild |
28 |
new file mode 100644 |
29 |
index 000000000..f1520046c |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/mtxclient/mtxclient-0.6.2.ebuild |
32 |
@@ -0,0 +1,42 @@ |
33 |
+# Copyright 2020-2021 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=8 |
37 |
+ |
38 |
+inherit cmake |
39 |
+ |
40 |
+DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio" |
41 |
+HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" |
42 |
+SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+ |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ dev-libs/olm |
53 |
+ >=dev-libs/openssl-1.1.0 |
54 |
+ dev-libs/spdlog |
55 |
+ >=dev-cpp/coeurl-0.1.1 |
56 |
+" |
57 |
+DEPEND=" |
58 |
+ ${RDEPEND} |
59 |
+ dev-cpp/nlohmann_json |
60 |
+ test? ( dev-cpp/gtest ) |
61 |
+" |
62 |
+ |
63 |
+PATCHES=( |
64 |
+ "${FILESDIR}/0.6.0_remove_network_tests.patch" |
65 |
+) |
66 |
+ |
67 |
+src_configure() { |
68 |
+ local -a mycmakeargs=( |
69 |
+ -DBUILD_LIB_TESTS="$(usex test)" |
70 |
+ -DBUILD_LIB_EXAMPLES=OFF |
71 |
+ ) |
72 |
+ |
73 |
+ cmake_src_configure |
74 |
+} |