summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xorg-xserver-common.inc
diff options
context:
space:
mode:
authorPhil Blundell <philb@gnu.org>2007-01-26 21:45:20 +0000
committerPhil Blundell <philb@gnu.org>2007-01-26 21:45:20 +0000
commit7cc5981f6564d5a3299b02faa2443bd461ec6cea (patch)
tree1dabad396593abc0a6ce07fb8de2c4afff82c8cb /packages/xorg-xserver/xorg-xserver-common.inc
parent8da3490d6f06a1b6446fd47338f6e537bf45c86d (diff)
xserver-xorg: build with Mesa so GLX works
Diffstat (limited to 'packages/xorg-xserver/xorg-xserver-common.inc')
-rw-r--r--packages/xorg-xserver/xorg-xserver-common.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/xorg-xserver/xorg-xserver-common.inc b/packages/xorg-xserver/xorg-xserver-common.inc
index b1cbd5c472..3aa3aaf3c6 100644
--- a/packages/xorg-xserver/xorg-xserver-common.inc
+++ b/packages/xorg-xserver/xorg-xserver-common.inc
@@ -5,6 +5,8 @@ LICENSE = "MIT-X"
RPROVIDES_${PN} = "virtual/xserver"
PROVIDES = "virtual/xserver"
+MESA_VER ?= "6.5"
+
DEPENDS = "fontconfig freetype flex-native lbxutil kbproto \
xf86driproto drm glproto randrproto renderproto fixesproto damageproto \
xcmiscproto xextproto xproto xf86miscproto xf86vidmodeproto xf86bigfontproto \
@@ -18,13 +20,14 @@ RDEPENDS_${PN} = "rgb"
XORG_PN = "xorg-server"
SRC_URI = "${XORG_MIRROR}/${@bb.data.getVar('PV', d, 1)[0:7]}/src/xserver/${XORG_PN}-${PV}.tar.bz2 \
+ ${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${MESA_VER}.tar.bz2 \
file://xorg.conf"
S = "${WORKDIR}/${XORG_PN}-${PV}"
inherit autotools pkgconfig
-EXTRA_OECONF = "--disable-builddocs"
+EXTRA_OECONF = "--disable-builddocs --with-mesa-source=${WORKDIR}/Mesa-${MESA_VER}"
PACKAGES =+ "${PN}-xprint ${PN}-xvfb ${PN}-utils ${PN}-xnest ${PN}-dmx"