diff --git a/dev-libs/olm/Manifest b/dev-libs/olm/Manifest index 899fb79..dfbe8d7 100644 --- a/dev-libs/olm/Manifest +++ b/dev-libs/olm/Manifest @@ -1,2 +1,8 @@ +DIST olm-3.2.10.tar.bz2 2733952 BLAKE2B 67282771a93c2e164458abe85ce69a726fa7ce0b3ad4d1f837dd6a2dfc04f5e1081de8fda8ab9422e2054f556a25aa1e1dddd1ca6dfed9475de986392b6e1a77 SHA512 127a81f8585550fb59b922e656b877251fbc96b5b61629a9faaf10b82c88c28f5036de815803c654d9d82c436c75e11dd3b96c6a6cb14d4ae686b24ce3dcff94 +DIST olm-3.2.12.tar.bz2 2742680 BLAKE2B 47c3bacaf05cc0bb6088da34e6a031f9c770893771ddcf9f13bc0e10a050139f14969dfc91f38684336872089b4cbf9d66e4bd85692989eba5fc3df966da3cd2 SHA512 a25db4c72910512beca9120db59ebeeefc5fff6a381e88ae7cf261bc5ab896edc2cfe25ece57b7b28b2e3d8bc66367c457133c147e1a3514f926714159b5cf6f DIST olm-3.2.8.tar.bz2 489350 BLAKE2B bf8b31262c15da2cffd5eeb1f426fe60e83dc60b3377191d65b4b4992133f92adfb7d18deb69b075207550b1b32220a1d807f331e58b41839d8aa5330a80bf3d SHA512 2a249b6880ff0c368458c14d6bae3103890f23dceaaf5753d140884185590fd54f1d7bcb8959f43b3b0f5c9302f76e380e6cdfe3340feab7f9fff60362a39303 +DIST olm-3.2.9.tar.bz2 2734794 BLAKE2B 6c5cc89804071f961ebd571dd5d3fac43aa9517fda4e029a0855fc89f4ec46e49b784aa2cfbf8cec8e34b8ef06c5e61f2111ec30fc872f44c90795359892f205 SHA512 c196430054920d78587fc79eed25312d11498594257b9a12057bfb2feaf2abfb7df35854952b4a36bc22a8c62b99b58e55f9434001a00791ca62ca47556957a5 +EBUILD olm-3.2.10.ebuild 1354 BLAKE2B 19cf306dfcd24275b437ed275237706b6fca2891811d4e28cca319d020d440d50f3d6dad303070376bc17693e0f1608be16a1947ce57ae80cd6444bf43f6924d SHA512 f8edb318d521551d8fdca1b35f274385b6ab78ab87e3cca5935d2514daef0e6805d5a74529b30ee539580dc1be7271f48d2d48c7533c27948166804605906f5f +EBUILD olm-3.2.12.ebuild 1354 BLAKE2B 19cf306dfcd24275b437ed275237706b6fca2891811d4e28cca319d020d440d50f3d6dad303070376bc17693e0f1608be16a1947ce57ae80cd6444bf43f6924d SHA512 f8edb318d521551d8fdca1b35f274385b6ab78ab87e3cca5935d2514daef0e6805d5a74529b30ee539580dc1be7271f48d2d48c7533c27948166804605906f5f EBUILD olm-3.2.8.ebuild 1084 BLAKE2B d9754950c0359dce425ab7611cbab8b1c72e663e12c248fb7365777ec2da81d3f18896c375d909626d1da9484ec9ba15733d6873457ba2413937557670227dda SHA512 b6c937e0236034c7f3ad747cb401d9e099e7a6012ed22c706ed85f45ae3320900efe7c24e434394500c0155dbc2c441a3ea300180f981b843a89a12bb93d772c +EBUILD olm-3.2.9.ebuild 696 BLAKE2B 536485a26c9a759a1475f1e476c7bbd1efd882c256356a456f34a964ccec47978abfe2b1849e699d5a089e8a0cef90652197f004e4450fe000100b2da73465f3 SHA512 b8340785063f48775a3880e168324abb203bd9b648f1d92c6a915b5d0650fcac5f406aa445d0db4cf0ff110254c70cb5b1279bd1301896280ebeeb7306bd9ff4 diff --git a/dev-libs/olm/olm-3.2.10.ebuild b/dev-libs/olm/olm-3.2.10.ebuild new file mode 100644 index 0000000..1a00750 --- /dev/null +++ b/dev-libs/olm/olm-3.2.10.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit cmake python-r1 + +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/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + python? ( + ${PYTHON_DEPS} + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + )" + +compile_pybinding() { + cd python + "${EPYTHON}" setup.py build || die + python_optimize +} + +src_configure() { + local -a mycmakeargs=( + -DOLM_TESTS="$(usex test)" + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use python; then + python_foreach_impl compile_pybinding + fi +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} + +install_pybinding() { + cd python + "${EPYTHON}" setup.py install --root="${D}" --prefix="${EPREFIX}/usr/" || die + python_optimize +} + +src_install() { + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md ) + + cmake_src_install + + if use python; then + python_foreach_impl install_pybinding + fi +} diff --git a/dev-libs/olm/olm-3.2.12.ebuild b/dev-libs/olm/olm-3.2.12.ebuild new file mode 100644 index 0000000..1a00750 --- /dev/null +++ b/dev-libs/olm/olm-3.2.12.ebuild @@ -0,0 +1,69 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{8,9,10} ) + +inherit cmake python-r1 + +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/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="doc test +python" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +RESTRICT="!test? ( test )" + +RDEPEND=" + python? ( + ${PYTHON_DEPS} + dev-python/cffi[${PYTHON_USEDEP}] + dev-python/future[${PYTHON_USEDEP}] + dev-python/typing-extensions[${PYTHON_USEDEP}] + )" + +compile_pybinding() { + cd python + "${EPYTHON}" setup.py build || die + python_optimize +} + +src_configure() { + local -a mycmakeargs=( + -DOLM_TESTS="$(usex test)" + ) + + cmake_src_configure +} + +src_compile() { + cmake_src_compile + + if use python; then + python_foreach_impl compile_pybinding + fi +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} + +install_pybinding() { + cd python + "${EPYTHON}" setup.py install --root="${D}" --prefix="${EPREFIX}/usr/" || die + python_optimize +} + +src_install() { + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md ) + + cmake_src_install + + if use python; then + python_foreach_impl install_pybinding + fi +} diff --git a/dev-libs/olm/olm-3.2.9.ebuild b/dev-libs/olm/olm-3.2.9.ebuild new file mode 100644 index 0000000..19d31a4 --- /dev/null +++ b/dev-libs/olm/olm-3.2.9.ebuild @@ -0,0 +1,35 @@ +# Copyright 2020-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/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +IUSE="doc test" +RESTRICT="!test? ( test )" + +src_configure() { + local -a mycmakeargs=( + -DOLM_TESTS="$(usex test)" + ) + + cmake_src_configure +} + +src_test() { + BUILD_DIR="${BUILD_DIR}/tests" cmake_src_test +} + +src_install() { + use doc && DOCS=( README.md docs/{{,meg}olm,signing}.md ) + + cmake_src_install +}