diff options
author | tea <gentoo@tastytea.de> | 2024-06-13 12:14:53 +0200 |
---|---|---|
committer | tea <gentoo@tastytea.de> | 2024-06-13 14:53:42 +0200 |
commit | 660398280bac0ff2980b4e67a642a15d5b55fb22 (patch) | |
tree | 48075e06498e10b3ca8248f6e9cada432d33a456 /dev-libs | |
parent | dev-cpp/coeurl: drop 0.2.1 (diff) | |
download | guru-660398280bac0ff2980b4e67a642a15d5b55fb22.tar.gz guru-660398280bac0ff2980b4e67a642a15d5b55fb22.tar.bz2 guru-660398280bac0ff2980b4e67a642a15d5b55fb22.zip |
dev-libs/mtxclient: add 0.10.0
Signed-off-by: tea <gentoo@tastytea.de>
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/mtxclient/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/mtxclient/mtxclient-0.10.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest index 5376ad445..e5c433a11 100644 --- a/dev-libs/mtxclient/Manifest +++ b/dev-libs/mtxclient/Manifest @@ -1,2 +1,3 @@ +DIST mtxclient-0.10.0.tar.gz 633765 BLAKE2B c76c4592e51c46418e5ad610432b2edc39f4bcfe3a9f8642888addc91296b7aa129e5716b818a1257e6e1cc8b945bac7d3434d283d9ba9705cd9250f6b6ad59b SHA512 584831f67d7c15c293dd3c3cdca6e5b76c8fd477d5daa5eecea4de43431db0628f5af846f2c1cb1cfdabbd53e3f696b45c8aa736bd615729df583a33157958bd DIST mtxclient-0.9.1.tar.gz 621917 BLAKE2B aaadc1228ebd792c46e6aa4ff9dab9755bb6215b8ed37f65f3c12192b509ceae46e4e3e1f26aa400b14cfe6690af816139d273028cb0d58e19c756835c53209f SHA512 578d18add07aa2bf52fea41f99bcc91fa403a78d6d4d656a9775ae141fa2f6bffc2f1f0dc95740eab1d46bb9ac79a62691192682d06a75a8cee3e94ad93723c1 DIST mtxclient-0.9.2.tar.gz 623481 BLAKE2B 322506eaac9abf2463c08bee5e17547d7a33cf473785839566ec185db97303f7e33d5b58aa85735fa066f7f2f507e682bec985dc9dffa83f9b9ac799ed78c80d SHA512 87c9cd23ce8a52b2f850e3770eb51d03f40f4a5e45b5e536b2446932fc866b8835212d9364c5890af7404843da2547bdc94bb5d3d1933903fea8374b8900fd73 diff --git a/dev-libs/mtxclient/mtxclient-0.10.0.ebuild b/dev-libs/mtxclient/mtxclient-0.10.0.ebuild new file mode 100644 index 000000000..9fd6e27ac --- /dev/null +++ b/dev-libs/mtxclient/mtxclient-0.10.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2020-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Client API library for Matrix, built on top of libcurl" +HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient" +SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0/${PV}" # ABI may break even on patch version changes +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-cpp/coeurl-0.3.1:=[ssl] + dev-libs/libfmt:= + dev-libs/olm + dev-libs/openssl:= + dev-libs/re2:= + dev-libs/spdlog:= +" +DEPEND=" + ${RDEPEND} + >=dev-cpp/nlohmann_json-3.11.0 + test? ( dev-cpp/gtest ) +" + +PATCHES=( + "${FILESDIR}/0.6.0_remove_network_tests.patch" +) + +src_configure() { + local -a mycmakeargs=( + -DBUILD_LIB_TESTS="$(usex test)" + -DBUILD_LIB_EXAMPLES=OFF + -DCMAKE_POSITION_INDEPENDENT_CODE=OFF + ) + + cmake_src_configure +} |