mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
dev-libs/mtxclient: add 0.10.1
Signed-off-by: David Roman <davidroman96@gmail.com> Part-of: https://github.com/gentoo/guru/pull/365 Signed-off-by: David Roman <davidroman96@gmail.com>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST mtxclient-0.10.0.tar.gz 633765 BLAKE2B c76c4592e51c46418e5ad610432b2edc39f4bcfe3a9f8642888addc91296b7aa129e5716b818a1257e6e1cc8b945bac7d3434d283d9ba9705cd9250f6b6ad59b SHA512 584831f67d7c15c293dd3c3cdca6e5b76c8fd477d5daa5eecea4de43431db0628f5af846f2c1cb1cfdabbd53e3f696b45c8aa736bd615729df583a33157958bd
|
DIST mtxclient-0.10.0.tar.gz 633765 BLAKE2B c76c4592e51c46418e5ad610432b2edc39f4bcfe3a9f8642888addc91296b7aa129e5716b818a1257e6e1cc8b945bac7d3434d283d9ba9705cd9250f6b6ad59b SHA512 584831f67d7c15c293dd3c3cdca6e5b76c8fd477d5daa5eecea4de43431db0628f5af846f2c1cb1cfdabbd53e3f696b45c8aa736bd615729df583a33157958bd
|
||||||
|
DIST mtxclient-0.10.1.tar.gz 636035 BLAKE2B 3bb9d75c18608e07ece268950db060610d562296f831eb518ea804324d2400802f7640807c092446608f1b41c6ce62ce578aa3a7f88be5ed297b5a6b25913e50 SHA512 9b56f3e8c022f9e5d569cbd959259315c0b070ef2220c288208c64f901491b5c7365ead12c538df2ddb9774f332cf48f10d02d20baced6d497bc969da16fbe87
|
||||||
|
|||||||
45
dev-libs/mtxclient/mtxclient-0.10.1.ebuild
Normal file
45
dev-libs/mtxclient/mtxclient-0.10.1.ebuild
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
# Copyright 2020-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake
|
||||||
|
|
||||||
|
DESCRIPTION="Client API library for Matrix, built on top of libcurl"
|
||||||
|
HOMEPAGE="https://github.com/Nheko-Reborn/mtxclient"
|
||||||
|
SRC_URI="https://github.com/Nheko-Reborn/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0/${PV}" # ABI may break even on patch version changes
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
IUSE="test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-cpp/coeurl-0.3.1:=[ssl]
|
||||||
|
dev-libs/libfmt:=
|
||||||
|
dev-libs/olm
|
||||||
|
dev-libs/openssl:=
|
||||||
|
dev-libs/re2:0/10
|
||||||
|
dev-libs/spdlog:=
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
>=dev-cpp/nlohmann_json-3.11.0
|
||||||
|
test? ( dev-cpp/gtest )
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}"/${PN}-0.6.0-remove-network-tests.patch
|
||||||
|
)
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local -a mycmakeargs=(
|
||||||
|
-DBUILD_LIB_TESTS="$(usex test)"
|
||||||
|
-DBUILD_LIB_EXAMPLES=OFF
|
||||||
|
-DCMAKE_POSITION_INDEPENDENT_CODE=OFF
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user