commit:     ad1c725a5aa8216cb84951e49bc6d8ce4e372109
Author:     tastytea <gentoo <AT> tastytea <DOT> de>
AuthorDate: Fri May 12 16:25:28 2023 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Fri May 12 16:25:28 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ad1c725a

dev-libs/olm: add 3.2.15

Signed-off-by: tastytea <gentoo <AT> tastytea.de>

 dev-libs/olm/Manifest          |  1 +
 dev-libs/olm/olm-3.2.15.ebuild | 33 +++++++++++++++++++++++++++++++++
 2 files changed, 34 insertions(+)

diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest
index bda808b94..a82ef1997 100644
--- a/dev-libs/olm/Manifest
+++ b/dev-libs/olm/Manifest
@@ -1,2 +1,3 @@
 DIST olm-3.2.13.tar.bz2 2742762 BLAKE2B 
8c18fbcfe53b414f33f567d337e7b30dd1f358b0d7aee55738ff5461b926967fa5c0c172311b017a8c05ecbce5cce22b4b4c69c8cad4c947d19eea7f9262661b
 SHA512 
e6d386644f800710afc5a641d6a3a619b193f08cbe31495c6978446e71e3f38ca6a0aab9fff18725c653723c07755467b8785062bf2cbfef8a4f68406f73e4f3
 DIST olm-3.2.14.tar.bz2 2743089 BLAKE2B 
8b8cd2a6b5bd14191ee6604221449ae1472078e3c2a1286e9e3aed433bb77e6a9a88de6ca4c92295cd281e10d76a161905b12207079f457b099f43864317cac7
 SHA512 
47a19ae2290dbf0ac2b4539806a5e5a22be824ce163233b61680506a8eae341e312e8f169285e342c2277764d4bfa5eaf0417d36e04fbf4e358de01730e302b4
+DIST olm-3.2.15.tar.bz2 2744760 BLAKE2B 
44486a63217998010a0bb7e01ff3315c88e139d686b97158e67af29b2f052912412541fb944a17c5d8931df9c641a73e521ef8d0ff352b80fe30bd6fb73b2e7b
 SHA512 
81832766e477fc17908e8d1c49b5403d87b5977fd9102605d95ef2a3907619b7301e32fe0e18ec0f575b1f004ce248633307ff43b0f48bc9bb2313cdfefd6ea7

diff --git a/dev-libs/olm/olm-3.2.15.ebuild b/dev-libs/olm/olm-3.2.15.ebuild
new file mode 100644
index 000000000..1f35b7119
--- /dev/null
+++ b/dev-libs/olm/olm-3.2.15.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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"
+KEYWORDS="~amd64 ~arm64"
+
+IUSE="+pie test"
+RESTRICT="!test? ( test )"
+
+DOCS=( README.md docs/{{,meg}olm,signing}.md docs/{"DH ",double_}ratchet.svg )
+
+src_configure() {
+       local mycmakeargs=(
+               -DCMAKE_POSITION_INDEPENDENT_CODE=$(usex pie)
+               -DOLM_TESTS=$(usex test)
+       )
+
+       cmake_src_configure
+}
+
+src_test() {
+       local -x BUILD_DIR="${BUILD_DIR}/tests"
+       cmake_src_test
+}

Reply via email to