summaryrefslogtreecommitdiffstats
path: root/meta/packages/mesa/mesa-dri_git.bb
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2009-08-14 18:02:13 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2009-08-14 18:02:13 +0100
commita0a9a2c6dfea1d6cf0cfb7bed6bd866850198656 (patch)
treee103828eb6419b36534f8f666e307f463e9d1bdd /meta/packages/mesa/mesa-dri_git.bb
parentc57e2d63159bc2af7f6e72dd3a83fa02ad91fc04 (diff)
downloadpoky-a0a9a2c6dfea1d6cf0cfb7bed6bd866850198656.tar.gz
mesa: Update mesa-dri git recipe and add recipe for 7.5
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/mesa/mesa-dri_git.bb')
-rw-r--r--meta/packages/mesa/mesa-dri_git.bb23
1 files changed, 16 insertions, 7 deletions
diff --git a/meta/packages/mesa/mesa-dri_git.bb b/meta/packages/mesa/mesa-dri_git.bb
index 65a4a03656..a316d580e4 100644
--- a/meta/packages/mesa/mesa-dri_git.bb
+++ b/meta/packages/mesa/mesa-dri_git.bb
@@ -1,12 +1,18 @@
1include mesa-common.inc 1include mesa-common.inc
2 2
3SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git;branch=mesa_7_5_branch \
4 file://cross2.patch;patch=1 \
5 file://matypes.h"
6# file://mesa-DRI2Swapbuffer.patch;patch=1 "
7S = "${WORKDIR}/git"
8
3PROTO_DEPS = "xf86driproto glproto dri2proto" 9PROTO_DEPS = "xf86driproto glproto dri2proto"
4LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat" 10LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes expat"
5 11
6DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}" 12DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
7 13
8PV = "7.4+git${SRCPV}" 14PV = "7.5+git${SRCPV}"
9PR = "r4" 15PR = "r14"
10 16
11# most of our targets do not have DRI so will use mesa-xlib 17# most of our targets do not have DRI so will use mesa-xlib
12DEFAULT_PREFERENCE = "-1" 18DEFAULT_PREFERENCE = "-1"
@@ -14,21 +20,24 @@ DEFAULT_PREFERENCE = "-1"
14# Netbooks have DRI support so use mesa-dri by default 20# Netbooks have DRI support so use mesa-dri by default
15DEFAULT_PREFERENCE_netbook = "1" 21DEFAULT_PREFERENCE_netbook = "1"
16 22
17SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git;branch=master"
18S = "${WORKDIR}/git"
19
20PACKAGES =+ "${PN}-xprogs" 23PACKAGES =+ "${PN}-xprogs"
21PACKAGES_DYNAMIC = "mesa-dri-driver-*" 24PACKAGES_DYNAMIC = "mesa-dri-driver-*"
22 25
23FILES_${PN}-dbg += "${libdir}/dri/.debug/*" 26FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
24FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo" 27FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
25 28
26EXTRA_OECONF += "--with-driver=dri --with-state-trackers=glx" 29LEAD_SONAME = "libGL.so.1"
30
31EXTRA_OECONF += "--with-driver=dri --disable-egl --disable-gallium"
32
33do_configure_prepend () {
34 cp ${WORKDIR}/matypes.h ${S}/src/mesa/x86
35 touch ${S}/src/mesa/x86/matypes.h
36}
27 37
28do_install_append () { 38do_install_append () {
29 install -d ${D}/usr/bin 39 install -d ${D}/usr/bin
30 install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/ 40 install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
31 rm ${D}/usr/lib/libEGL* || /bin/true
32} 41}
33 42
34python populate_packages_prepend() { 43python populate_packages_prepend() {