summaryrefslogtreecommitdiffstats
path: root/meta-emenlow/recipes-graphics/xserver-xorg-video-psb/xserver-xorg-video-psb_0.32.1.bb
blob: 1ff92bbc617cf6fe4199faddcde83b0f6c5ee72b (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
DESCRIPTION = "2D graphics driver for Poulsbo"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://MIT_License.txt;md5=732825ecdcf420261531d935fcd914a7"
PR = "r2"

inherit autotools

SRC_URI = "https://launchpad.net/~gma500/+archive/ppa/+files/xserver-xorg-video-psb_0.36.0-0ubuntu3~1004um9.tar.gz \
	file://xorg-x11-drv-psb-0.31.0-ignoreacpi.patch;patch=1 \
	file://xorg-x11-drv-psb-0.31.0-xserver17.patch;patch=1 \
	file://xserver-xorg-video-psb-0.31.0-assert.patch;patch=1 \
	file://xserver-xorg-video-psb-0.31.0-comment_unused.patch;patch=1 \
	file://xserver-xorg-video-psb-0.31.0-greedy.patch;patch=1 \
	file://xserver-xorg-video-psb-0.31.0-loader.patch;patch=1 \
	file://stubs.patch;patch=1 \
	file://01_disable_lid_timer.patch;patch=1 \
	file://psb_xvtempfix.patch;patch=1 \
	file://psb_mixed.patch;patch=1 \
	file://dri-h.patch \
	file://libdrm-poulsbo.patch"

export DRI_CFLAGS="-I${STAGING_INCDIR}/psb -I${STAGING_INCDIR}/psb/drm \
	-I${STAGING_INCDIR}/X11/dri"

export CFLAGS = "-fvisibility=default"
export XORG_CFLAGS="-fvisibility=default -I${STAGING_INCDIR}/xorg \
       -I${STAGING_INCDIR}/pixman-1"

FILES_${PN} += "${libdir}/xorg/modules/drivers/libmm.so \
	     ${libdir}/xorg/modules/drivers/psb_drv.so"

DEPENDS += "virtual/libgl virtual/xserver"

COMPATIBLE_MACHINE = "emenlow"