Line 0
Link Here
|
|
|
1 |
# Copyright 1999-2018 Gentoo Authors |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
|
4 |
EAPI=7 |
5 |
|
6 |
DESCRIPTION="Provides an opaque interface to the display's acceleration function" |
7 |
HOMEPAGE="https://ibiblio.org/ggicore/packages/libggi.html" |
8 |
SRC_URI="mirror://sourceforge/ggi/${P}.src.tar.bz2" |
9 |
|
10 |
LICENSE="MIT" |
11 |
SLOT="0" |
12 |
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" |
13 |
IUSE="X aalib svga fbcon 3dfx debug cpu_flags_x86_mmx vis" |
14 |
|
15 |
RDEPEND=">=media-libs/libgii-1.0.2 |
16 |
X? ( x11-libs/libXt |
17 |
x11-libs/libXxf86dga |
18 |
x11-libs/libXxf86vm |
19 |
x11-libs/libXt ) |
20 |
svga? ( >=media-libs/svgalib-1.4.2 ) |
21 |
aalib? ( >=media-libs/aalib-1.2-r1 )" |
22 |
DEPEND="${RDEPEND} |
23 |
X? ( x11-base/xorg-proto )" |
24 |
|
25 |
DOCS="ChangeLog* FAQ NEWS README" |
26 |
|
27 |
src_configure() { |
28 |
local myconf="" |
29 |
|
30 |
use svga || myconf="${myconf} --disable-svga --disable-vgagl" |
31 |
|
32 |
if use amd64 || use ppc64 || use ia64 ; then |
33 |
myconf="${myconf} --enable-64bitc" |
34 |
else |
35 |
myconf="${myconf} --disable-64bitc" |
36 |
fi |
37 |
|
38 |
econf $(use_enable 3dfx glide) \ |
39 |
$(use_enable aalib aa) \ |
40 |
$(use_enable debug) \ |
41 |
$(use_enable cpu_flags_x86_mmx mmx) \ |
42 |
$(use_enable vis) \ |
43 |
$(use_with X x) \ |
44 |
$(use_enable X x) \ |
45 |
$(use_enable fbcon fbdev) \ |
46 |
--disable-directfb \ |
47 |
--disable-static \ |
48 |
${myconf} |
49 |
} |
50 |
|
51 |
src_install(){ |
52 |
default |
53 |
|
54 |
docinto txt |
55 |
dodoc doc/*.txt |
56 |
|
57 |
find "${D}" -name '*.la' -delete || die |
58 |
} |