1 |
commit: 8aaf2a983367e910f1d202deae145f1584ce7fb2 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Wed Sep 7 21:36:22 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Wed Sep 7 21:37:05 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=8aaf2a98 |
7 |
|
8 |
dev-libs/mtxclient: add 0.8.1 |
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.1.ebuild | 51 +++++++++++++++++++++++++++++++ |
14 |
2 files changed, 52 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest |
17 |
index 6c7b2e542..596fa7017 100644 |
18 |
--- a/dev-libs/mtxclient/Manifest |
19 |
+++ b/dev-libs/mtxclient/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST mtxclient-0.7.0.tar.gz 601042 BLAKE2B 05c390d7e3f48d5c02a74fb5783693d5380141b28738b064101f6aaa2fbddf30e0d4b95dc774e68fbad93c642592806d9417344fb9cdd6b01659ec874c3ba67f SHA512 fe015e6532a62fd1d1f5828c7aff08c181a4da1279afe54a502c09ba924a404099d23e74eb176841e774f67c6701e9c0ab666e239f486e4559aaea863ba8f5f9 |
22 |
DIST mtxclient-0.8.0.tar.gz 606271 BLAKE2B 7a12f1f595d509cb2a0bbf9052393f67e427925875124398bf7fa6fc1f96f78084eb357d8ed1642df15274523b66ac78117ab1d088328131a5103d6a4da9b6d4 SHA512 4156432bf66d00bdabb6feee2521b659ee8b50cbcab8eae9d1c8dd496442822d204f7085baa616e51acd4cb7037994d5746fb37be73e71c1c5a3f882229f1e18 |
23 |
+DIST mtxclient-0.8.1.tar.gz 609617 BLAKE2B 00decdcb5a049feebaa9b1d96037923118c49633441c12320fc268e2f09d0dbaf7437f015f74752dd0fec1aa69fe957bcae7a82a0829eec8c1027c88131db653 SHA512 da2f195478cca3f9464aa8d7ca360bdca10f08f8cf658d55124ada3b37ed5b3d9d1ee640019dde58e434a1351b36bf461f4d022ad3d16f33d2957af23ea8a707 |
24 |
|
25 |
diff --git a/dev-libs/mtxclient/mtxclient-0.8.1.ebuild b/dev-libs/mtxclient/mtxclient-0.8.1.ebuild |
26 |
new file mode 100644 |
27 |
index 000000000..f5c71567f |
28 |
--- /dev/null |
29 |
+++ b/dev-libs/mtxclient/mtxclient-0.8.1.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 |
+} |