summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native.inc7
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native_8.0.4.bb9
-rw-r--r--meta/recipes-graphics/mesa/mesa-dri-glsl-native_git.bb23
3 files changed, 32 insertions, 7 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native.inc b/meta/recipes-graphics/mesa/mesa-dri-glsl-native.inc
new file mode 100644
index 0000000000..c8b80e88fd
--- /dev/null
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native.inc
@@ -0,0 +1,7 @@
1DESCRIPTION = "gl shader language specific build from mesa-dri"
2HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11"
5LICENSE = "GPLv3+"
6
7DEPENDS = "makedepend-native"
diff --git a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_8.0.4.bb b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_8.0.4.bb
index a81fb6d035..d551598b1a 100644
--- a/meta/recipes-graphics/mesa/mesa-dri-glsl-native_8.0.4.bb
+++ b/meta/recipes-graphics/mesa/mesa-dri-glsl-native_8.0.4.bb
@@ -1,11 +1,6 @@
1DESCRIPTION = "gl shader language specific build from mesa-dri" 1require mesa-dri-glsl-native.inc
2HOMEPAGE = "http://mesa3d.org"
3BUGTRACKER = "https://bugs.freedesktop.org"
4SECTION = "x11"
5LICENSE = "GPLv3+"
6LIC_FILES_CHKSUM = "file://glsl_parser.cpp;beginline=3;endline=33;md5=d078f1cddc2fc355719c090482254bd9"
7 2
8DEPENDS = "makedepend-native" 3LIC_FILES_CHKSUM = "file://glsl_parser.cpp;beginline=3;endline=33;md5=d078f1cddc2fc355719c090482254bd9"
9 4
10SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2" 5SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/${PV}/MesaLib-${PV}.tar.bz2"
11SRC_URI[md5sum] = "d546f988adfdf986cff45b1efa2d8a46" 6SRC_URI[md5sum] = "d546f988adfdf986cff45b1efa2d8a46"
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 @@
1require mesa-dri-glsl-native.inc
2
3LIC_FILES_CHKSUM = "file://../../docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
4
5SRCREV = "c1f4867c89adb1a6b19d66ec8ad146115909f0a7"
6PV = "8.0.4+git${SRCPV}"
7DEFAULT_PREFERENCE = "-1"
8
9SRC_URI = "git://anongit.freedesktop.org/git/mesa/mesa;protocol=git"
10S = "${WORKDIR}/git/src/glsl"
11
12inherit native
13
14# use default config for native build
15do_configure_prepend() {
16 ln -sf ${S}/../../configs/default ${S}/../../configs/current
17}
18
19do_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}