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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 009781382C5 for ; Mon, 19 Apr 2021 02:34:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3277CE0798; Mon, 19 Apr 2021 02:34:36 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 15C1AE0798 for ; Mon, 19 Apr 2021 02:34:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 89DE4340E1A for ; Mon, 19 Apr 2021 02:34:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0D0C0648 for ; Mon, 19 Apr 2021 02:34:33 +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: <1618799266.54fe802c44244c481663a3d6b28a6966b6ae42f8.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.5.0.ebuild X-VCS-Directories: dev-libs/mtxclient/ X-VCS-Committer: tastytea X-VCS-Committer-Name: Ronny Gutbrod X-VCS-Revision: 54fe802c44244c481663a3d6b28a6966b6ae42f8 X-VCS-Branch: dev Date: Mon, 19 Apr 2021 02:34:33 +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: 34572b33-20c0-48d8-88fe-1c77da2d9165 X-Archives-Hash: 755885d7fec01c9137b5bb8f73df3cf1 commit: 54fe802c44244c481663a3d6b28a6966b6ae42f8 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Mon Apr 19 02:27:46 2021 +0000 Commit: Ronny Gutbrod tastytea de> CommitDate: Mon Apr 19 02:27:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=54fe802c dev-libs/mtxclient: Version bump 0.5.0. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-libs/mtxclient/Manifest | 1 + dev-libs/mtxclient/mtxclient-0.5.0.ebuild | 44 +++++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest index 15aa7e7f4..7416277c2 100644 --- a/dev-libs/mtxclient/Manifest +++ b/dev-libs/mtxclient/Manifest @@ -1 +1,2 @@ DIST mtxclient-0.4.1.tar.gz 572552 BLAKE2B 4d0facaffb0ce1fadc1011b7d557774bcd9ffcef7349894255b9522bcc4e9228739ad8da5a60b0addf6835cf5de3613bebc19842b6922ab9cf94f88c944d0091 SHA512 246c84bc8bc7dd6fd688c79601d16e931b5aaf5fe967d6ea226f1961df2b74ad70d4e790b7400051e007506f58ecd6594ccead31bd3c6308aa2c6727b122c203 +DIST mtxclient-0.5.0.tar.gz 582236 BLAKE2B 5166c32127973e886adadb6ad8a2895ba5ac77f78e9a774f039b0c8d4329078c0b8de965b477ce1c3a7e4cd929de8ba9b8d4f8d8b0452f6c49c873285a4d8b3a SHA512 6e1e9f5ecb1e6911b5bee85569e4477f6ee4c86ef479a3f408c8bbd187750b3b78db1db0337b51e1df9b90fee3b486eaf909bb79b69a97919685074eee3a82cd diff --git a/dev-libs/mtxclient/mtxclient-0.5.0.ebuild b/dev-libs/mtxclient/mtxclient-0.5.0.ebuild new file mode 100644 index 000000000..43315c94d --- /dev/null +++ b/dev-libs/mtxclient/mtxclient-0.5.0.ebuild @@ -0,0 +1,44 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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" +KEYWORDS="~amd64" + +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-libs/boost-1.70.0 + dev-libs/olm + >=dev-libs/openssl-1.1.0 + dev-cpp/nlohmann_json +" +DEPEND=" + ${RDEPEND} + dev-libs/spdlog + test? ( dev-cpp/gtest ) +" + +# remove_failing_tests depends on remove_network_tests. +PATCHES=( + "${FILESDIR}/0.3.0_remove_network_tests.patch" + "${FILESDIR}/0.3.0_remove_failing_tests.patch" +) + +src_configure() { + local -a mycmakeargs=( + -DBUILD_LIB_TESTS="$(usex test)" + -DBUILD_LIB_EXAMPLES=OFF + ) + + cmake_src_configure +}