Gentoo Archives: gentoo-commits

From: Ronny Gutbrod <gentoo@××××××××.de>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: dev-libs/olm/
Date: Tue, 06 Oct 2020 19:53:08
Message-Id: 1602013876.709964411871a51f2693ad78bfdb0bd0b28c3e75.tastytea@gentoo
1 commit: 709964411871a51f2693ad78bfdb0bd0b28c3e75
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Tue Oct 6 19:51:16 2020 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Tue Oct 6 19:51:16 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=70996441
7
8 dev-libs/olm: Version bump 3.2.0.
9
10 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>
11
12 dev-libs/olm/Manifest | 1 +
13 dev-libs/olm/olm-3.2.0.ebuild | 36 ++++++++++++++++++++++++++++++++++++
14 2 files changed, 37 insertions(+)
15
16 diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest
17 index bff4e73e..45eddf41 100644
18 --- a/dev-libs/olm/Manifest
19 +++ b/dev-libs/olm/Manifest
20 @@ -1,2 +1,3 @@
21 DIST olm-3.1.4.tar.bz2 461540 BLAKE2B fa69b1543330c5da37c04227b51197ba57968ef24def40df621b85c0988eac91f8a155f600ab26849f2cd213059c97c7035be6dcca0943245cd4e4895da314b3 SHA512 87265d835ca7332d162bd3573dffdd09c8337c464dd673f100db9193e8ea4cedd8cb2a92cf2c34ad1b552a55bbbce8f87a47559ccfba03fa69b32fc7ff07f5f0
22 DIST olm-3.1.5.tar.bz2 461855 BLAKE2B 20412686ea1621de0d45885ae6f44331389cb401410809901187431eb101113f4186dc5b31c055da15143bec70f2251ee506e4fb50b0a8e495bdfa6cdb302b9e SHA512 a41be45e3fadb4e24654a4db8a68dab7fb8b021aeaf48b524d9c2c1e9d48e0b2200b9f1ac8431e79bc620560b16c66fb4c2d3727901b47b78288ea22b3f6ba02
23 +DIST olm-3.2.0.tar.bz2 462656 BLAKE2B 38e9ff3316cca91a451a2e843b625615b2285da3120df34423a463ea00d83480fe9d765cf613eb7342b0436713f4a4c8a4d640fac8e1c259e35c09134a731c2d SHA512 b11aad740bd5cdb034fbaffd653efabbfdb231f461d8abaac6a4b69c1b3cda8062ce54b74ba3d9a5f0d671a6291a57cfcd17332ff129949a00b1404ee28d8f21
24
25 diff --git a/dev-libs/olm/olm-3.2.0.ebuild b/dev-libs/olm/olm-3.2.0.ebuild
26 new file mode 100644
27 index 00000000..50302394
28 --- /dev/null
29 +++ b/dev-libs/olm/olm-3.2.0.ebuild
30 @@ -0,0 +1,36 @@
31 +# Copyright 2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +
36 +inherit cmake
37 +
38 +DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets"
39 +HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm"
40 +SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2"
41 +
42 +LICENSE="Apache-2.0"
43 +SLOT="0"
44 +IUSE="doc test"
45 +KEYWORDS="~amd64"
46 +
47 +RDEPEND=""
48 +DEPEND="${RDEPEND}"
49 +
50 +src_configure() {
51 + local -a mycmakeargs=(
52 + -DOLM_TESTS="$(usex test)"
53 + )
54 +
55 + cmake_src_configure
56 +}
57 +
58 +src_test() {
59 + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
60 +}
61 +
62 +src_install() {
63 + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md )
64 +
65 + cmake_src_install
66 +}