commit: a6391594e07b7d057f2353b3659ced27d1b0304d Author: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in> AuthorDate: Mon May 8 20:13:17 2023 +0000 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> CommitDate: Sat May 20 16:02:30 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6391594
net-libs/libomemo-c: new package, add 0.5.0 Signed-off-by: Anna Vyalkova <cyber+gentoo <AT> sysrq.in> Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org> net-libs/libomemo-c/Manifest | 1 + net-libs/libomemo-c/libomemo-c-0.5.0.ebuild | 31 +++++++++++++++++++++++++++++ net-libs/libomemo-c/metadata.xml | 17 ++++++++++++++++ 3 files changed, 49 insertions(+) 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+gen...@sysrq.in</email> + <name>Anna Vyalkova</name> + </maintainer> + <maintainer type="project" proxied="proxy"> + <email>proxy-ma...@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>