blob: 91349f24fcb2a42a738438a3d8b608f0fb38ac14 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.4.0.ebuild,v 1.2 2010/12/19 13:05:15 ssuominen Exp $
EAPI=3
inherit xorg-2 toolchain-funcs flag-o-matic
DESCRIPTION="X.Org X11 library"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="doc ipv6 test"
RDEPEND=">=x11-libs/libxcb-1.1.92
x11-libs/xtrans
x11-proto/xf86bigfontproto
x11-proto/inputproto
x11-proto/kbproto
x11-proto/xextproto
>=x11-proto/xproto-7.0.13"
DEPEND="${RDEPEND}
doc? ( app-text/xmlto )
test? ( dev-lang/perl )"
pkg_setup() {
xorg-2_pkg_setup
CONFIGURE_OPTIONS="
$(use_with doc xmlto)
$(use_enable doc specs)
$(use_enable ipv6)
--without-fop
"
}
src_compile() {
# [Cross-Compile Love] Disable {C,LD}FLAGS and redefine CC= for 'makekeys'
( filter-flags -m* ; cd src/util && make CC=$(tc-getBUILD_CC) CFLAGS="${CFLAGS}" LDFLAGS="" clean all)
xorg-2_src_compile
}
|