| 1 |
spyderous |
1.1 |
# Copyright 1999-2005 Gentoo Foundation
|
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
|
|
# $Header: $
|
| 4 |
|
|
|
| 5 |
|
|
# Must be before x-modular eclass is inherited
|
| 6 |
|
|
# Hack to make sure autoreconf gets run
|
| 7 |
|
|
SNAPSHOT="yes"
|
| 8 |
|
|
|
| 9 |
|
|
inherit x-modular
|
| 10 |
|
|
|
| 11 |
|
|
MESA_PN="Mesa"
|
| 12 |
|
|
MESA_PV="6.3.1.1"
|
| 13 |
|
|
MESA_P="${MESA_PN}-${MESA_PV}"
|
| 14 |
|
|
|
| 15 |
|
|
PATCHES="${FILESDIR}/xorg-composite.patch"
|
| 16 |
|
|
|
| 17 |
|
|
SRC_URI="${SRC_URI}
|
| 18 |
|
|
glx? ( http://xorg.freedesktop.org/extras/${MESA_P}.tar.gz )"
|
| 19 |
|
|
DESCRIPTION="X.Org X servers"
|
| 20 |
|
|
KEYWORDS="~x86"
|
| 21 |
|
|
IUSE="glx dri xinerama ipv6 minimal"
|
| 22 |
|
|
RDEPEND="x11-libs/libXfont
|
| 23 |
|
|
x11-libs/xtrans
|
| 24 |
|
|
x11-libs/libXau
|
| 25 |
|
|
x11-libs/libXext
|
| 26 |
|
|
x11-libs/libX11
|
| 27 |
|
|
x11-libs/libxkbfile
|
| 28 |
|
|
x11-libs/libXdmcp
|
| 29 |
|
|
x11-libs/libXmu
|
| 30 |
|
|
x11-libs/libXrender
|
| 31 |
|
|
x11-libs/libXi
|
| 32 |
|
|
media-libs/freetype"
|
| 33 |
|
|
DEPEND="${RDEPEND}
|
| 34 |
|
|
x11-proto/randrproto
|
| 35 |
|
|
x11-proto/renderproto
|
| 36 |
|
|
x11-proto/fixesproto
|
| 37 |
|
|
x11-proto/damageproto
|
| 38 |
|
|
x11-proto/xextproto
|
| 39 |
|
|
x11-proto/xproto
|
| 40 |
|
|
x11-proto/xf86dgaproto
|
| 41 |
|
|
x11-proto/xf86miscproto
|
| 42 |
|
|
x11-proto/xf86rushproto
|
| 43 |
|
|
x11-proto/xf86vidmodeproto
|
| 44 |
|
|
x11-proto/xf86bigfontproto
|
| 45 |
|
|
x11-proto/compositeproto
|
| 46 |
|
|
x11-proto/recordproto
|
| 47 |
|
|
x11-proto/resourceproto
|
| 48 |
|
|
x11-proto/dmxproto
|
| 49 |
|
|
xinerama? ( x11-proto/panoramixproto )
|
| 50 |
|
|
glx? ( x11-proto/glproto )
|
| 51 |
|
|
dri? ( x11-proto/xf86driproto
|
| 52 |
|
|
x11-libs/libdrm )"
|
| 53 |
|
|
|
| 54 |
|
|
if use glx; then
|
| 55 |
|
|
confopts="${confopts} --with-mesa-source=${WORKDIR}/${MESA_P}"
|
| 56 |
|
|
fi
|
| 57 |
|
|
|
| 58 |
|
|
# localstatedir is used for the log location; we need to override the default
|
| 59 |
|
|
# from ebuild.sh
|
| 60 |
|
|
# sysconfdir is used for the xorg.conf location; same applies
|
| 61 |
|
|
CONFIGURE_OPTIONS="
|
| 62 |
|
|
$(use_enable xinerama)
|
| 63 |
|
|
$(use_enable ipv6)
|
| 64 |
|
|
$(use_enable !minimal dmx)
|
| 65 |
|
|
$(use_enable !minimal xvfb)
|
| 66 |
|
|
$(use_enable !minimal xnest)
|
| 67 |
|
|
$(use_enable glx)
|
| 68 |
|
|
$(use_enable dri)
|
| 69 |
|
|
--enable-xorg
|
| 70 |
|
|
--enable-composite
|
| 71 |
|
|
--enable-xtrap
|
| 72 |
|
|
--enable-xevie
|
| 73 |
|
|
--sysconfdir=/etc/X11
|
| 74 |
|
|
--localstatedir=/var
|
| 75 |
|
|
${confopts}"
|