summaryrefslogtreecommitdiff
path: root/recipes/mesa/mesa-xlib_7.2.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/mesa/mesa-xlib_7.2.bb')
-rw-r--r--recipes/mesa/mesa-xlib_7.2.bb20
1 files changed, 20 insertions, 0 deletions
diff --git a/recipes/mesa/mesa-xlib_7.2.bb b/recipes/mesa/mesa-xlib_7.2.bb
new file mode 100644
index 0000000000..0035540838
--- /dev/null
+++ b/recipes/mesa/mesa-xlib_7.2.bb
@@ -0,0 +1,20 @@
+include mesa-common.inc
+
+PROTO_DEPS = "xf86driproto glproto"
+LIB_DEPS = "virtual/libx11 libxext libxxf86vm libxdamage libxfixes"
+
+DEPENDS = "${PROTO_DEPS} ${LIB_DEPS}"
+
+PE = "1"
+PR = "r4"
+
+EXTRA_OECONF += "--with-driver=xlib"
+
+PACKAGES =+ "${PN}-xprogs"
+
+FILES_${PN}-xprogs = "${bindir}/glxdemo ${bindir}/glxgears ${bindir}/glxheads ${bindir}/glxinfo"
+
+do_install_append () {
+ install -d ${D}/${bindir}
+ install -m 0755 ${S}/progs/xdemos/{glxdemo,glxgears,glxheads,glxinfo} ${D}/${bindir}
+}