Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/scw/
Date: Tue, 15 Sep 2020 13:23:22
Message-Id: 1600176178.dc3830ef602e9e00b8a711c5f0374ee6cfe2ccbd.soap@gentoo
1 commit: dc3830ef602e9e00b8a711c5f0374ee6cfe2ccbd
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Sep 15 13:22:58 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Sep 15 13:22:58 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc3830ef
7
8 x11-libs/scw: Disable static libraries
9
10 Closes: https://bugs.gentoo.org/742659
11 Package-Manager: Portage-3.0.7, Repoman-3.0.1
12 Signed-off-by: David Seifert <soap <AT> gentoo.org>
13
14 .../{scw-0.4.7-r1.ebuild => scw-0.4.7-r2.ebuild} | 23 ++++++++++++++--------
15 1 file changed, 15 insertions(+), 8 deletions(-)
16
17 diff --git a/x11-libs/scw/scw-0.4.7-r1.ebuild b/x11-libs/scw/scw-0.4.7-r2.ebuild
18 similarity index 60%
19 rename from x11-libs/scw/scw-0.4.7-r1.ebuild
20 rename to x11-libs/scw/scw-0.4.7-r2.ebuild
21 index 479049556df..a180f163479 100644
22 --- a/x11-libs/scw/scw-0.4.7-r1.ebuild
23 +++ b/x11-libs/scw/scw-0.4.7-r2.ebuild
24 @@ -1,4 +1,4 @@
25 -# Copyright 1999-2018 Gentoo Authors
26 +# Copyright 1999-2020 Gentoo Authors
27 # Distributed under the terms of the GNU General Public License v2
28
29 EAPI=7
30 @@ -14,15 +14,22 @@ IUSE="doc"
31
32 RDEPEND="
33 dev-libs/glib:2
34 - x11-libs/gtk+:2
35 -"
36 -DEPEND="
37 - ${RDEPEND}
38 - doc? ( dev-util/gtk-doc )
39 + x11-libs/gtk+:2"
40 +DEPEND="${RDEPEND}"
41 +BDEPEND="
42 dev-util/glib-utils
43 virtual/pkgconfig
44 -"
45 + doc? ( dev-util/gtk-doc )"
46
47 src_configure() {
48 - econf $(use_enable doc gtk-doc)
49 + econf \
50 + --disable-static \
51 + $(use_enable doc gtk-doc)
52 +}
53 +
54 +src_install() {
55 + default
56 +
57 + # no static archives
58 + find "${ED}" -name '*.la' -delete || die
59 }