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 82A4615A7D9 for ; Thu, 16 Mar 2023 08:41:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 39E46E07D3; Thu, 16 Mar 2023 08:41:55 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id D8F45E07EA for ; Thu, 16 Mar 2023 08:41:54 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CEBC0340B77 for ; Thu, 16 Mar 2023 08:41:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 28D928EC for ; Thu, 16 Mar 2023 08:41:51 +0000 (UTC) From: "Florian Schmaus" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Florian Schmaus" Message-ID: <1678845169.bfd60cbaa687a60219e7d6cf0bd4cbfac12c54ab.flow@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: net-p2p/feather/, dev-libs/polyseed/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/polyseed/polyseed-1.0.0.ebuild dev-libs/polyseed/polyseed-2.0.0.ebuild net-p2p/feather/feather-2.4.2.ebuild X-VCS-Directories: dev-libs/polyseed/ net-p2p/feather/ X-VCS-Committer: flow X-VCS-Committer-Name: Florian Schmaus X-VCS-Revision: bfd60cbaa687a60219e7d6cf0bd4cbfac12c54ab X-VCS-Branch: master Date: Thu, 16 Mar 2023 08:41:51 +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: 881d8ed6-571d-4565-9c46-6c7d0fb9c638 X-Archives-Hash: 4e758f31c3546daa4dbb72c24a87115a commit: bfd60cbaa687a60219e7d6cf0bd4cbfac12c54ab Author: Adam Pimentel protonmail com> AuthorDate: Wed Mar 15 01:52:49 2023 +0000 Commit: Florian Schmaus gentoo org> CommitDate: Wed Mar 15 01:52:49 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfd60cba dev-libs/polyseed: conditionally build static-libs and test targets based on USE flags Closes: https://bugs.gentoo.org/901189 Signed-off-by: Adam Pimentel protonmail.com> dev-libs/polyseed/polyseed-1.0.0.ebuild | 6 +++++- dev-libs/polyseed/polyseed-2.0.0.ebuild | 6 +++++- net-p2p/feather/feather-2.4.2.ebuild | 2 +- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dev-libs/polyseed/polyseed-1.0.0.ebuild b/dev-libs/polyseed/polyseed-1.0.0.ebuild index 34fd63397..34315cc38 100644 --- a/dev-libs/polyseed/polyseed-1.0.0.ebuild +++ b/dev-libs/polyseed/polyseed-1.0.0.ebuild @@ -12,5 +12,9 @@ SRC_URI="https://github.com/tevador/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="" #todo: make test executible an optiona; USE flag +IUSE="static-libs test" BDEPEND="virtual/pkgconfig" + +src_compile() { + cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") +} diff --git a/dev-libs/polyseed/polyseed-2.0.0.ebuild b/dev-libs/polyseed/polyseed-2.0.0.ebuild index 34fd63397..34315cc38 100644 --- a/dev-libs/polyseed/polyseed-2.0.0.ebuild +++ b/dev-libs/polyseed/polyseed-2.0.0.ebuild @@ -12,5 +12,9 @@ SRC_URI="https://github.com/tevador/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P LICENSE="LGPL-3" SLOT="0" KEYWORDS="~amd64" -IUSE="" #todo: make test executible an optiona; USE flag +IUSE="static-libs test" BDEPEND="virtual/pkgconfig" + +src_compile() { + cmake_build polyseed $(usex "static-libs" "polyseed_static" "") $(usex "test" "polyseed-tests" "") +} diff --git a/net-p2p/feather/feather-2.4.2.ebuild b/net-p2p/feather/feather-2.4.2.ebuild index f2fb17331..54dbc41f4 100644 --- a/net-p2p/feather/feather-2.4.2.ebuild +++ b/net-p2p/feather/feather-2.4.2.ebuild @@ -44,7 +44,7 @@ DEPEND=" dev-libs/libsodium:= media-gfx/qrencode:= media-gfx/zbar:=[v4l] - >=dev-libs/polyseed-1.0.0 + =dev-libs/polyseed-1.0.0 dev-libs/libzip:= dev-libs/boost:=[nls] >=dev-qt/qtcore-5.15:5