diff options
author | Ross Burton <ross.burton@intel.com> | 2012-12-06 12:23:33 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-12-11 15:54:38 +0000 |
commit | 66d92cb3eea6e1e57df408a19f9034eba5bec5fd (patch) | |
tree | 96dfe6f2e81a30ace36caf753f2a6fd3f31f73ed /meta/recipes-graphics/mesa/mesa-common.inc | |
parent | a63dc47e56d298f2f0d58fda675b77dc0df2b301 (diff) | |
download | poky-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.inc | 13 |
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" | |||
12 | LICENSE = "MIT" | 12 | LICENSE = "MIT" |
13 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67" | 13 | LIC_FILES_CHKSUM = "file://docs/license.html;md5=03ccdc4c379c4289aecfb8892c546f67" |
14 | 14 | ||
15 | INC_PR = "r6" | 15 | INC_PR = "r7" |
16 | PE = "2" | 16 | PE = "2" |
17 | 17 | ||
18 | DEPENDS = "libxml2-native makedepend-native flex-native bison-native" | 18 | DEPENDS = "libxml2-native makedepend-native flex-native bison-native" |
@@ -40,15 +40,20 @@ EXCLUDE_FROM_WORLD = "1" | |||
40 | PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | 40 | PACKAGES =+ "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 | ||
49 | do_install_append () { | 51 | do_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. |
57 | python __anonymous() { | 62 | python __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 | ||
76 | FILES_${PN} = "${sysconfdir}/drirc" | 82 | FILES_${PN} = "${sysconfdir}/drirc" |
83 | FILES_libdricore = "${libdir}/libdricore*.so.*" | ||
77 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" | 84 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" |
78 | FILES_libgbm = "${libdir}/libgbm.so.*" | 85 | FILES_libgbm = "${libdir}/libgbm.so.*" |
79 | FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" | 86 | FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" |
@@ -83,12 +90,14 @@ FILES_libglapi = "${libdir}/libglapi.so.*" | |||
83 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" | 90 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" |
84 | 91 | ||
85 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" | 92 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" |
93 | FILES_libdricore-dev = "${libdir}/libdricore*.*" | ||
86 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | 94 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" |
87 | FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | 95 | FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" |
88 | FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" | 96 | FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" |
89 | FILES_libglapi-dev = "${libdir}/libglapi.*" | 97 | FILES_libglapi-dev = "${libdir}/libglapi.*" |
90 | FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc" | 98 | FILES_libgles1-mesa-dev = "${libdir}/libGLESv1*.* ${includedir}/GLES ${libdir}/pkgconfig/glesv1*.pc" |
91 | FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" | 99 | FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/pkgconfig/glesv2.pc" |
100 | FILES_libgles3-mesa-dev = "${includedir}/GLES3" | ||
92 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" | 101 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h" |
93 | 102 | ||
94 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/*" | 103 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/*" |