From 0d35cd329721f8f43f6aaa78a1df623b506f49e3 Mon Sep 17 00:00:00 2001 From: Nils Freydank Date: Mon, 24 May 2021 19:14:03 +0200 Subject: [PATCH] dev-libs/olm: Bump to 3.2.3 Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Nils Freydank --- dev-libs/olm/Manifest | 1 + dev-libs/olm/olm-3.2.3.ebuild | 37 +++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 dev-libs/olm/olm-3.2.3.ebuild diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest index 6dc28cc..9ce5032 100644 --- a/dev-libs/olm/Manifest +++ b/dev-libs/olm/Manifest @@ -1 +1,2 @@ DIST olm-3.2.2.tar.bz2 475682 BLAKE2B f6588281ef236c36c4a678eb02250e6b0d496719dc8736b1bdcbc346a16c3b579d988d6cbe99749473e53bbc03830e90c666ced112cd5a85b63f7ebe0704b6cb SHA512 a541299f2fbdaa2be5698a690cd753142311a3206011d70186e1122d575478f91e7feba207fe5d09ce506330dd1f9fbb71dccb3de7014c5333427fdd3b77b668 +DIST olm-3.2.3.tar.bz2 478365 BLAKE2B d8b5069e07958a4fe12a0aeea2ba25a7b7c319c96c980abd78f78881489e68d400594a0076ecf345561364c657eb9faf54819043ca9b51af01633d8e21edf069 SHA512 b01b5bb41d828e15520a1054cd9a479ff5d464552bc379269b9bf12fd54929d2e4cd31a46c0ea07a26ead7410e50caf80d3711912131147794d88d96947ffe59 diff --git a/dev-libs/olm/olm-3.2.3.ebuild b/dev-libs/olm/olm-3.2.3.ebuild new file mode 100644 index 0000000..2fbd026 --- /dev/null +++ b/dev-libs/olm/olm-3.2.3.ebuild @@ -0,0 +1,37 @@ +# 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" +IUSE="doc test" +KEYWORDS="~amd64" +RESTRICT="!test? ( test )" + +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 +}