summaryrefslogtreecommitdiffstats
path: root/recipes/xorg-xserver/xserver-xorg_git.bb
blob: 9046e8f13ef6778ec156d49f3bf1a0e642dac3ca (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
39
40
41
42
require xorg-xserver-common.inc

DESCRIPTION = "the X.Org X server"
DEPENDS += "pixman libpciaccess openssl dri2proto glproto xorg-minimal-fonts font-util-native"
PV = "1.7.999"
PR = "r3"
PR_append = "+gitr${SRCREV}"
PE = "2"

DEFAULT_PREFERENCE = "-1"

SRCREV = "db4f676f25c6d8e58263d5151942be730592d444"
SRC_URI = "git://anongit.freedesktop.org/xorg/xserver;protocol=git;branch=master \
# pending changes http://lists.x.org/archives/xorg-devel/2010-January/005127.html
           file://0001-Add-a-PreConfigureWindow-hook.patch;patch=1 \
           file://0002-dri2-No-need-to-blit-from-front-on-DRI2GetBuffers-if.patch;patch=1 \
           file://0003-glx-Enforce-a-1-1-correspondence-between-GLX-and-X11.patch;patch=1 \
           file://0004-glx-dri2-Notify-the-driver-when-its-buffers-become-i.patch;patch=1 \
           file://0005-dri2-Support-the-DRI2InvalidateBuffers-event.patch;patch=1 \
# flushInvalidate version removed in latest mesa	   
	   file://0006-glxdri2-remove-flushInvalidate.patch;patch=1 \
           file://dolt-fix-1.7.0.patch;patch=1 \
           file://randr-support-1.7.0.patch;patch=1 \
	   file://hack-fbdev-ignore-return-mode.patch;patch=1 \
           "

S = "${WORKDIR}/git"

do_install_prepend() {
        mkdir -p ${D}/${libdir}/X11/fonts
}

# The NVidia driver requires Xinerama support in the X server. Ion uses it.
XINERAMA = "${@['--disable-xinerama','--enable-xinerama'][bb.data.getVar('MACHINE',d) in ['ion']]}"

# hal, udev or disable both
DISTRO_XORG_CONFIG_MANAGER ?= "--enable-config-hal --disable-config-udev"
DISTRO_XORG_CONFIG_MANAGER_shr ?= "--disable-config-udev --disable-config-hal"

EXTRA_OECONF += " ${DISTRO_XORG_CONFIG_MANAGER} ${XINERAMA} --disable-kdrive --disable-xephyr --disable-xsdl --disable-xfake --disable-xfbdev --disable-dmx"

export LDFLAGS += " -ldl "