diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb new file mode 100644 index 0000000000..4611f8032b --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb | |||
@@ -0,0 +1,23 @@ | |||
1 | require mesa-dri-glsl-native.inc | ||
2 | |||
3 | LIC_FILES_CHKSUM = "file://../../docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67" | ||
4 | |||
5 | SRCREV = "c1f4867c89adb1a6b19d66ec8ad146115909f0a7" | ||
6 | PV = "8.0.4+git${SRCPV}" | ||
7 | DEFAULT_PREFERENCE = "-1" | ||
8 | |||
9 | SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git" | ||
10 | S = "${WORKDIR}/git/src/glsl" | ||
11 | |||
12 | inherit native | ||
13 | |||
14 | # use default config for native build | ||
15 | do_configure_prepend() { | ||
16 | ln -sf ${S}/../../configs/default ${S}/../../configs/current | ||
17 | } | ||
18 | |||
19 | do_install() { | ||
20 | install -d ${D}/${bindir}/glsl | ||
21 | install -m 755 ${S}/builtin_compiler ${D}/${bindir}/glsl/builtin_compiler | ||
22 | install -m 755 ${S}/glsl_compiler ${D}/${bindir}/glsl/glsl_compiler | ||
23 | } | ||