1 |
commit: a6d022edfd00fc1acd65e1263813cd35cf6c2ab0 |
2 |
Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> |
3 |
AuthorDate: Thu Jun 2 13:26:08 2022 +0000 |
4 |
Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> |
5 |
CommitDate: Fri Jun 3 14:51:17 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a6d022ed |
7 |
|
8 |
dev-libs/olm: add 3.2.12 |
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.12.ebuild | 35 +++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 36 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest |
17 |
index 494e2bfff..f7958ee00 100644 |
18 |
--- a/dev-libs/olm/Manifest |
19 |
+++ b/dev-libs/olm/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST olm-3.2.11.tar.bz2 2735303 BLAKE2B 577465d5a5246cda85848e0caa2912bd225af520c23a247cacec06669bae2ab0b7c3bf209a203e8bf2f7e0e573f7f30f8699704a2b6cf2e7996209eade69bb8c SHA512 4ab2263395efd33ecb336577d72845c8eaf6f6478448d78f104424ea7f48f6273e13df4038f96a05e946dbe5f6beb952bbbc86b81eaca035195dbdaaf9a2dd26 |
22 |
+DIST olm-3.2.12.tar.bz2 2742680 BLAKE2B 47c3bacaf05cc0bb6088da34e6a031f9c770893771ddcf9f13bc0e10a050139f14969dfc91f38684336872089b4cbf9d66e4bd85692989eba5fc3df966da3cd2 SHA512 a25db4c72910512beca9120db59ebeeefc5fff6a381e88ae7cf261bc5ab896edc2cfe25ece57b7b28b2e3d8bc66367c457133c147e1a3514f926714159b5cf6f |
23 |
DIST olm-3.2.8.tar.bz2 489350 BLAKE2B bf8b31262c15da2cffd5eeb1f426fe60e83dc60b3377191d65b4b4992133f92adfb7d18deb69b075207550b1b32220a1d807f331e58b41839d8aa5330a80bf3d SHA512 2a249b6880ff0c368458c14d6bae3103890f23dceaaf5753d140884185590fd54f1d7bcb8959f43b3b0f5c9302f76e380e6cdfe3340feab7f9fff60362a39303 |
24 |
DIST olm-3.2.9.tar.bz2 2734794 BLAKE2B 6c5cc89804071f961ebd571dd5d3fac43aa9517fda4e029a0855fc89f4ec46e49b784aa2cfbf8cec8e34b8ef06c5e61f2111ec30fc872f44c90795359892f205 SHA512 c196430054920d78587fc79eed25312d11498594257b9a12057bfb2feaf2abfb7df35854952b4a36bc22a8c62b99b58e55f9434001a00791ca62ca47556957a5 |
25 |
|
26 |
diff --git a/dev-libs/olm/olm-3.2.12.ebuild b/dev-libs/olm/olm-3.2.12.ebuild |
27 |
new file mode 100644 |
28 |
index 000000000..19d31a4cd |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/olm/olm-3.2.12.ebuild |
31 |
@@ -0,0 +1,35 @@ |
32 |
+# Copyright 2020-2022 Gentoo Authors |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=8 |
36 |
+ |
37 |
+inherit cmake |
38 |
+ |
39 |
+DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets" |
40 |
+HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm" |
41 |
+SRC_URI="https://gitlab.matrix.org/matrix-org/${PN}/-/archive/${PV}/${P}.tar.bz2" |
42 |
+ |
43 |
+LICENSE="Apache-2.0" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64 ~arm64" |
46 |
+ |
47 |
+IUSE="doc test" |
48 |
+RESTRICT="!test? ( test )" |
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 |
+} |