mirror of
https://github.com/gentoo-mirror/guru.git
synced 2025-04-20 00:08:58 -04:00
dev-libs/mtxclient: add 0.9.2
remove LTO workaround for tests Bug: https://bugs.gentoo.org/861731 Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
parent
c117132d18
commit
84bc38bdc0
@ -1,2 +1,3 @@
|
||||
DIST mtxclient-0.8.2.tar.gz 609627 BLAKE2B c88441dfb8792246199cdf8cfd5c69c52d6086ab4013be15fe0c471345ebd157e5a1451eceb7e5b73ac06229e87977103ed1f439c47e3d25172d5c39152b29fa SHA512 0f9d07f5001f933dbf0163b865056361b583de2f2aeae159c5d05ff54adbf88cf7033ad57ee3232b032b4f75328bc410d0059a9dcc209b62aa0ae67b2405667f
|
||||
DIST mtxclient-0.9.1.tar.gz 621917 BLAKE2B aaadc1228ebd792c46e6aa4ff9dab9755bb6215b8ed37f65f3c12192b509ceae46e4e3e1f26aa400b14cfe6690af816139d273028cb0d58e19c756835c53209f SHA512 578d18add07aa2bf52fea41f99bcc91fa403a78d6d4d656a9775ae141fa2f6bffc2f1f0dc95740eab1d46bb9ac79a62691192682d06a75a8cee3e94ad93723c1
|
||||
DIST mtxclient-0.9.2.tar.gz 623481 BLAKE2B 322506eaac9abf2463c08bee5e17547d7a33cf473785839566ec185db97303f7e33d5b58aa85735fa066f7f2f507e682bec985dc9dffa83f9b9ac799ed78c80d SHA512 87c9cd23ce8a52b2f850e3770eb51d03f40f4a5e45b5e536b2446932fc866b8835212d9364c5890af7404843da2547bdc94bb5d3d1933903fea8374b8900fd73
|
||||
|
45
dev-libs/mtxclient/mtxclient-0.9.2.ebuild
Normal file
45
dev-libs/mtxclient/mtxclient-0.9.2.ebuild
Normal file
@ -0,0 +1,45 @@
|
||||
# Copyright 2020-2023 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="+pie test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libfmt:=
|
||||
dev-libs/olm
|
||||
>=dev-libs/openssl-1.1.0:=
|
||||
>=dev-libs/re2-0.2022.04.01:=
|
||||
dev-libs/spdlog:=
|
||||
>=dev-cpp/coeurl-0.3.0:=[ssl]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/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=$(usex pie)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user