1 # Copyright 1999-2020 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
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"
12 KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 s390 ~sh sparc x86"
13 IUSE="3dfx aalib cpu_flags_x86_mmx debug fbcon svga vis X"
15 RDEPEND=">=media-libs/libgii-1.0.2
16 aalib? ( >=media-libs/aalib-1.2-r1 )
17 svga? ( >=media-libs/svgalib-1.4.2 )
24 X? ( x11-base/xorg-proto )"
26 DOCS=( ChangeLog ChangeLog.1999 FAQ NEWS README )
31 use svga || myconf="${myconf} --disable-svga --disable-vgagl"
33 if use amd64 || use ppc64 || use ia64 ; then
34 myconf="${myconf} --enable-64bitc"
36 myconf="${myconf} --disable-64bitc"
39 econf $(use_enable 3dfx glide) \
40 $(use_enable aalib aa) \
42 $(use_enable cpu_flags_x86_mmx mmx) \
46 $(use_enable fbcon fbdev) \
58 find "${D}" -name '*.la' -delete || die