summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-libs/libX11/libX11-1.3.1.ebuild')
-rw-r--r--x11-libs/libX11/libX11-1.3.1.ebuild43
1 files changed, 43 insertions, 0 deletions
diff --git a/x11-libs/libX11/libX11-1.3.1.ebuild b/x11-libs/libX11/libX11-1.3.1.ebuild
new file mode 100644
index 000000000000..ada151735c13
--- /dev/null
+++ b/x11-libs/libX11/libX11-1.3.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/libX11/libX11-1.3.1.ebuild,v 1.1 2009/10/18 20:09:18 remi Exp $
+
+EAPI="1"
+
+inherit x-modular 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="ipv6 +xcb"
+
+RDEPEND=">=x11-libs/xtrans-1.2.3
+ x11-proto/kbproto
+ >=x11-proto/xproto-7.0.15
+ xcb? ( >=x11-libs/libxcb-1.2 )
+ !xcb? (
+ x11-libs/libXau
+ x11-libs/libXdmcp
+ )"
+DEPEND="${RDEPEND}
+ x11-proto/xf86bigfontproto
+ xcb? (
+ x11-proto/bigreqsproto
+ x11-proto/xcmiscproto
+ )
+ x11-proto/inputproto
+ x11-proto/xextproto"
+
+pkg_setup() {
+ CONFIGURE_OPTIONS="$(use_enable ipv6)
+ $(use_with xcb)"
+ # xorg really doesn't like xlocale disabled.
+ # $(use_enable nls xlocale)
+}
+
+src_compile() {
+ x-modular_src_configure
+ # [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)
+ x-modular_src_make
+}