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 89F3015817D for ; Thu, 13 Jun 2024 12:55:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF3A1E2B19; Thu, 13 Jun 2024 12:55:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 pigeon.gentoo.org (Postfix) with ESMTPS id A4AB6E2B19 for ; Thu, 13 Jun 2024 12:55:25 +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 A8FC5335DC8 for ; Thu, 13 Jun 2024 12:55:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 13D9C1CD1 for ; Thu, 13 Jun 2024 12:55:23 +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: <1718283222.660398280bac0ff2980b4e67a642a15d5b55fb22.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.10.0.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 660398280bac0ff2980b4e67a642a15d5b55fb22 X-VCS-Branch: dev Date: Thu, 13 Jun 2024 12:55:23 +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: bc36ae0d-f7c2-4f37-8e7c-d1bebb9ecc52 X-Archives-Hash: a053d46296c33ce197e2bf828d0a9844 commit: 660398280bac0ff2980b4e67a642a15d5b55fb22 Author: tea tastytea de> AuthorDate: Thu Jun 13 10:14:53 2024 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Thu Jun 13 12:53:42 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=66039828 dev-libs/mtxclient: add 0.10.0 Signed-off-by: tea tastytea.de> dev-libs/mtxclient/Manifest | 1 + dev-libs/mtxclient/mtxclient-0.10.0.ebuild | 45 ++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) 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 +}