dev-libs/olm: bump to 3.2.1, remove old

Package-Manager: Portage-3.0.9, Repoman-3.0.2
This commit is contained in:
Alfred Wingate 2020-12-28 23:41:37 +02:00
parent bdfd73d735
commit 36ed829753
No known key found for this signature in database
GPG Key ID: A12750536B5E7010
2 changed files with 30 additions and 1 deletions

View File

@ -1 +1,2 @@
DIST olm-3.1.5.tar.bz2 461855 BLAKE2B 20412686ea1621de0d45885ae6f44331389cb401410809901187431eb101113f4186dc5b31c055da15143bec70f2251ee506e4fb50b0a8e495bdfa6cdb302b9e SHA512 a41be45e3fadb4e24654a4db8a68dab7fb8b021aeaf48b524d9c2c1e9d48e0b2200b9f1ac8431e79bc620560b16c66fb4c2d3727901b47b78288ea22b3f6ba02 DIST olm-3.1.5.tar.bz2 461855 BLAKE2B 20412686ea1621de0d45885ae6f44331389cb401410809901187431eb101113f4186dc5b31c055da15143bec70f2251ee506e4fb50b0a8e495bdfa6cdb302b9e SHA512 a41be45e3fadb4e24654a4db8a68dab7fb8b021aeaf48b524d9c2c1e9d48e0b2200b9f1ac8431e79bc620560b16c66fb4c2d3727901b47b78288ea22b3f6ba02
DIST olm-3.2.1.tar.bz2 462729 BLAKE2B 63d4c33eb79f4d0b4950ad8970d3e4a84d015193df72e4e88ad34d5d82e4c9d3c8677392ba2e12f8a80a67cff5c203b3116a0edf13798a7af3cc4fd8b6312e93 SHA512 adb9cff6148d19df4b83a287723219d4da9efd162f7a2824bee63d824d22c20a10fd2c2d8ce74aff5ec006c6dc8828bd6851cc82be93bc6c4524cf7067080412

View File

@ -3,7 +3,10 @@
EAPI=7 EAPI=7
inherit cmake PYTHON_COMPAT=( python3_{6..9} )
DISTUTILS_OPTIONAL=1
inherit cmake distutils-r1
DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++" DESCRIPTION="An implementation of the Double Ratchet cryptographic ratchet in C++"
HOMEPAGE="https://git.matrix.org/git/olm/about/" HOMEPAGE="https://git.matrix.org/git/olm/about/"
@ -18,3 +21,28 @@ fi
LICENSE="GPL-3" LICENSE="GPL-3"
SLOT="0/$(ver_cut 1)" SLOT="0/$(ver_cut 1)"
IUSE="python"
DEPEND="
python? (
dev-python/cffi[${PYTHON_USEDEP}]
dev-python/future[${PYTHON_USEDEP}]
)
"
CMAKE_IN_SOURCE_BUILD=1
src_prepare() {
cmake_src_prepare
use python && (cd python; distutils-r1_src_prepare)
}
src_compile() {
cmake_src_compile
use python && (cd python; distutils-r1_src_compile)
}
src_install() {
cmake_src_install
use python && (cd python; distutils-r1_src_install)
}