Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libggiwmh/
Date: Sun, 07 Oct 2018 14:02:39
Message-Id: 1538920923.ea3596b1ab12209deb537a4cd0e4c04e1deb1104.asturm@gentoo
1 commit: ea3596b1ab12209deb537a4cd0e4c04e1deb1104
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 5 19:42:22 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 14:02:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ea3596b1
7
8 media-libs/libggiwmh: EAPI7 revbump, improve ebuild
9
10 * Removes all *.la files
11 * Disables static build
12
13 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
14 Closes: https://bugs.gentoo.org/667848
15 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
16
17 media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild | 36 ++++++++++++++++++++++++++
18 1 file changed, 36 insertions(+)
19
20 diff --git a/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild b/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild
21 new file mode 100644
22 index 00000000000..67cd8c2664d
23 --- /dev/null
24 +++ b/media-libs/libggiwmh/libggiwmh-0.3.2-r1.ebuild
25 @@ -0,0 +1,36 @@
26 +# Copyright 1999-2018 Gentoo Authors
27 +# Distributed under the terms of the GNU General Public License v2
28 +
29 +EAPI=7
30 +
31 +DESCRIPTION="Window manager hints extensions for libggi"
32 +HOMEPAGE="https://ibiblio.org/ggicore/packages/libggiwmh.html"
33 +SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
34 +
35 +LICENSE="MIT"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
38 +IUSE="X"
39 +
40 +RDEPEND=">=media-libs/libggi-2.2.2
41 + X? (
42 + x11-libs/libX11
43 + x11-libs/libXext
44 + x11-libs/libXxf86dga
45 + x11-libs/libXxf86vm
46 + )"
47 +DEPEND="${RDEPEND}"
48 +
49 +DOCS=( ChangeLog README doc/libggiwmh{,-functions,-libraries}.txt )
50 +
51 +src_configure() {
52 + econf \
53 + $(use_enable X x) \
54 + $(use_with X x) \
55 + --disable-static
56 +}
57 +
58 +src_install() {
59 + default
60 + find "${D}" -name '*.la' -delete || die
61 +}