| 1 |
spyderous |
1.1 |
# Copyright 1999-2005 Gentoo Foundation |
| 2 |
|
|
# Distributed under the terms of the GNU General Public License v2 |
| 3 |
spyderous |
1.2 |
# $Header: /var/cvsroot/gentoo-x86/x11-base/xorg-server/xorg-server-0.99.1.ebuild,v 1.1 2005/08/08 06:37:41 spyderous Exp $ |
| 4 |
spyderous |
1.1 |
|
| 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 |
spyderous |
1.2 |
x11-proto/videoproto |
| 50 |
|
|
x11-proto/scrnsaverproto |
| 51 |
|
|
x11-proto/evieext |
| 52 |
spyderous |
1.1 |
xinerama? ( x11-proto/panoramixproto ) |
| 53 |
|
|
glx? ( x11-proto/glproto ) |
| 54 |
|
|
dri? ( x11-proto/xf86driproto |
| 55 |
|
|
x11-libs/libdrm )" |
| 56 |
|
|
|
| 57 |
|
|
if use glx; then |
| 58 |
|
|
confopts="${confopts} --with-mesa-source=${WORKDIR}/${MESA_P}" |
| 59 |
|
|
fi |
| 60 |
|
|
|
| 61 |
|
|
# localstatedir is used for the log location; we need to override the default |
| 62 |
|
|
# from ebuild.sh |
| 63 |
|
|
# sysconfdir is used for the xorg.conf location; same applies |
| 64 |
|
|
CONFIGURE_OPTIONS=" |
| 65 |
|
|
$(use_enable xinerama) |
| 66 |
|
|
$(use_enable ipv6) |
| 67 |
|
|
$(use_enable !minimal dmx) |
| 68 |
|
|
$(use_enable !minimal xvfb) |
| 69 |
|
|
$(use_enable !minimal xnest) |
| 70 |
|
|
$(use_enable glx) |
| 71 |
|
|
$(use_enable dri) |
| 72 |
|
|
--enable-xorg |
| 73 |
|
|
--enable-composite |
| 74 |
|
|
--enable-xtrap |
| 75 |
|
|
--enable-xevie |
| 76 |
|
|
--sysconfdir=/etc/X11 |
| 77 |
|
|
--localstatedir=/var |
| 78 |
|
|
${confopts}" |