1 |
commit: d0309b9ef6c0df9cb5fe009785eb8abcb8bef5b4 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Sun Oct 3 20:21:08 2021 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Mon Oct 4 11:42:31 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d0309b9e |
7 |
|
8 |
dev-libs/mtxclient: Version bump 0.5.2_pre20210916 |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
dev-libs/mtxclient/Manifest | 1 + |
13 |
.../mtxclient/mtxclient-0.5.2_pre20210916.ebuild | 47 ++++++++++++++++++++++ |
14 |
2 files changed, 48 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest |
17 |
index 1baa03481..0c9347b04 100644 |
18 |
--- a/dev-libs/mtxclient/Manifest |
19 |
+++ b/dev-libs/mtxclient/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST mtxclient-0.4.1.tar.gz 572552 BLAKE2B 4d0facaffb0ce1fadc1011b7d557774bcd9ffcef7349894255b9522bcc4e9228739ad8da5a60b0addf6835cf5de3613bebc19842b6922ab9cf94f88c944d0091 SHA512 246c84bc8bc7dd6fd688c79601d16e931b5aaf5fe967d6ea226f1961df2b74ad70d4e790b7400051e007506f58ecd6594ccead31bd3c6308aa2c6727b122c203 |
22 |
DIST mtxclient-0.5.1.tar.gz 582367 BLAKE2B d30a5e0e16d6783d8d1175e5f4144d845fe62897dcc7952cb1598470befa1da47a2b06cd70a60f511a1c2e7656eca2cf5a87734cbc61b79d2a05df295fd256e0 SHA512 f0a5e823bd7f3cccdf5f919c04c36a1a5ab4d2627a6f8f3fac78e4b300eda3b9e1f5060fb31e6e47267bbafc3a03f6c2a2d16c2323e63ce4889f551860e7703f |
23 |
+DIST mtxclient-0.5.2_pre20210916.tar.gz 588702 BLAKE2B 643e37c13348d0fff65b38e16581918d1b9555d6d6cc19ce4965eaa5e34620a6d0f60af7bb075ffded4b585f38b889565c3cfd42f02c2749e4a8c8f013b6c125 SHA512 778257173c08930a05d3bef91afe34d4cf963f57e75159f99a2468513df80669215002ecf5f10c3639a8fef944aeb814cb447e4984c5e1c8ffd87d53b8938030 |
24 |
|
25 |
diff --git a/dev-libs/mtxclient/mtxclient-0.5.2_pre20210916.ebuild b/dev-libs/mtxclient/mtxclient-0.5.2_pre20210916.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..20e905ea7 |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/mtxclient/mtxclient-0.5.2_pre20210916.ebuild |
30 |
@@ -0,0 +1,47 @@ |
31 |
+# Copyright 2020-2021 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake |
37 |
+ |
38 |
+MY_COMMIT="b452a984b0fc522c21bb8df7d320bf13960974d0" |
39 |
+DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio" |
40 |
+HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" |
41 |
+SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz" |
42 |
+S="${WORKDIR}/${PN}-${MY_COMMIT}" |
43 |
+ |
44 |
+LICENSE="MIT" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64" |
47 |
+ |
48 |
+IUSE="test" |
49 |
+RESTRICT="!test? ( test )" |
50 |
+ |
51 |
+RDEPEND=" |
52 |
+ >=dev-libs/boost-1.70.0 |
53 |
+ dev-libs/olm |
54 |
+ >=dev-libs/openssl-1.1.0 |
55 |
+ dev-cpp/nlohmann_json |
56 |
+ dev-libs/spdlog |
57 |
+ dev-cpp/coeurl |
58 |
+" |
59 |
+DEPEND=" |
60 |
+ ${RDEPEND} |
61 |
+ test? ( dev-cpp/gtest ) |
62 |
+" |
63 |
+ |
64 |
+# remove_failing_tests depends on remove_network_tests. |
65 |
+PATCHES=( |
66 |
+ "${FILESDIR}/0.3.0_remove_network_tests.patch" |
67 |
+ "${FILESDIR}/0.3.0_remove_failing_tests.patch" |
68 |
+) |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local -a mycmakeargs=( |
72 |
+ -DBUILD_LIB_TESTS="$(usex test)" |
73 |
+ -DBUILD_LIB_EXAMPLES=OFF |
74 |
+ ) |
75 |
+ |
76 |
+ cmake_src_configure |
77 |
+} |