summaryrefslogtreecommitdiff
path: root/net-libs/libomemo-c
diff options
context:
space:
mode:
Diffstat (limited to 'net-libs/libomemo-c')
-rw-r--r--net-libs/libomemo-c/Manifest3
-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, 51 insertions, 0 deletions
diff --git a/net-libs/libomemo-c/Manifest b/net-libs/libomemo-c/Manifest
new file mode 100644
index 000000000000..7e21909e5a4b
--- /dev/null
+++ b/net-libs/libomemo-c/Manifest
@@ -0,0 +1,3 @@
+DIST libomemo-c-0.5.0.tar.gz 260987 BLAKE2B 68a2e7488e1f079e32ed16124fc73e84f28e1140c96e19e60accde3e1434e4bfea0d3323c7550b2dc4bf55ad493d9353e284486920375c2efc32a1b51f0965bf SHA512 2661ba0dea3eea308b1b71f1b46d7b8445fbe940bf52cc35f22eed110acdb8ee457841c1978e0fe9a53b9d9856c60d70c7f8f98ac182214c0ffb9ec3983240f0
+EBUILD libomemo-c-0.5.0.ebuild 627 BLAKE2B d1238d34f0a4cd1e02c493b858dcb236f82cf0398dd9b2fd5edfcd48f945bec5ab058bc3ca79a6cf67a3e4b4c5a1ea3c82bbc1bec736c5c0b669da2df75d555f SHA512 42b64db9405fd78411d36695b5d2ba2e511d899d5e9f615d3b4a5a90d3817ca4a65ee08838525be30af19a91c076ae04ef70acbe5ea0af6126d11a1273949209
+MISC metadata.xml 611 BLAKE2B 9e40e842acf2cd53212531e9e4a3c072458d2a62ab9f5cd9a5fee2d5cd46493bce808cde85ecad18ea21aa5a7b0732a634b855c75ba4d577dd1876530c9671f6 SHA512 b417961b9a81c1d63d1efeb54ba010f297ae226fbd886970e9258dcf22eec63f390e281d14ca6cc8689e2d9c6461aff7c5f502f8635416c9bb86a24d5a76fd6c
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>