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 CBA0715800F for ; Thu, 2 Feb 2023 19:45:14 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id F2719E07A5; Thu, 2 Feb 2023 19:45:13 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D8577E07A5 for ; Thu, 2 Feb 2023 19:45:13 +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 B548D335D4D for ; Thu, 2 Feb 2023 19:45:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id F29F17F8 for ; Thu, 2 Feb 2023 19:45:10 +0000 (UTC) From: "Artemis Everfree" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Artemis Everfree" Message-ID: <1675367066.99306e3cd2a902f90785d97154a97f960b79c9c1.artemis@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: net-libs/libuecc/ X-VCS-Repository: repo/proj/guru X-VCS-Files: net-libs/libuecc/libuecc-7.ebuild X-VCS-Directories: net-libs/libuecc/ X-VCS-Committer: artemis X-VCS-Committer-Name: Artemis Everfree X-VCS-Revision: 99306e3cd2a902f90785d97154a97f960b79c9c1 X-VCS-Branch: dev Date: Thu, 2 Feb 2023 19:45:10 +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: b9400ba2-4b8f-41e6-b828-1023d6f2b469 X-Archives-Hash: 38bb2cc3309cc2a8bd7bf557101a4f43 commit: 99306e3cd2a902f90785d97154a97f960b79c9c1 Author: Artemis Everfree artemis sh> AuthorDate: Thu Feb 2 19:43:31 2023 +0000 Commit: Artemis Everfree artemis sh> CommitDate: Thu Feb 2 19:44:26 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=99306e3c net-libs/libuecc: Add static-libs USE flag Signed-off-by: Artemis Everfree artemis.sh> net-libs/libuecc/libuecc-7.ebuild | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/net-libs/libuecc/libuecc-7.ebuild b/net-libs/libuecc/libuecc-7.ebuild index 0baec7b98..4bd66bee6 100644 --- a/net-libs/libuecc/libuecc-7.ebuild +++ b/net-libs/libuecc/libuecc-7.ebuild @@ -12,7 +12,11 @@ SRC_URI="https://github.com/NeoRaider/libuecc/releases/download/v${PV}/${P}.tar. LICENSE="BSD-2" SLOT="0" KEYWORDS="~amd64 ~arm64" -RDEPEND="" -DEPEND="${RDEPEND}" -BDEPEND="" -IDEPEND="" +IUSE="static-libs" + +src_install() { + cmake_src_install + if ! use static-libs; then + find "${ED}" -name "*.a" -delete + fi +}