mesa-dri: add mesa-dri-glsl-native for building newer mesa-dri than 7.7 from git...
authorMartin Jansa <Martin.Jansa@gmail.com>
Wed, 10 Feb 2010 18:11:58 +0000 (19:11 +0100)
committerMartin Jansa <Martin.Jansa@gmail.com>
Thu, 18 Feb 2010 23:51:35 +0000 (00:51 +0100)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
recipes/mesa/mesa-dri-glsl-native.bb [new file with mode: 0644]

diff --git a/recipes/mesa/mesa-dri-glsl-native.bb b/recipes/mesa/mesa-dri-glsl-native.bb
new file mode 100644 (file)
index 0000000..511cdcf
--- /dev/null
@@ -0,0 +1,22 @@
+inherit native
+
+PV = "7.7.999"
+PR = "0"
+PR_append = "+gitr${SRCREV}"
+
+DEPENDS = "makedepend-native"
+
+SRCREV = "f88b43e8d09bf359e7d5770b133cb433b25f9848"
+
+SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git"
+
+S = "${WORKDIR}/git/src/glsl/"
+
+do_configure_prepend() {
+  ln -s ${S}/../../configs/default ${S}/../../configs/current
+}
+
+do_stage() {
+  install -d ${bindir}
+  install -m 755 ${S}/apps/compile ${bindir}/glsl-compile
+}