This commit is contained in:
Gerben Jan Dijkman 2024-05-24 10:11:23 +02:00
parent f433839607
commit acb59b0e94
3 changed files with 50 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST libomemo-0.8.1.tar.gz 28648 BLAKE2B b75ad298946dff680705ba0927293ea30cb8bf616a417c6584cef9f84e0894c5581462782a4b1003bf9e530695eea10bba9f37ae94e957a0008a35c862f17f62 SHA512 452c7ff9eb809de37df24bd0857c30c1e1ed1d4638c8338bb101f6d5a31be700f174f4fe65fb8ccd5358a674f8397a0eb54d8e03abfdce57cea60bcd4959f40a

View File

@ -0,0 +1,38 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit cmake
DESCRIPTION="Implementation of OMEMO (XEP-0384) in C"
HOMEPAGE="https://github.com/gkdr/libomemo"
SRC_URI="https://github.com/gkdr/libomemo/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
IUSE="test"
RDEPEND="
dev-db/sqlite
dev-libs/glib
dev-libs/libgcrypt
dev-libs/mxml:0
"
DEPEND="
${RDEPEND}
virtual/pkgconfig
test? ( dev-util/cmocka )
"
RESTRICT="!test? ( test )"
DOCS=( CHANGELOG.md README.md )
src_configure() {
local mycmakeargs=(
-DOMEMO_WITH_TESTS=$(usex test)
)
cmake_src_configure
}

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>sping@gentoo.org</email>
<name>Sebastian Pipping</name>
</maintainer>
<upstream>
<remote-id type="github">gkdr/libomemo</remote-id>
</upstream>
</pkgmetadata>