commit:     eb5ea965687919c3d8eb96f2959a04ef0e8d04c7
Author:     Ronny (tastytea) Gutbrod <gentoo <AT> tastytea <DOT> de>
AuthorDate: Sun May 24 23:30:35 2020 +0000
Commit:     Ronny Gutbrod <gentoo <AT> tastytea <DOT> de>
CommitDate: Mon May 25 01:01:45 2020 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=eb5ea965

dev-libs/olm: New package

Dependency for dev-libs/mtxclient.

Signed-off-by: Ronny (tastytea) Gutbrod <gentoo <AT> tastytea.de>

 dev-libs/olm/Manifest         |  1 +
 dev-libs/olm/metadata.xml     | 15 +++++++++++++++
 dev-libs/olm/olm-3.1.4.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest
new file mode 100644
index 0000000..31dcef7
--- /dev/null
+++ b/dev-libs/olm/Manifest
@@ -0,0 +1 @@
+DIST olm-3.1.4.tar.bz2 461540 BLAKE2B 
fa69b1543330c5da37c04227b51197ba57968ef24def40df621b85c0988eac91f8a155f600ab26849f2cd213059c97c7035be6dcca0943245cd4e4895da314b3
 SHA512 
87265d835ca7332d162bd3573dffdd09c8337c464dd673f100db9193e8ea4cedd8cb2a92cf2c34ad1b552a55bbbce8f87a47559ccfba03fa69b32fc7ff07f5f0

diff --git a/dev-libs/olm/metadata.xml b/dev-libs/olm/metadata.xml
new file mode 100644
index 0000000..001398b
--- /dev/null
+++ b/dev-libs/olm/metadata.xml
@@ -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>gen...@tastytea.de</email>
+               <name>Ronny (tastytea) Gutbrod</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>

diff --git a/dev-libs/olm/olm-3.1.4.ebuild b/dev-libs/olm/olm-3.1.4.ebuild
new file mode 100644
index 0000000..5030239
--- /dev/null
+++ b/dev-libs/olm/olm-3.1.4.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2020 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
+}

Reply via email to