Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/blib/
Date: Wed, 14 Feb 2018 20:07:14
Message-Id: 1518638692.fff22f7da5902bcd73c79d6b94515d4f52075c20.pacho@gentoo
1 commit: fff22f7da5902bcd73c79d6b94515d4f52075c20
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 14 19:10:19 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 14 20:04:52 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fff22f7d
7
8 media-libs/blib: Drop directfb support (#642498), disable static and drop .la files
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 media-libs/blib/blib-1.1.7-r2.ebuild | 45 ++++++++++++++++++++++++++++++++++++
13 1 file changed, 45 insertions(+)
14
15 diff --git a/media-libs/blib/blib-1.1.7-r2.ebuild b/media-libs/blib/blib-1.1.7-r2.ebuild
16 new file mode 100644
17 index 00000000000..43c49ee5e86
18 --- /dev/null
19 +++ b/media-libs/blib/blib-1.1.7-r2.ebuild
20 @@ -0,0 +1,45 @@
21 +# Copyright 1999-2018 Gentoo Foundation
22 +# Distributed under the terms of the GNU General Public License v2
23 +
24 +EAPI=6
25 +
26 +DESCRIPTION="blib is a library full of useful things to hack the Blinkenlights"
27 +HOMEPAGE="http://www.blinkenlights.de"
28 +SRC_URI="http://www.blinkenlights.de/dist/${P}.tar.gz"
29 +
30 +LICENSE="GPL-2"
31 +SLOT="0"
32 +KEYWORDS="~amd64 ~x86"
33 +IUSE="aalib gtk"
34 +
35 +RDEPEND="
36 + >=dev-libs/glib-2:2
37 + aalib? ( >=media-libs/aalib-1.4_rc4-r2 )
38 + gtk? ( >=x11-libs/gtk+-2.4.4:2 )
39 +"
40 +DEPEND="${RDEPEND}
41 + virtual/pkgconfig
42 +"
43 +
44 +src_prepare() {
45 + default
46 + # Drop DEPRECATED flags, bug #391105
47 + sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
48 + blib/Makefile.am blib/Makefile.in \
49 + gfx/Makefile.am gfx/Makefile.in \
50 + modules/Makefile.am modules/Makefile.in \
51 + test/modules/Makefile.am test/modules/Makefile.in || die
52 +}
53 +
54 +src_configure() {
55 + econf \
56 + --disable-directfb \
57 + --disable-static \
58 + $(use_enable aalib) \
59 + $(use_enable gtk gtk2)
60 +}
61 +
62 +src_install() {
63 + default
64 + find "${D}" -name '*.la' -delete || die
65 +}