diff options
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/*" |