1 |
commit: d3bf84becae4d70f4d88a197d430639d25feed45 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Fri Sep 9 20:12:06 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Fri Sep 9 20:12:06 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d3bf84be |
7 |
|
8 |
dev-libs/mtxclient: add 0.8.2 |
9 |
|
10 |
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> |
11 |
|
12 |
dev-libs/mtxclient/Manifest | 1 + |
13 |
dev-libs/mtxclient/mtxclient-0.8.2.ebuild | 51 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest |
17 |
index ed7376679..fe2573a9c 100644 |
18 |
--- a/dev-libs/mtxclient/Manifest |
19 |
+++ b/dev-libs/mtxclient/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST mtxclient-0.8.0.tar.gz 606271 BLAKE2B 7a12f1f595d509cb2a0bbf9052393f67e427925875124398bf7fa6fc1f96f78084eb357d8ed1642df15274523b66ac78117ab1d088328131a5103d6a4da9b6d4 SHA512 4156432bf66d00bdabb6feee2521b659ee8b50cbcab8eae9d1c8dd496442822d204f7085baa616e51acd4cb7037994d5746fb37be73e71c1c5a3f882229f1e18 |
22 |
DIST mtxclient-0.8.1.tar.gz 609617 BLAKE2B 00decdcb5a049feebaa9b1d96037923118c49633441c12320fc268e2f09d0dbaf7437f015f74752dd0fec1aa69fe957bcae7a82a0829eec8c1027c88131db653 SHA512 da2f195478cca3f9464aa8d7ca360bdca10f08f8cf658d55124ada3b37ed5b3d9d1ee640019dde58e434a1351b36bf461f4d022ad3d16f33d2957af23ea8a707 |
23 |
+DIST mtxclient-0.8.2.tar.gz 609627 BLAKE2B c88441dfb8792246199cdf8cfd5c69c52d6086ab4013be15fe0c471345ebd157e5a1451eceb7e5b73ac06229e87977103ed1f439c47e3d25172d5c39152b29fa SHA512 0f9d07f5001f933dbf0163b865056361b583de2f2aeae159c5d05ff54adbf88cf7033ad57ee3232b032b4f75328bc410d0059a9dcc209b62aa0ae67b2405667f |
24 |
|
25 |
diff --git a/dev-libs/mtxclient/mtxclient-0.8.2.ebuild b/dev-libs/mtxclient/mtxclient-0.8.2.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..f5c71567f |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/mtxclient/mtxclient-0.8.2.ebuild |
30 |
@@ -0,0 +1,51 @@ |
31 |
+# Copyright 2020-2022 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=8 |
35 |
+ |
36 |
+inherit cmake flag-o-matic |
37 |
+ |
38 |
+DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio" |
39 |
+HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" |
40 |
+SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
41 |
+ |
42 |
+LICENSE="MIT" |
43 |
+SLOT="0/${PV}" # ABI may break even on patch version changes |
44 |
+KEYWORDS="~amd64" |
45 |
+ |
46 |
+IUSE="test" |
47 |
+RESTRICT="!test? ( test )" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/libfmt:= |
51 |
+ dev-libs/olm |
52 |
+ >=dev-libs/openssl-1.1.0:= |
53 |
+ dev-libs/spdlog:= |
54 |
+ >=dev-cpp/coeurl-0.2.1:=[ssl] |
55 |
+" |
56 |
+DEPEND=" |
57 |
+ ${RDEPEND} |
58 |
+ dev-cpp/nlohmann_json |
59 |
+ test? ( dev-cpp/gtest ) |
60 |
+" |
61 |
+ |
62 |
+PATCHES=( |
63 |
+ "${FILESDIR}/0.6.0_remove_network_tests.patch" |
64 |
+) |
65 |
+ |
66 |
+src_prepare() { |
67 |
+ if use test; then |
68 |
+ filter-lto # bug 861731 |
69 |
+ fi |
70 |
+ |
71 |
+ cmake_src_prepare |
72 |
+} |
73 |
+ |
74 |
+src_configure() { |
75 |
+ local -a mycmakeargs=( |
76 |
+ -DBUILD_LIB_TESTS="$(usex test)" |
77 |
+ -DBUILD_LIB_EXAMPLES=OFF |
78 |
+ ) |
79 |
+ |
80 |
+ cmake_src_configure |
81 |
+} |