commit: 065fb0a97543c2605e9144c2055f78c887b590e3 Author: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de> AuthorDate: Sat Apr 9 02:41:15 2022 +0000 Commit: Ronny Gutbrod <gentoo <AT> tastytea <DOT> de> CommitDate: Sat Apr 9 02:42:44 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=065fb0a9
dev-libs/olm: add 3.2.11 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de> dev-libs/olm/Manifest | 1 + dev-libs/olm/olm-3.2.11.ebuild | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest index 0b856038c..494e2bfff 100644 --- a/dev-libs/olm/Manifest +++ b/dev-libs/olm/Manifest @@ -1,2 +1,3 @@ +DIST olm-3.2.11.tar.bz2 2735303 BLAKE2B 577465d5a5246cda85848e0caa2912bd225af520c23a247cacec06669bae2ab0b7c3bf209a203e8bf2f7e0e573f7f30f8699704a2b6cf2e7996209eade69bb8c SHA512 4ab2263395efd33ecb336577d72845c8eaf6f6478448d78f104424ea7f48f6273e13df4038f96a05e946dbe5f6beb952bbbc86b81eaca035195dbdaaf9a2dd26 DIST olm-3.2.8.tar.bz2 489350 BLAKE2B bf8b31262c15da2cffd5eeb1f426fe60e83dc60b3377191d65b4b4992133f92adfb7d18deb69b075207550b1b32220a1d807f331e58b41839d8aa5330a80bf3d SHA512 2a249b6880ff0c368458c14d6bae3103890f23dceaaf5753d140884185590fd54f1d7bcb8959f43b3b0f5c9302f76e380e6cdfe3340feab7f9fff60362a39303 DIST olm-3.2.9.tar.bz2 2734794 BLAKE2B 6c5cc89804071f961ebd571dd5d3fac43aa9517fda4e029a0855fc89f4ec46e49b784aa2cfbf8cec8e34b8ef06c5e61f2111ec30fc872f44c90795359892f205 SHA512 c196430054920d78587fc79eed25312d11498594257b9a12057bfb2feaf2abfb7df35854952b4a36bc22a8c62b99b58e55f9434001a00791ca62ca47556957a5 diff --git a/dev-libs/olm/olm-3.2.11.ebuild b/dev-libs/olm/olm-3.2.11.ebuild new file mode 100644 index 000000000..19d31a4cd --- /dev/null +++ b/dev-libs/olm/olm-3.2.11.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-2022 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="doc test" +RESTRICT="!test? ( test )" + +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 +}