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 9DFA613835A for ; Tue, 26 May 2020 10:49:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CB401E08C3; Tue, 26 May 2020 10:49:03 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 A8CF4E08C3 for ; Tue, 26 May 2020 10:49:03 +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 7603D34EE7C for ; Tue, 26 May 2020 10:49:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AFF421E for ; Tue, 26 May 2020 10:49:01 +0000 (UTC) From: "Andrew Ammerlaan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andrew Ammerlaan" Message-ID: <1590368505.eb5ea965687919c3d8eb96f2959a04ef0e8d04c7.andrewammerlaan@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/olm/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/olm/Manifest dev-libs/olm/metadata.xml dev-libs/olm/olm-3.1.4.ebuild X-VCS-Directories: dev-libs/olm/ X-VCS-Committer: andrewammerlaan X-VCS-Committer-Name: Andrew Ammerlaan X-VCS-Revision: eb5ea965687919c3d8eb96f2959a04ef0e8d04c7 X-VCS-Branch: master Date: Tue, 26 May 2020 10:49:01 +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: e5892aa8-f0a3-4523-9caa-dd89a2db27f5 X-Archives-Hash: 63ee1bb645f18a578107457f106d4212 commit: eb5ea965687919c3d8eb96f2959a04ef0e8d04c7 Author: Ronny (tastytea) Gutbrod tastytea de> AuthorDate: Sun May 24 23:30:35 2020 +0000 Commit: Andrew Ammerlaan riseup net> CommitDate: Mon May 25 01:01:45 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb5ea965 dev-libs/olm: New package Dependency for dev-libs/mtxclient. Signed-off-by: Ronny (tastytea) Gutbrod tastytea.de> dev-libs/olm/Manifest | 1 + dev-libs/olm/metadata.xml | 15 +++++++++++++++ dev-libs/olm/olm-3.1.4.ebuild | 36 ++++++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest new file mode 100644 index 0000000..31dcef7 --- /dev/null +++ b/dev-libs/olm/Manifest @@ -0,0 +1 @@ +DIST olm-3.1.4.tar.bz2 461540 BLAKE2B fa69b1543330c5da37c04227b51197ba57968ef24def40df621b85c0988eac91f8a155f600ab26849f2cd213059c97c7035be6dcca0943245cd4e4895da314b3 SHA512 87265d835ca7332d162bd3573dffdd09c8337c464dd673f100db9193e8ea4cedd8cb2a92cf2c34ad1b552a55bbbce8f87a47559ccfba03fa69b32fc7ff07f5f0 diff --git a/dev-libs/olm/metadata.xml b/dev-libs/olm/metadata.xml new file mode 100644 index 0000000..001398b --- /dev/null +++ b/dev-libs/olm/metadata.xml @@ -0,0 +1,15 @@ + + + + + gentoo@tastytea.de + Ronny (tastytea) Gutbrod + + + An implementation of the Double Ratchet cryptographic ratchet written in + C and C++11 and exposed as a C API. + + + https://gitlab.matrix.org/matrix-org/olm/-/issues + + diff --git a/dev-libs/olm/olm-3.1.4.ebuild b/dev-libs/olm/olm-3.1.4.ebuild new file mode 100644 index 0000000..5030239 --- /dev/null +++ b/dev-libs/olm/olm-3.1.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 2020 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" +IUSE="doc test" +KEYWORDS="~amd64" + +RDEPEND="" +DEPEND="${RDEPEND}" + +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 +}