summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Vyalkova <cyber+gentoo@sysrq.in>2023-05-09 01:13:17 +0500
committerJoonas Niilola <juippis@gentoo.org>2023-05-20 19:02:30 +0300
commita6391594e07b7d057f2353b3659ced27d1b0304d (patch)
treec726dad41462144e785468ed3ddd4a9c5df5caf9 /net-libs/libomemo-c
parentdev-python/textX: Add test dep on dev-python/attrs (diff)
downloadgentoo-a6391594e07b7d057f2353b3659ced27d1b0304d.tar.gz
gentoo-a6391594e07b7d057f2353b3659ced27d1b0304d.tar.bz2
gentoo-a6391594e07b7d057f2353b3659ced27d1b0304d.zip
net-libs/libomemo-c: new package, add 0.5.0
Signed-off-by: Anna Vyalkova <cyber+gentoo@sysrq.in> Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-libs/libomemo-c')
-rw-r--r--net-libs/libomemo-c/Manifest1
-rw-r--r--net-libs/libomemo-c/libomemo-c-0.5.0.ebuild31
-rw-r--r--net-libs/libomemo-c/metadata.xml17
3 files changed, 49 insertions, 0 deletions
diff --git a/net-libs/libomemo-c/Manifest b/net-libs/libomemo-c/Manifest
new file mode 100644
index 000000000000..be5fb92e252f
--- /dev/null
+++ b/net-libs/libomemo-c/Manifest
@@ -0,0 +1 @@
+DIST libomemo-c-0.5.0.tar.gz 260987 BLAKE2B 68a2e7488e1f079e32ed16124fc73e84f28e1140c96e19e60accde3e1434e4bfea0d3323c7550b2dc4bf55ad493d9353e284486920375c2efc32a1b51f0965bf SHA512 2661ba0dea3eea308b1b71f1b46d7b8445fbe940bf52cc35f22eed110acdb8ee457841c1978e0fe9a53b9d9856c60d70c7f8f98ac182214c0ffb9ec3983240f0
diff --git a/net-libs/libomemo-c/libomemo-c-0.5.0.ebuild b/net-libs/libomemo-c/libomemo-c-0.5.0.ebuild
new file mode 100644
index 000000000000..fe4aef013c8a
--- /dev/null
+++ b/net-libs/libomemo-c/libomemo-c-0.5.0.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="XMPP fork of Signal Protocol C Library supporting XEP-0384 OMEMO"
+HOMEPAGE="https://github.com/dino/libomemo-c/"
+SRC_URI="https://github.com/dino/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD BSD-1 GPL-3 ISC"
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-libs/protobuf-c:="
+DEPEND="${RDEPEND}
+ test? (
+ dev-libs/check
+ dev-libs/openssl
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ )
+ cmake_src_configure
+}
diff --git a/net-libs/libomemo-c/metadata.xml b/net-libs/libomemo-c/metadata.xml
new file mode 100644
index 000000000000..f21f02d1d3a5
--- /dev/null
+++ b/net-libs/libomemo-c/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person" proxied="yes">
+ <email>cyber+gentoo@sysrq.in</email>
+ <name>Anna Vyalkova</name>
+ </maintainer>
+ <maintainer type="project" proxied="proxy">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">dino/libomemo-c</remote-id>
+ <bugs-to>https://github.com/dino/libomemo-c/issues</bugs-to>
+ <doc>https://github.com/dino/libomemo-c/blob/master/README.md</doc>
+ </upstream>
+</pkgmetadata>