mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
dev-libs/mtxclient: Remove old ebuild and patch.
Signed-off-by: Ronny (tastytea) Gutbrod <gentoo@tastytea.de>
This commit is contained in:
@@ -1,3 +1,2 @@
|
||||
DIST mtxclient-0.3.0.tar.gz 507299 BLAKE2B 4c36762a3a0a3aafebd414d2c967cc5183710c7be34df9b50078538e7971e86182114ed310ed96a452a02f3d8c1c18fa5aa0de414d0c391d97efb1ce7f1b49f9 SHA512 113eb2c1042e0aeea6607fae0b7fd0ff1655d6b902fa11a3492561c53240901e641f53d413810e932ac210e519026016c5fac38bda1592336c95b2d79781557e
|
||||
DIST mtxclient-0.3.1.tar.gz 511985 BLAKE2B 5271dc755ea10be2bddd0155b9c3288be2f0cb165989fdebcf237795a12041e8f21f7c54b9f7ec86e5fa08c386daad696f77509ae65b2aa2c30c9a292bb1b682 SHA512 ed4991b0a611be80cef42dec5e4b747787dae6aeaf46dc1cc395b06233efc9a5b1b57b1809eb9dacd7893b4de19f43996bb6d4556fc67697013248d79528a567
|
||||
DIST mtxclient-0.4.0.tar.gz 571434 BLAKE2B d836d94f9045f0ca5a0aa9b5fe6f3643e3189d4ee31b797472aca10320678308d51e2c9bc37f4234d00e0c201aeefaf8c4c40072b0ad8c7f5b6a9e0c10163a2a SHA512 8c3538147b9277babbac14aaec6652ff638ae9335c01f786dfec78e3edc5c23591da8ce33c4366329050cf644f71a9fac8d337a2a9fbf7ea2883be05f6ac1a1e
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
From 3692a1dce868cfde29547757b6a8e91a05761b12 Mon Sep 17 00:00:00 2001
|
||||
From: Nicolas Werner <nicolas.werner@hotmail.de>
|
||||
Date: Sat, 9 May 2020 00:33:29 +0200
|
||||
Subject: [PATCH] gcc 10 fixes
|
||||
|
||||
---
|
||||
include/mtx/identifiers.hpp | 2 ++
|
||||
tests/messages.cpp | 2 +-
|
||||
2 files changed, 3 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/include/mtx/identifiers.hpp b/include/mtx/identifiers.hpp
|
||||
index a18b26e9..077099c4 100644
|
||||
--- a/include/mtx/identifiers.hpp
|
||||
+++ b/include/mtx/identifiers.hpp
|
||||
@@ -6,4 +6,6 @@
|
||||
#include <nlohmann/json.hpp>
|
||||
#endif
|
||||
|
||||
+#include <stdexcept>
|
||||
+
|
||||
namespace mtx {
|
||||
namespace identifiers {
|
||||
@@ -1,52 +0,0 @@
|
||||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Client API library for Matrix, built on top of Boost.Asio"
|
||||
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"
|
||||
IUSE="test"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/libsodium
|
||||
>=dev-libs/boost-1.70.0
|
||||
dev-libs/olm
|
||||
dev-libs/openssl
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-libs/spdlog
|
||||
test? ( dev-cpp/gtest )
|
||||
"
|
||||
|
||||
# remove_failing_tests depends on remove_network_tests.
|
||||
PATCHES=(
|
||||
"${FILESDIR}/0.3.0_remove_network_tests.patch"
|
||||
"${FILESDIR}/0.3.0_remove_failing_tests.patch"
|
||||
"${FILESDIR}/0.3.0_add_missing_header.patch"
|
||||
)
|
||||
|
||||
src_configure() {
|
||||
local -a mycmakeargs=(
|
||||
-DBUILD_LIB_TESTS="$(usex test)"
|
||||
-DBUILD_LIB_EXAMPLES=OFF
|
||||
)
|
||||
|
||||
if use test; then
|
||||
# Upstream uses a toolchain file to set these, fixed in >0.3.0.
|
||||
mycmakeargs+=(
|
||||
-DCMAKE_CXX_STANDARD=17
|
||||
-DCMAKE_CXX_STANDARD_REQUIRED=ON
|
||||
)
|
||||
fi
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
Reference in New Issue
Block a user