summaryrefslogtreecommitdiff
path: root/meta/packages
diff options
context:
space:
mode:
authorRobert Bragg <bob@openedhand.com>2008-09-23 02:01:11 +0000
committerRobert Bragg <bob@openedhand.com>2008-09-23 02:01:11 +0000
commit604df9a96a5325170488710bf12fb458374829de (patch)
tree2fed5f3babeea3230c4f25a9bd92d0e281a2f9f9 /meta/packages
parent9954f13fa723f43cb9db6318ed40016f5f54d617 (diff)
downloadopenembedded-core-604df9a96a5325170488710bf12fb458374829de.tar.gz
openembedded-core-604df9a96a5325170488710bf12fb458374829de.tar.bz2
openembedded-core-604df9a96a5325170488710bf12fb458374829de.tar.xz
openembedded-core-604df9a96a5325170488710bf12fb458374829de.zip
Bumps the mesa-dri revision to 7.2 and adds a mesa-xdemos package including
e.g glxinfo git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5231 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r--meta/packages/mesa/mesa-common.inc3
-rw-r--r--meta/packages/mesa/mesa-dri_7.2.bb (renamed from meta/packages/mesa/mesa-dri_7.1.bb)9
-rw-r--r--meta/packages/mesa/mesa-dri_git.bb2
3 files changed, 11 insertions, 3 deletions
diff --git a/meta/packages/mesa/mesa-common.inc b/meta/packages/mesa/mesa-common.inc
index b28d5b43e..ebfb920b8 100644
--- a/meta/packages/mesa/mesa-common.inc
+++ b/meta/packages/mesa/mesa-common.inc
@@ -4,7 +4,8 @@ DESCRIPTION = "An open source implementation of the OpenGL spec"
HOMEPAGE = "http://mesa3d.org"
LICENSE = "MIT"
-SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2"
+SRC_URI = "${SOURCEFORGE_MIRROR}/mesa3d/MesaLib-${PV}.tar.bz2 \
+ ${SOURCEFORGE_MIRROR}/mesa3d/MesaDemos-${PV}.tar.bz2 "
S = "${WORKDIR}/Mesa-${PV}"
PROVIDES = "virtual/libgl"
diff --git a/meta/packages/mesa/mesa-dri_7.1.bb b/meta/packages/mesa/mesa-dri_7.2.bb
index 2514eb97f..d753f33a8 100644
--- a/meta/packages/mesa/mesa-dri_7.1.bb
+++ b/meta/packages/mesa/mesa-dri_7.2.bb
@@ -6,10 +6,17 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
PE = "1"
-PR = "r1"
+PR = "r2"
+
+PACKAGES += "${PN}-xprogs"
FILES_${PN} += "${libdir}/dri/*.so"
FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
+FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
EXTRA_OECONF += "--with-driver=dri --with-dri-drivers=${MACHINE_DRI_MODULES}"
+do_install_append () {
+ install -d ${D}/usr/bin
+ install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/usr/bin/
+}
diff --git a/meta/packages/mesa/mesa-dri_git.bb b/meta/packages/mesa/mesa-dri_git.bb
index 59b845e6b..d9e61d8a5 100644
--- a/meta/packages/mesa/mesa-dri_git.bb
+++ b/meta/packages/mesa/mesa-dri_git.bb
@@ -5,7 +5,7 @@ LIB_DEPS = "libdrm virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
-PV = "7.1+git${SRCREV}"
+PV = "7.2+git${SRCREV}"
PR = "r1"
DEFAULT_PREFERENCE = "-1"