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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A7EAF158042 for ; Sun, 17 Nov 2024 03:36:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5729AE0A93; Sun, 17 Nov 2024 03:36:29 +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 3BECEE0A93 for ; Sun, 17 Nov 2024 03:36:29 +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 3D130342F8C for ; Sun, 17 Nov 2024 03:36:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A853AD81 for ; Sun, 17 Nov 2024 03:36:26 +0000 (UTC) From: "Julien Roy" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Julien Roy" Message-ID: <1731806265.d6b082741f9545a63e5d7e0986278c3d080e46c8.julien@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: dev-libs/imsg-compat/ X-VCS-Repository: repo/proj/guru X-VCS-Files: dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild dev-libs/imsg-compat/imsg-compat-9999.ebuild X-VCS-Directories: dev-libs/imsg-compat/ X-VCS-Committer: julien X-VCS-Committer-Name: Julien Roy X-VCS-Revision: d6b082741f9545a63e5d7e0986278c3d080e46c8 X-VCS-Branch: master Date: Sun, 17 Nov 2024 03:36:26 +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: 047f2257-7259-49ef-ada0-06f12b6aacba X-Archives-Hash: 4f5359a7e85c09510810545eb45be846 commit: d6b082741f9545a63e5d7e0986278c3d080e46c8 Author: Alexander Golubev gmail com> AuthorDate: Sun Nov 17 01:17:45 2024 +0000 Commit: Julien Roy jroy ca> CommitDate: Sun Nov 17 01:17:45 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d6b08274 dev-libs/imsg-compat: drop USE=test add USE=static-libs Closes: https://bugs.gentoo.org/939292 Signed-off-by: Alexander Golubev gmail.com> dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild | 9 +++++++-- dev-libs/imsg-compat/imsg-compat-9999.ebuild | 9 +++++++-- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild b/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild index d777d8546..91a762794 100644 --- a/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild +++ b/dev-libs/imsg-compat/imsg-compat-8.0.0.ebuild @@ -21,5 +21,10 @@ fi LICENSE="ISC" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" +IUSE="static-libs" + +src_install() { + meson_src_install + + use static-libs || rm "${ED}/usr/$(get_libdir)/libimsg.a" || die +} diff --git a/dev-libs/imsg-compat/imsg-compat-9999.ebuild b/dev-libs/imsg-compat/imsg-compat-9999.ebuild index d777d8546..91a762794 100644 --- a/dev-libs/imsg-compat/imsg-compat-9999.ebuild +++ b/dev-libs/imsg-compat/imsg-compat-9999.ebuild @@ -21,5 +21,10 @@ fi LICENSE="ISC" SLOT="0" -IUSE="test" -RESTRICT="!test? ( test )" +IUSE="static-libs" + +src_install() { + meson_src_install + + use static-libs || rm "${ED}/usr/$(get_libdir)/libimsg.a" || die +}