From: Jiří Netolický Date: Fri, 19 Aug 2022 10:34:50 +0000 (+0200) Subject: New package libolm for matrix. X-Git-Url: https://cgit.netolish.cz/?a=commitdiff_plain;h=c1714019d61b339643e805ec491dac97ab55edd5;p=gentoo-repo.git New package libolm for matrix. --- diff --git a/dev-libs/libolm/Manifest b/dev-libs/libolm/Manifest new file mode 100644 index 0000000..b885919 --- /dev/null +++ b/dev-libs/libolm/Manifest @@ -0,0 +1 @@ +DIST olm-master.tar.gz 2900680 BLAKE2B cee9d3409398a0732694b6cb92e3c523f951afa236111ab06d8ee4960fa2a63b806dbbf9693c867e7b7529b11a00c9789f7c579f4d19fb87a503251112a09274 SHA512 168ba05424a1e5dd8367b4d087fbd5396620bbbf567f83d4dfee4599ec4e90079d0a3254af49bf6b66b86c733c8e8b67f2414aea5689926103d37676a48417f4 diff --git a/dev-libs/libolm/libolm-3.2.12.ebuild b/dev-libs/libolm/libolm-3.2.12.ebuild new file mode 100644 index 0000000..c3a2858 --- /dev/null +++ b/dev-libs/libolm/libolm-3.2.12.ebuild @@ -0,0 +1,30 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="Implementation of the olm and megolm cryptographic ratchets" +HOMEPAGE="https://gitlab.matrix.org/matrix-org/olm" +SRC_URI="https://gitlab.matrix.org/matrix-org/olm/-/archive/master/olm-master.tar.gz" + +LICENSE="Apache" +SLOT="0" +KEYWORDS="~amd64" + +DEPEND="" +RDEPEND="${DEPEND}" +BDEPEND="" + +src_configure() { + local mycmakeargs=( + -DOLM_TESTS=ON + ) + cmake_src_configure +} + +src_unpack() { + unpack ${A} + mv ${WORKDIR}/olm-master ${WORKDIR}/${P} +}