dev-libs/olm: Import ebuild from guru overlay, version 3.2.1

Package-Manager: Portage-3.0.14, Repoman-3.0.2
Manifest-Sign-Key: 00EFD31F1B60D5DBADB831C1C0ECE6960E54475B
Signed-off-by: Nils Freydank <holgersson@posteo.de>
This commit is contained in:
Nils Freydank 2021-01-26 21:36:03 +01:00
parent 8e96fd8dbc
commit 66cee33aec
No known key found for this signature in database
GPG Key ID: BC5DC2998AAD2B21
3 changed files with 73 additions and 0 deletions

22
dev-libs/olm/Manifest Normal file
View File

@ -0,0 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
DIST olm-3.2.1.tar.bz2 462729 BLAKE2B 63d4c33eb79f4d0b4950ad8970d3e4a84d015193df72e4e88ad34d5d82e4c9d3c8677392ba2e12f8a80a67cff5c203b3116a0edf13798a7af3cc4fd8b6312e93 SHA512 adb9cff6148d19df4b83a287723219d4da9efd162f7a2824bee63d824d22c20a10fd2c2d8ce74aff5ec006c6dc8828bd6851cc82be93bc6c4524cf7067080412
-----BEGIN PGP SIGNATURE-----
iQKTBAEBCAB9FiEEcg3s4uUa4XE72XWQvF3CmYqtKyEFAmAQep1fFIAAAAAALgAo
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDcy
MERFQ0UyRTUxQUUxNzEzQkQ5NzU5MEJDNURDMjk5OEFBRDJCMjEACgkQvF3CmYqt
KyFrsw//aDoCVLQ8ecX/NStYSuEXMzWDvxI019LmMkWqt/Zdob+PWfRg7mJ0MCRq
VMmF+3H3bb3dRJGyjErap4OSg2jx8umCUBbZb7XIyw0ZMYR41bRxsKJE64YfIUE4
Zu52/KGhEUmmvY33TlcBOAGFotEop9aA9NS0kwoB6es5vtD2NPoV6E9aARZJ8gdV
GlBaZq8FvtJCAo5/SJ1luFcUtD1i3LgpnOHuDXsf8QRSU5GEOwICkKhcZM4jZyTo
pDWnUUiG1x8kcDEiX77Z0gHuMgzYzrnYIKks7zowI31bIOZEwD2Ya5uIfGIwxKfN
GTWSIZ3AAjzlQhfsDDHJVjPK37a6vOtpCesOyj33g4P0fjojsD+5ce1mCTj1xbw5
kwtTfUnoywwvmcnv4Omxn93jKXQNjXn6mHKa4AClCAjHZ1xKu+X+IGFz/Sx+/VOd
r1QV9VJTq+O9OFOCO84hwdREZ5aartM9IpdHy/YTzfew9vShzSF8YKW9pmr4Wv7o
Jj0Ase3IwMStMDlC8iFBJDmQJRTTOv05+XX7/1XlkFOyciT3FkDPmrqULOoXvuqR
j5rghJSU/7iVfPuScU+d7+VnGtjjcU2awg0JKWYzimI3bbCTGbuMYDnrusOu5MqJ
Nsh7pI+gpyLmFojlb8MvtGqqjfVFl04TgasDyYG9+J8L8e0Yl90=
=yGGf
-----END PGP SIGNATURE-----

15
dev-libs/olm/metadata.xml Normal file
View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>holgersson@posteo.de</email>
<name>Nils Freydank</name>
</maintainer>
<longdescription lang="en">
An implementation of the Double Ratchet cryptographic ratchet written in
C and C++11 and exposed as a C API.
</longdescription>
<upstream>
<bugs-to>https://gitlab.matrix.org/matrix-org/olm/-/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@ -0,0 +1,36 @@
# Copyright 2020-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
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"
IUSE="doc test"
KEYWORDS="~amd64"
RDEPEND=""
DEPEND="${RDEPEND}"
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
}