From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 81E8A15800F for ; Fri, 13 Jan 2023 16:50:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C9E38E0876; Fri, 13 Jan 2023 16:50:17 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF0CCE0876 for ; Fri, 13 Jan 2023 16:50:17 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C244433D3C5 for ; Fri, 13 Jan 2023 16:50:16 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 17D8F7F2 for ; Fri, 13 Jan 2023 16:50:15 +0000 (UTC) From: "Ronny Gutbrod" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ronny Gutbrod" Message-ID: <1673628582.4af133709af73bcff1ebfc2286435f2f6bfbd531.tastytea@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/mtxclient/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/mtxclient/Manifest dev-libs/mtxclient/mtxclient-0.9.1.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 4af133709af73bcff1ebfc2286435f2f6bfbd531 X-VCS-Branch: dev Date: Fri, 13 Jan 2023 16:50:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: c27c61a4-b1b6-446d-a287-b4272bff123f X-Archives-Hash: f62fad521ba88e4f1bc38e00d3542882 commit: 4af133709af73bcff1ebfc2286435f2f6bfbd531 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Fri Jan 13 00:56:25 2023 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Fri Jan 13 16:49:42 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=4af13370 dev-libs/mtxclient: add 0.9.1 Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-libs/mtxclient/Manifest | 1 + dev-libs/mtxclient/mtxclient-0.9.1.ebuild | 52 +++++++++++++++++++++++++++++++ 2 files changed, 53 insertions(+) diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest index fe2573a9c..d63ffd5cd 100644 --- a/dev-libs/mtxclient/Manifest +++ b/dev-libs/mtxclient/Manifest @@ -1,3 +1,4 @@ DIST mtxclient-0.8.0.tar.gz 606271 BLAKE2B 7a12f1f595d509cb2a0bbf9052393f67e427925875124398bf7fa6fc1f96f78084eb357d8ed1642df15274523b66ac78117ab1d088328131a5103d6a4da9b6d4 SHA512 4156432bf66d00bdabb6feee2521b659ee8b50cbcab8eae9d1c8dd496442822d204f7085baa616e51acd4cb7037994d5746fb37be73e71c1c5a3f882229f1e18 DIST mtxclient-0.8.1.tar.gz 609617 BLAKE2B 00decdcb5a049feebaa9b1d96037923118c49633441c12320fc268e2f09d0dbaf7437f015f74752dd0fec1aa69fe957bcae7a82a0829eec8c1027c88131db653 SHA512 da2f195478cca3f9464aa8d7ca360bdca10f08f8cf658d55124ada3b37ed5b3d9d1ee640019dde58e434a1351b36bf461f4d022ad3d16f33d2957af23ea8a707 DIST mtxclient-0.8.2.tar.gz 609627 BLAKE2B c88441dfb8792246199cdf8cfd5c69c52d6086ab4013be15fe0c471345ebd157e5a1451eceb7e5b73ac06229e87977103ed1f439c47e3d25172d5c39152b29fa SHA512 0f9d07f5001f933dbf0163b865056361b583de2f2aeae159c5d05ff54adbf88cf7033ad57ee3232b032b4f75328bc410d0059a9dcc209b62aa0ae67b2405667f +DIST mtxclient-0.9.1.tar.gz 621917 BLAKE2B aaadc1228ebd792c46e6aa4ff9dab9755bb6215b8ed37f65f3c12192b509ceae46e4e3e1f26aa400b14cfe6690af816139d273028cb0d58e19c756835c53209f SHA512 578d18add07aa2bf52fea41f99bcc91fa403a78d6d4d656a9775ae141fa2f6bffc2f1f0dc95740eab1d46bb9ac79a62691192682d06a75a8cee3e94ad93723c1 diff --git a/dev-libs/mtxclient/mtxclient-0.9.1.ebuild b/dev-libs/mtxclient/mtxclient-0.9.1.ebuild new file mode 100644 index 000000000..e704def7e --- /dev/null +++ b/dev-libs/mtxclient/mtxclient-0.9.1.ebuild @@ -0,0 +1,52 @@ +# Copyright 2020-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake flag-o-matic + +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-libs/libfmt:= + dev-libs/olm + >=dev-libs/openssl-1.1.0:= + >=dev-libs/re2-0.2022.04.01:= + dev-libs/spdlog:= + >=dev-cpp/coeurl-0.3.0:=[ssl] +" +DEPEND=" + ${RDEPEND} + dev-cpp/nlohmann_json + test? ( dev-cpp/gtest ) +" + +PATCHES=( + "${FILESDIR}/0.6.0_remove_network_tests.patch" +) + +src_prepare() { + if use test; then + filter-lto # bug 861731 + fi + + cmake_src_prepare +} + +src_configure() { + local -a mycmakeargs=( + -DBUILD_LIB_TESTS="$(usex test)" + -DBUILD_LIB_EXAMPLES=OFF + ) + + cmake_src_configure +}