commit: 3b11c66dba3de26475093e1b94133b28466c9b0b Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Thu Mar 10 07:30:38 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Thu Mar 10 13:43:34 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3b11c66d
dev-libs/mtxclient: Version bump 0.7.0 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> dev-libs/mtxclient/Manifest | 1 + dev-libs/mtxclient/mtxclient-0.7.0.ebuild | 42 +++++++++++++++++++++++++++++++ 2 files changed, 43 insertions(+) diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest index 2b6b53345..819a15902 100644 --- a/dev-libs/mtxclient/Manifest +++ b/dev-libs/mtxclient/Manifest @@ -1 +1,2 @@ DIST mtxclient-0.6.2.tar.gz 596675 BLAKE2B c796218849324222e94ecd82336f4bfed25f344c8d01f9de293f5220d43e9c3b2b3921dce5d0d9a0d850e85dcb2e2b74e26ab75000d1fa48601c433d646b90ba SHA512 91ac33b16fb2685f1aee3e76f3fe334a34e8403d11be8a065e10dac0181333131654f26886a8cf5b25ded1960010c06a259e7d2e5f195a28f7cc8041ca9dbff9 +DIST mtxclient-0.7.0.tar.gz 601042 BLAKE2B 05c390d7e3f48d5c02a74fb5783693d5380141b28738b064101f6aaa2fbddf30e0d4b95dc774e68fbad93c642592806d9417344fb9cdd6b01659ec874c3ba67f SHA512 fe015e6532a62fd1d1f5828c7aff08c181a4da1279afe54a502c09ba924a404099d23e74eb176841e774f67c6701e9c0ab666e239f486e4559aaea863ba8f5f9 diff --git a/dev-libs/mtxclient/mtxclient-0.7.0.ebuild b/dev-libs/mtxclient/mtxclient-0.7.0.ebuild new file mode 100644 index 000000000..a7a949bf1 --- /dev/null +++ b/dev-libs/mtxclient/mtxclient-0.7.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 2020-2022 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 Boost.Asio" +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-libs/olm + >=dev-libs/openssl-1.1.0 + dev-libs/spdlog + >=dev-cpp/coeurl-0.1.1:= +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json + 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 + ) + + cmake_src_configure +}