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 1EA671382C5 for ; Tue, 22 Jun 2021 15:27:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4857FE07EF; Tue, 22 Jun 2021 15:27:27 +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 022C2E07EF for ; Tue, 22 Jun 2021 15:27:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 3D87833BF1A for ; Tue, 22 Jun 2021 15:27:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 63C16797 for ; Tue, 22 Jun 2021 15:27:22 +0000 (UTC) From: "Marco Scardovi" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Marco Scardovi" Message-ID: <1624375628.775a7bbf130d0d425411f1196c8bb5c91ad7721a.marco@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/olm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/olm/olm-3.2.4-r1.ebuild X-VCS-Directories: dev-libs/olm/ X-VCS-Committer: marco X-VCS-Committer-Name: Marco Scardovi X-VCS-Revision: 775a7bbf130d0d425411f1196c8bb5c91ad7721a X-VCS-Branch: dev Date: Tue, 22 Jun 2021 15:27:22 +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: a02d48c6-8cfb-42c4-a9ad-88a70ea685a0 X-Archives-Hash: bb2ee31d2cc22fd401286eed3e4105b9 commit: 775a7bbf130d0d425411f1196c8bb5c91ad7721a Author: Marco Scardovi scardovi com> AuthorDate: Tue Jun 22 15:27:08 2021 +0000 Commit: Marco Scardovi scardovi com> CommitDate: Tue Jun 22 15:27:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=775a7bbf dev-libs/olm: add ~arm64 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Marco Scardovi scardovi.com> dev-libs/olm/olm-3.2.4-r1.ebuild | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) diff --git a/dev-libs/olm/olm-3.2.4-r1.ebuild b/dev-libs/olm/olm-3.2.4-r1.ebuild new file mode 100644 index 000000000..006ec1b63 --- /dev/null +++ b/dev-libs/olm/olm-3.2.4-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets" +HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm" +SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="doc test" +RESTRICT="!test? ( test )" + +src_configure() { + local -a mycmakeargs=( + -DOLM_TESTS="$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} + +src_install() { + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md ) + + cmake_src_install +}