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/libggimisc/
Date: Sun, 07 Oct 2018 14:02:37
Message-Id: 1538920846.d07f3163ddcbd6ced53cbcb0cddc55dd61acd12f.asturm@gentoo
1 commit: d07f3163ddcbd6ced53cbcb0cddc55dd61acd12f
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Fri Oct 5 19:36:50 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sun Oct 7 14:00:46 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d07f3163
7
8 media-libs/libggimisc: 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 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild | 36 ++++++++++++++++++++++++
17 1 file changed, 36 insertions(+)
18
19 diff --git a/media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild b/media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild
20 new file mode 100644
21 index 00000000000..d163051ef48
22 --- /dev/null
23 +++ b/media-libs/libggimisc/libggimisc-2.2.2-r1.ebuild
24 @@ -0,0 +1,36 @@
25 +# Copyright 1999-2018 Gentoo Authors
26 +# Distributed under the terms of the GNU General Public License v2
27 +
28 +EAPI=7
29 +
30 +DESCRIPTION="Adds support for some special graphical target features"
31 +HOMEPAGE="https://ibiblio.org/ggicore/packages/libggimisc.html"
32 +SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2"
33 +
34 +LICENSE="MIT"
35 +SLOT="0"
36 +KEYWORDS="~amd64 ~x86"
37 +IUSE="fbcon svga"
38 +
39 +RDEPEND=">=media-libs/libggi-2.2.2
40 + svga? ( media-libs/svgalib )"
41 +DEPEND="${RDEPEND}"
42 +
43 +DOCS=( ChangeLog README TODO doc/ggimisc.txt doc/libggimisc{,-functions,-libraries}.txt
44 + doc/retrace.txt )
45 +
46 +src_configure() {
47 + econf --disable-x --without-x \
48 + $(use_enable svga svgalib) \
49 + $(use_enable fbcon fbdev) \
50 + --disable-static
51 +}
52 +
53 +src_install() {
54 + default
55 + find "${D}" -name '*.la' -delete || die
56 +}
57 +
58 +pkg_postinst() {
59 + elog "X extension for ${PN} has been temporarily disabled for this release."
60 +}