From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6B737158086 for ; Mon, 1 Nov 2021 08:26:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 81EA0E07FE; Mon, 1 Nov 2021 08:26:18 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5CEFBE07FE for ; Mon, 1 Nov 2021 08:26:18 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5A4CD342D02 for ; Mon, 1 Nov 2021 08:26:17 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 95535DC for ; Mon, 1 Nov 2021 08:26:15 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1635754977.a8a732b0d50fc74bdca9dc75e804e43369cb9e34.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/libtorrent-rasterbar/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild X-VCS-Directories: net-libs/libtorrent-rasterbar/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: a8a732b0d50fc74bdca9dc75e804e43369cb9e34 X-VCS-Branch: master Date: Mon, 1 Nov 2021 08:26:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: a98bf119-4612-41fb-b520-e0364858eca1 X-Archives-Hash: b992bd66d7fe41db96ae0d2427801b08 commit: a8a732b0d50fc74bdca9dc75e804e43369cb9e34 Author: Sam James gentoo org> AuthorDate: Mon Nov 1 08:22:57 2021 +0000 Commit: Sam James gentoo org> CommitDate: Mon Nov 1 08:22:57 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8a732b0 net-libs/libtorrent-rasterbar: conditionally apply test patch Closes: https://bugs.gentoo.org/821172 Signed-off-by: Sam James gentoo.org> net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild index 69145fe1177..4d585c2e540 100644 --- a/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild +++ b/net-libs/libtorrent-rasterbar/libtorrent-rasterbar-2.0.4-r4.ebuild @@ -45,13 +45,18 @@ PATCHES=( "${FILESDIR}"/${P}-boost-1.77.patch "${FILESDIR}"/${P}-python-symbols.patch "${FILESDIR}"/${PN}-2.0.4-asio-ssl-error.patch - "${WORKDIR}"/${P}-ssl-tests-certs.patch ) pkg_setup() { use python && python-single-r1_pkg_setup } +src_prepare() { + use test && eapply "${WORKDIR}"/${P}-ssl-tests-certs.patch + + cmake_src_prepare +} + src_configure() { local mycmakeargs=( -DCMAKE_CXX_STANDARD=14