Update libolm

This commit is contained in:
rexy712 2022-05-22 15:51:46 -07:00
parent d564c3103b
commit 630564a30e
2 changed files with 37 additions and 0 deletions

View File

@ -1 +1,2 @@
DIST olm-3.1.4.tar.gz 521495 BLAKE2B 069544f656fca53ef2ec39d54904b788ac564cce153e8a9ed75b76ae27b4f8a223ffdc4ab7f04850bd7d32044e379ee4a85542161dd09adf19c66195ab544d85 SHA512 d4781d37da48e30e259b388d2cd7a4fd126411a5fd563ad66b3ef170274296f9eb32eca0dd72a2c0fcba91a87021d1d55a3d18b8ee0fcf64605b984e4eea4355 DIST olm-3.1.4.tar.gz 521495 BLAKE2B 069544f656fca53ef2ec39d54904b788ac564cce153e8a9ed75b76ae27b4f8a223ffdc4ab7f04850bd7d32044e379ee4a85542161dd09adf19c66195ab544d85 SHA512 d4781d37da48e30e259b388d2cd7a4fd126411a5fd563ad66b3ef170274296f9eb32eca0dd72a2c0fcba91a87021d1d55a3d18b8ee0fcf64605b984e4eea4355
DIST olm-3.2.11.tar.gz 2894497 BLAKE2B 9e5ef37f9929a77f026b57f700654f652a285eb4f0a49c376f239807443239975691b719650a4ff5777ec7c7484d98fba28a22efc0effa8ae5e4fbda8173ebaa SHA512 dfb44880ee3fc510d9a599a8571feec2395e9048036556b4591448096fc031534151c677aea4106f712a37e886b565de6109db96ed6c8bd302a3ee7caf88ae50

View File

@ -0,0 +1,36 @@
# Copyright 2020 rexy712
# Distributed under the terms of the GNU General Public License v3
EAPI=7
inherit cmake-multilib
MY_P="olm"
S="${WORKDIR}/${MY_P}-${PV}"
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/${PV}/${MY_P}-${PV}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3/1"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs test"
RDEPEND=""
DEPEND="${RDEPEND}
dev-util/cmake
dev-util/ninja
"
BDEPEND=""
src_prepare(){
cmake-utils_src_prepare
}
src_configure(){
local mycmakeargs=(
-DOLM_TESTS=$(usex test ON OFF)
-DBUILD_SHARED_LIBS=$(usex static-libs OFF ON)
)
cmake-multilib_src_configure
}