public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Rui Huang" <vowstar@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/dsview/
Date: Thu, 16 Jun 2022 10:05:12 +0000 (UTC)	[thread overview]
Message-ID: <1655373813.e33629106f726f5281919f01659fa61c2a307101.vowstar@gentoo> (raw)

commit:     e33629106f726f5281919f01659fa61c2a307101
Author:     Huang Rui <vowstar <AT> gmail <DOT> com>
AuthorDate: Thu Jun 16 10:03:33 2022 +0000
Commit:     Rui Huang <vowstar <AT> gmail <DOT> 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 <vowstar <AT> 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() {


             reply	other threads:[~2022-06-16 10:05 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-16 10:05 Rui Huang [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-03  9:24 [gentoo-commits] repo/proj/guru:dev commit in: sci-electronics/dsview/ Takuya Wakazono
2024-11-01 12:02 Liang Yongxiang
2024-10-19 10:22 Takuya Wakazono
2023-07-18 11:12 Rui Huang
2023-07-18 11:12 Rui Huang
2022-09-06  3:14 Rui Huang
2022-09-06  3:14 Rui Huang
2022-07-08  4:45 Rui Huang
2022-07-08  4:45 Rui Huang
2022-07-04  4:26 Rui Huang
2021-12-15 11:17 Andrew Ammerlaan
2021-05-01 14:05 Ronny Gutbrod
2021-05-01 14:05 Ronny Gutbrod
2021-03-28 10:52 Andrew Ammerlaan
2021-01-01  9:55 Rui Huang
2020-08-18 13:07 Rui Huang
2020-08-18 10:28 Rui Huang
2020-08-18 10:12 Rui Huang
2020-08-18 10:06 Rui Huang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1655373813.e33629106f726f5281919f01659fa61c2a307101.vowstar@gentoo \
    --to=vowstar@gmail.com \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox