1 |
commit: ccb637f81a1439a553c47a847b02eefc790e33ff |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Thu Jan 28 01:31:30 2021 +0000 |
4 |
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> |
5 |
CommitDate: Thu Jan 28 01:31:30 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ccb637f8 |
7 |
|
8 |
dev-libs/mtxclient: Version bump 0.4.1. |
9 |
|
10 |
Security fixes. |
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.4.1.ebuild | 42 +++++++++++++++++++++++++++++++ |
16 |
2 files changed, 43 insertions(+) |
17 |
|
18 |
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest |
19 |
index 22606391..8917afd9 100644 |
20 |
--- a/dev-libs/mtxclient/Manifest |
21 |
+++ b/dev-libs/mtxclient/Manifest |
22 |
@@ -1,2 +1,3 @@ |
23 |
DIST mtxclient-0.3.1.tar.gz 511985 BLAKE2B 5271dc755ea10be2bddd0155b9c3288be2f0cb165989fdebcf237795a12041e8f21f7c54b9f7ec86e5fa08c386daad696f77509ae65b2aa2c30c9a292bb1b682 SHA512 ed4991b0a611be80cef42dec5e4b747787dae6aeaf46dc1cc395b06233efc9a5b1b57b1809eb9dacd7893b4de19f43996bb6d4556fc67697013248d79528a567 |
24 |
DIST mtxclient-0.4.0.tar.gz 571434 BLAKE2B d836d94f9045f0ca5a0aa9b5fe6f3643e3189d4ee31b797472aca10320678308d51e2c9bc37f4234d00e0c201aeefaf8c4c40072b0ad8c7f5b6a9e0c10163a2a SHA512 8c3538147b9277babbac14aaec6652ff638ae9335c01f786dfec78e3edc5c23591da8ce33c4366329050cf644f71a9fac8d337a2a9fbf7ea2883be05f6ac1a1e |
25 |
+DIST mtxclient-0.4.1.tar.gz 572552 BLAKE2B 4d0facaffb0ce1fadc1011b7d557774bcd9ffcef7349894255b9522bcc4e9228739ad8da5a60b0addf6835cf5de3613bebc19842b6922ab9cf94f88c944d0091 SHA512 246c84bc8bc7dd6fd688c79601d16e931b5aaf5fe967d6ea226f1961df2b74ad70d4e790b7400051e007506f58ecd6594ccead31bd3c6308aa2c6727b122c203 |
26 |
|
27 |
diff --git a/dev-libs/mtxclient/mtxclient-0.4.1.ebuild b/dev-libs/mtxclient/mtxclient-0.4.1.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000..6589f98e |
30 |
--- /dev/null |
31 |
+++ b/dev-libs/mtxclient/mtxclient-0.4.1.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=7 |
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 |
+IUSE="test" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ >=dev-libs/boost-1.70.0 |
51 |
+ dev-libs/olm |
52 |
+ >=dev-libs/openssl-1.1.0 |
53 |
+ dev-cpp/nlohmann_json |
54 |
+" |
55 |
+DEPEND=" |
56 |
+ ${RDEPEND} |
57 |
+ dev-libs/spdlog |
58 |
+ test? ( dev-cpp/gtest ) |
59 |
+" |
60 |
+ |
61 |
+# remove_failing_tests depends on remove_network_tests. |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/0.3.0_remove_network_tests.patch" |
64 |
+ "${FILESDIR}/0.3.0_remove_failing_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 |
+} |