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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id D08BD158245 for ; Sun, 8 Dec 2024 10:27:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 0046FE0E10; Sun, 8 Dec 2024 10:27:00 +0000 (UTC) Received: from smtp.gentoo.org (mail.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 0F784E0E21 for ; Sun, 8 Dec 2024 10:26:58 +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 C1D8E343135 for ; Sun, 8 Dec 2024 10:26:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2313EAED for ; Sun, 8 Dec 2024 10:26:56 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1733653264.b69e6ec18e8e10fad26ec93fd124402d5ec4f73a.cybertailor@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/mtxclient-0.10.0-r2.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: b69e6ec18e8e10fad26ec93fd124402d5ec4f73a X-VCS-Branch: dev Date: Sun, 8 Dec 2024 10:26:56 +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: 64ed1b46-fb4c-4087-a164-5b93d21f32f7 X-Archives-Hash: 20a9b980b4c1df40400f5ca51be08441 commit: b69e6ec18e8e10fad26ec93fd124402d5ec4f73a Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Sun Dec 8 09:13:23 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sun Dec 8 10:21:04 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b69e6ec1 dev-libs/mtxclient: depend on dev-libs/re2:0/10 Nheko fails to build with dev-libs/re2:0/11 See 1377786b404cef6a83ccd4165664fc96ca915bc7 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> dev-libs/mtxclient/mtxclient-0.10.0-r2.ebuild | 46 +++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) diff --git a/dev-libs/mtxclient/mtxclient-0.10.0-r2.ebuild b/dev-libs/mtxclient/mtxclient-0.10.0-r2.ebuild new file mode 100644 index 000000000..9092d68b0 --- /dev/null +++ b/dev-libs/mtxclient/mtxclient-0.10.0-r2.ebuild @@ -0,0 +1,46 @@ +# 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:0/10 + dev-libs/spdlog:= +" +DEPEND=" + ${RDEPEND} + >=dev-cpp/nlohmann_json-3.11.0 + test? ( dev-cpp/gtest ) +" + +PATCHES=( + "${FILESDIR}"/${PN}-0.6.0-remove-network-tests.patch + "${FILESDIR}"/${PN}-0.10.0-fmt11.patch +) + +src_configure() { + local -a mycmakeargs=( + -DBUILD_LIB_TESTS="$(usex test)" + -DBUILD_LIB_EXAMPLES=OFF + -DCMAKE_POSITION_INDEPENDENT_CODE=OFF + ) + + cmake_src_configure +}