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: Sat, 09 Apr 2022 02:45:33
Message-Id: 1649472164.065fb0a97543c2605e9144c2055f78c887b590e3.tastytea@gentoo
1 commit: 065fb0a97543c2605e9144c2055f78c887b590e3
2 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
3 AuthorDate: Sat Apr 9 02:41:15 2022 +0000
4 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
5 CommitDate: Sat Apr 9 02:42:44 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=065fb0a9
7
8 dev-libs/olm: add 3.2.11
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.11.ebuild | 35 +++++++++++++++++++++++++++++++++++
14 2 files changed, 36 insertions(+)
15
16 diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest
17 index 0b856038c..494e2bfff 100644
18 --- a/dev-libs/olm/Manifest
19 +++ b/dev-libs/olm/Manifest
20 @@ -1,2 +1,3 @@
21 +DIST olm-3.2.11.tar.bz2 2735303 BLAKE2B 577465d5a5246cda85848e0caa2912bd225af520c23a247cacec06669bae2ab0b7c3bf209a203e8bf2f7e0e573f7f30f8699704a2b6cf2e7996209eade69bb8c SHA512 4ab2263395efd33ecb336577d72845c8eaf6f6478448d78f104424ea7f48f6273e13df4038f96a05e946dbe5f6beb952bbbc86b81eaca035195dbdaaf9a2dd26
22 DIST olm-3.2.8.tar.bz2 489350 BLAKE2B bf8b31262c15da2cffd5eeb1f426fe60e83dc60b3377191d65b4b4992133f92adfb7d18deb69b075207550b1b32220a1d807f331e58b41839d8aa5330a80bf3d SHA512 2a249b6880ff0c368458c14d6bae3103890f23dceaaf5753d140884185590fd54f1d7bcb8959f43b3b0f5c9302f76e380e6cdfe3340feab7f9fff60362a39303
23 DIST olm-3.2.9.tar.bz2 2734794 BLAKE2B 6c5cc89804071f961ebd571dd5d3fac43aa9517fda4e029a0855fc89f4ec46e49b784aa2cfbf8cec8e34b8ef06c5e61f2111ec30fc872f44c90795359892f205 SHA512 c196430054920d78587fc79eed25312d11498594257b9a12057bfb2feaf2abfb7df35854952b4a36bc22a8c62b99b58e55f9434001a00791ca62ca47556957a5
24
25 diff --git a/dev-libs/olm/olm-3.2.11.ebuild b/dev-libs/olm/olm-3.2.11.ebuild
26 new file mode 100644
27 index 000000000..19d31a4cd
28 --- /dev/null
29 +++ b/dev-libs/olm/olm-3.2.11.ebuild
30 @@ -0,0 +1,35 @@
31 +# Copyright 2020-2022 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=8
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 +KEYWORDS="~amd64 ~arm64"
45 +
46 +IUSE="doc test"
47 +RESTRICT="!test? ( test )"
48 +
49 +src_configure() {
50 + local -a mycmakeargs=(
51 + -DOLM_TESTS="$(usex test)"
52 + )
53 +
54 + cmake_src_configure
55 +}
56 +
57 +src_test() {
58 + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test
59 +}
60 +
61 +src_install() {
62 + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md )
63 +
64 + cmake_src_install
65 +}