1 |
commit: a3409020dbd93c14126afdcb62248113bed588a7 |
2 |
Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Oct 5 19:06:59 2018 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Oct 7 14:00:24 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3409020 |
7 |
|
8 |
media-libs/libggi: EAPI7 revbump, improve ebuild |
9 |
|
10 |
* Removes the directfb flag (which is long gone) and disables it by default |
11 |
* Removes all *.la files (fixes 543040) |
12 |
* Disables static build |
13 |
|
14 |
Closes: https://bugs.gentoo.org/543040 |
15 |
Closes: https://bugs.gentoo.org/542612 |
16 |
Closes: https://bugs.gentoo.org/542622 |
17 |
|
18 |
Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com> |
19 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
20 |
|
21 |
media-libs/libggi/libggi-2.2.2-r1.ebuild | 59 ++++++++++++++++++++++++++++++++ |
22 |
1 file changed, 59 insertions(+) |
23 |
|
24 |
diff --git a/media-libs/libggi/libggi-2.2.2-r1.ebuild b/media-libs/libggi/libggi-2.2.2-r1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..eed2d23eee7 |
27 |
--- /dev/null |
28 |
+++ b/media-libs/libggi/libggi-2.2.2-r1.ebuild |
29 |
@@ -0,0 +1,59 @@ |
30 |
+# Copyright 1999-2018 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+DESCRIPTION="Provides an opaque interface to the display's acceleration function" |
36 |
+HOMEPAGE="https://ibiblio.org/ggicore/packages/libggi.html" |
37 |
+SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2" |
38 |
+ |
39 |
+LICENSE="MIT" |
40 |
+SLOT="0" |
41 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
42 |
+IUSE="3dfx aalib cpu_flags_x86_mmx debug fbcon svga vis X" |
43 |
+ |
44 |
+RDEPEND=">=media-libs/libgii-1.0.2 |
45 |
+ aalib? ( >=media-libs/aalib-1.2-r1 ) |
46 |
+ svga? ( >=media-libs/svgalib-1.4.2 ) |
47 |
+ X? ( |
48 |
+ x11-libs/libXt |
49 |
+ x11-libs/libXxf86dga |
50 |
+ x11-libs/libXxf86vm |
51 |
+ )" |
52 |
+DEPEND="${RDEPEND} |
53 |
+ X? ( x11-base/xorg-proto )" |
54 |
+ |
55 |
+DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README ) |
56 |
+ |
57 |
+src_configure() { |
58 |
+ local myconf="" |
59 |
+ |
60 |
+ use svga || myconf="${myconf} --disable-svga --disable-vgagl" |
61 |
+ |
62 |
+ if use amd64 || use ppc64 || use ia64 ; then |
63 |
+ myconf="${myconf} --enable-64bitc" |
64 |
+ else |
65 |
+ myconf="${myconf} --disable-64bitc" |
66 |
+ fi |
67 |
+ |
68 |
+ econf $(use_enable 3dfx glide) \ |
69 |
+ $(use_enable aalib aa) \ |
70 |
+ $(use_enable debug) \ |
71 |
+ $(use_enable cpu_flags_x86_mmx mmx) \ |
72 |
+ $(use_enable vis) \ |
73 |
+ $(use_with X x) \ |
74 |
+ $(use_enable X x) \ |
75 |
+ $(use_enable fbcon fbdev) \ |
76 |
+ --disable-directfb \ |
77 |
+ --disable-static \ |
78 |
+ ${myconf} |
79 |
+} |
80 |
+ |
81 |
+src_install(){ |
82 |
+ default |
83 |
+ |
84 |
+ docinto txt |
85 |
+ dodoc doc/*.txt |
86 |
+ |
87 |
+ find "${D}" -name '*.la' -delete || die |
88 |
+} |