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 DEA86158091 for ; Thu, 16 Jun 2022 10:05:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2209FE0940; Thu, 16 Jun 2022 10:05:16 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5DCE5E0940 for ; Thu, 16 Jun 2022 10:05:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 5CCCC341F9C for ; Thu, 16 Jun 2022 10:05:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E825B501 for ; Thu, 16 Jun 2022 10:05:12 +0000 (UTC) From: "Rui Huang" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Rui Huang" Message-ID: <1655373813.e33629106f726f5281919f01659fa61c2a307101.vowstar@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/dsview/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sci-electronics/dsview/dsview-1.1.2-r1.ebuild X-VCS-Directories: sci-electronics/dsview/ X-VCS-Committer: vowstar X-VCS-Committer-Name: Rui Huang X-VCS-Revision: e33629106f726f5281919f01659fa61c2a307101 X-VCS-Branch: dev Date: Thu, 16 Jun 2022 10:05:12 +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: b0447191-b9d8-4d4d-87f0-c2e3f67ed0b1 X-Archives-Hash: 8a894baa118755b7f99ff2dd7ad91195 commit: e33629106f726f5281919f01659fa61c2a307101 Author: Huang Rui gmail com> AuthorDate: Thu Jun 16 10:03:33 2022 +0000 Commit: Rui Huang gmail com> CommitDate: Thu Jun 16 10:03:33 2022 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e3362910 sci-electronics/dsview: fix 840556,848402 Closes: https://bugs.gentoo.org/840556 Closes: https://bugs.gentoo.org/848402 Signed-off-by: Huang Rui gmail.com> sci-electronics/dsview/dsview-1.1.2-r1.ebuild | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sci-electronics/dsview/dsview-1.1.2-r1.ebuild b/sci-electronics/dsview/dsview-1.1.2-r1.ebuild index eac50f51f..d40266115 100644 --- a/sci-electronics/dsview/dsview-1.1.2-r1.ebuild +++ b/sci-electronics/dsview/dsview-1.1.2-r1.ebuild @@ -26,7 +26,7 @@ fi LICENSE="GPL-3" SLOT="0" - +IUSE="static-libs" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="${PYTHON_DEPS} @@ -104,6 +104,10 @@ src_install() { LDFLAGS="-L${D}${LIBDIR}" \ cmake -DCMAKE_INSTALL_PREFIX=/usr . || die emake DESTDIR="${D}" install + if ! use static-libs; then + find "${ED}" -name "*.la" -delete || die + find "${ED}" -name "*.a" -delete || die + fi } pkg_postinst() {