aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerion Entrup <gerion.entrup@flump.de>2019-07-01 17:05:05 +0200
committerGerion Entrup <gerion.entrup@flump.de>2019-07-01 17:05:05 +0200
commit75b8f11f6e0a7119ca2705dee1657c4386932fd9 (patch)
treebf49f3a85d6d8e2c4c4865ad55591e9a16373931
parentdev-python/versuchung: correct license (diff)
downloadgerislay-75b8f11f6e0a7119ca2705dee1657c4386932fd9.tar.gz
gerislay-75b8f11f6e0a7119ca2705dee1657c4386932fd9.tar.bz2
gerislay-75b8f11f6e0a7119ca2705dee1657c4386932fd9.zip
dev-libs/mtxclient: add 0.2.1
Works only with dev-libs/olm[matrix]. Ebuild also taken from matrix overlay. Signed-off-by: Gerion Entrup <gerion.entrup@flump.de>
-rw-r--r--dev-libs/mtxclient/Manifest3
-rw-r--r--dev-libs/mtxclient/metadata.xml16
-rw-r--r--dev-libs/mtxclient/mtxclient-0.2.1.ebuild40
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-libs/mtxclient/Manifest b/dev-libs/mtxclient/Manifest
new file mode 100644
index 0000000..6cc38d4
--- /dev/null
+++ b/dev-libs/mtxclient/Manifest
@@ -0,0 +1,3 @@
+DIST mtxclient-0.2.1.tar.gz 478840 BLAKE2B 601d97b87be9e2d4c176b7086be7af7955a51ee11820f4177e88764e196cab79519f87425c3ca1b11591a077d7392f7a163a2dc8b84dd8b78f45c88a69226ee8 SHA512 3362e9ae44ebeb22ac036ba2ac63682eeb97248754bf4b4029ce381d6d99501a94cd82a7b2e23aefe902b4c43389ee48e5e465679ce7fbebbf4f4d06cbc19659
+EBUILD mtxclient-0.2.1.ebuild 860 BLAKE2B 8d230c8e7f0b50b3045945e6b47bc846c34c5ec32541b92211faaa046e48d1b9da16396fcdfb633bac6aadb42b0218c4d9d6a994a5fbd149ca62ec4b31b537ed SHA512 ad17719d122193db7aa134444ec5d8884eb01e6b542a412db34f84359618bfebe93733d12edf8ea6f2fd364ecd542536982446e85a78b6778bc1b0f4771f1484
+MISC metadata.xml 467 BLAKE2B 3e66dcaabaa260728ddba64f0cfe13d82a070c52cf9006cc8c075a4299f177218c3c14fe7f4cfc4e5d3859961cce10731af4f4bb12c11e88acf260d7ee1e93db SHA512 c0bb084c541209e22a174e6883b8273e754efd00f7e2746cbb500ecc36f7a7e57c45ef4f21f7e5642a9fa190ee5a5c2dc3e3b4ab66873a26bd1a7002888301d9
diff --git a/dev-libs/mtxclient/metadata.xml b/dev-libs/mtxclient/metadata.xml
new file mode 100644
index 0000000..0d42db7
--- /dev/null
+++ b/dev-libs/mtxclient/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<maintainer type="person">
+<email>gerion.entrup@flump.de</email>
+</maintainer>
+<upstream>
+<maintainer status="active">
+<name>Joseph Donofry</name>
+<email>joedonofry@gmail.com</email>
+</maintainer>
+</upstream>
+<longdescription lang="en">
+Client API library for the Matrix protocol, built on top of Boost.Asio.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-libs/mtxclient/mtxclient-0.2.1.ebuild b/dev-libs/mtxclient/mtxclient-0.2.1.ebuild
new file mode 100644
index 0000000..807bfc1
--- /dev/null
+++ b/dev-libs/mtxclient/mtxclient-0.2.1.ebuild
@@ -0,0 +1,40 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
+HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
+
+inherit eutils cmake-utils
+
+if [[ ${PV} == "9999" ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/Nheko-Reborn/${PN}.git"
+else
+ SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-3"
+SLOT="0"
+IUSE="-test"
+
+RDEPEND="
+ dev-libs/libsodium
+ >=dev-libs/boost-1.66.0
+ dev-libs/olm"
+DEPEND="${RDEPEND}
+ dev-libs/spdlog
+ dev-cpp/nlohmann_json
+ >=dev-util/cmake-3.11
+ test? ( dev-cpp/gtest )
+"
+#cmake >= 3.11 needed for boost deps
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_LIB_TESTS="$(usex test)"
+ )
+
+ cmake-utils_src_configure
+}