summaryrefslogtreecommitdiff
path: root/recipes/mesa
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2010-02-10 19:11:58 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2010-02-19 00:51:35 +0100
commit44998328268b1631894bf10b970108f8ba4cd685 (patch)
tree52a311bc6ef78c291b3f9d4e5df67de7e7bbcf9a /recipes/mesa
parent38f8179119db28a9404dd4a74ca08ec625a24d04 (diff)
mesa-dri: add mesa-dri-glsl-native for building newer mesa-dri than 7.7 from git master
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes/mesa')
-rw-r--r--recipes/mesa/mesa-dri-glsl-native.bb22
1 files changed, 22 insertions, 0 deletions
diff --git a/recipes/mesa/mesa-dri-glsl-native.bb b/recipes/mesa/mesa-dri-glsl-native.bb
new file mode 100644
index 0000000000..511cdcf2f8
--- /dev/null
+++ b/recipes/mesa/mesa-dri-glsl-native.bb
@@ -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
+}