summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa-common.inc
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2012-12-06 12:23:33 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-12-11 15:54:38 +0000
commit66d92cb3eea6e1e57df408a19f9034eba5bec5fd (patch)
tree96dfe6f2e81a30ace36caf753f2a6fd3f31f73ed /meta/recipes-graphics/mesa/mesa-common.inc
parenta63dc47e56d298f2f0d58fda675b77dc0df2b301 (diff)
downloadpoky-66d92cb3eea6e1e57df408a19f9034eba5bec5fd.tar.gz
mesa-dri: upgrade -git version to current master
license.html was reformated so the checksum changed. The GLSL compiler can be built using CC_FOR_BUILD, so we don't need mesa-dri-glsl-native. Update common packaging to include libdricore and the skeleton libgles3, and remove the driver .la files. mesa-git/uclibc.patch isn't applied, remove. x32 support is integrated into mklib, drop 0003-fix-for-x32.patch. uclibc is checked for upstream, drop 0001-Compile-with-uclibc.patch. (From OE-Core rev: 8060a24c679ba17aea48bdeb4b8cfd460885f65f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa-common.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa-common.inc13
1 files changed, 11 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
index e661eee72b..c11d402dce 100644
--- a/meta/recipes-graphics/mesa/mesa-common.inc
+++ b/meta/recipes-graphics/mesa/mesa-common.inc
@@ -12,7 +12,7 @@ SECTION = "x11"
12LICENSE = "MIT" 12LICENSE = "MIT"
13LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67" 13LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67"
14 14
15INC_PR = "r6" 15INC_PR = "r7"
16PE = "2" 16PE = "2"
17 17
18DEPENDS = "libxml2-native makedepend-native flex-native bison-native" 18DEPENDS = "libxml2-native makedepend-native flex-native bison-native"
@@ -40,15 +40,20 @@ EXCLUDE_FROM_WORLD = "1"
40PACKAGES =+ "libegl-mesa libegl-mesa-dev \ 40PACKAGES =+ "libegl-mesa libegl-mesa-dev \
41 libosmesa libosmesa-dev \ 41 libosmesa libosmesa-dev \
42 libgl-mesa libgl-mesa-dev \ 42 libgl-mesa libgl-mesa-dev \
43 libdricore libdricore-dev \
43 libglapi libglapi-dev \ 44 libglapi libglapi-dev \
44 libgbm libgbm-dev \ 45 libgbm libgbm-dev \
45 libgles1-mesa libgles1-mesa-dev \ 46 libgles1-mesa libgles1-mesa-dev \
46 libgles2-mesa libgles2-mesa-dev \ 47 libgles2-mesa libgles2-mesa-dev \
48 libgles3-mesa libgles3-mesa-dev \
47 " 49 "
48 50
49do_install_append () { 51do_install_append () {
50 # GLU is now in libglu (this shouldn't be required in Mesa 9.x) 52 # GLU is now in libglu (this shouldn't be required in Mesa 9.x)
51 rm -f ${D}${includedir}/GL/glu* 53 rm -f ${D}${includedir}/GL/glu*
54
55 # Drivers never need libtool .la files
56 rm -f ${D}${libdir}/dri/*.la
52} 57}
53 58
54# For the packages that make up the OpenGL interfaces, inject variables so that 59# For the packages that make up the OpenGL interfaces, inject variables so that
@@ -56,7 +61,8 @@ do_install_append () {
56# RPROVIDEs/RCONFLICTs on the generic libgl name. 61# RPROVIDEs/RCONFLICTs on the generic libgl name.
57python __anonymous() { 62python __anonymous() {
58 for p in (("libegl", "libegl1"), ("libgl", "libgl1"), 63 for p in (("libegl", "libegl1"), ("libgl", "libgl1"),
59 ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2")): 64 ("libgles1", "libglesv1-cm1"), ("libgles2", "libglesv2-2"),
65 ("libgles3",)):
60 fullp = p[0] + "-mesa" 66 fullp = p[0] + "-mesa"
61 pkgs = " ".join(p) 67 pkgs = " ".join(p)
62 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1") 68 d.setVar("DEBIAN_NOAUTONAME_" + fullp, "1")
@@ -74,6 +80,7 @@ python __anonymous() {
74} 80}
75 81
76FILES_${PN} = "${sysconfdir}/drirc" 82FILES_${PN} = "${sysconfdir}/drirc"
83FILES_libdricore = "${libdir}/libdricore*.so.*"
77FILES_libegl-mesa = "${libdir}/libEGL.so.*" 84FILES_libegl-mesa = "${libdir}/libEGL.so.*"
78FILES_libgbm = "${libdir}/libgbm.so.*" 85FILES_libgbm = "${libdir}/libgbm.so.*"
79FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" 86FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*"
@@ -83,12 +90,14 @@ FILES_libglapi = "${libdir}/libglapi.so.*"
83FILES_libosmesa = "${libdir}/libOSMesa.so.*" 90FILES_libosmesa = "${libdir}/libOSMesa.so.*"
84 91
85FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" 92FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
93FILES_libdricore-dev = "${libdir}/libdricore*.*"
86FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" 94FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc"
87FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" 95FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h"
88FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" 96FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc"
89FILES_libglapi-dev = "${libdir}/libglapi.*" 97FILES_libglapi-dev = "${libdir}/libglapi.*"
90FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc" 98FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc"
91FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" 99FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc"
100FILES_libgles3-mesa-dev = "${includedir}/GLES3"
92FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" 101FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
93 102
94FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/*" 103FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/*"