diff options
author | Martin Jansa <martin.jansa@gmail.com> | 2013-06-13 01:20:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-06-14 12:44:36 +0100 |
commit | f98b968ffbe322a4946b14c088b91b69b4f58989 (patch) | |
tree | 20029052fb0f6e0ead1a33a609d8f49c911f06fe /meta | |
parent | bcf38754bac6190c2620df1b230d836bb474b871 (diff) | |
download | poky-f98b968ffbe322a4946b14c088b91b69b4f58989.tar.gz |
mesa: introduce openvg PACKAGECONFIG
(From OE-Core rev: 33d7c8a2e5087f84fb365e57e2555edb96f5fba5)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 6207bb6ff1..2caa23866b 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -46,6 +46,8 @@ EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'x11', ',x11', '', d)}" | |||
46 | EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" | 46 | EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" |
47 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" | 47 | PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" |
48 | 48 | ||
49 | PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg" | ||
50 | |||
49 | GALLIUMDRIVERS = "swrast" | 51 | GALLIUMDRIVERS = "swrast" |
50 | PACKAGECONFIG[gallium] = "--enable-gallium --with-gallium-drivers=${GALLIUMDRIVERS}, --disable-gallium --without-gallium-drivers" | 52 | PACKAGECONFIG[gallium] = "--enable-gallium --with-gallium-drivers=${GALLIUMDRIVERS}, --disable-gallium --without-gallium-drivers" |
51 | 53 | ||
@@ -66,6 +68,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | |||
66 | libgles3-mesa libgles3-mesa-dev \ | 68 | libgles3-mesa libgles3-mesa-dev \ |
67 | libwayland-egl libwayland-egl-dev \ | 69 | libwayland-egl libwayland-egl-dev \ |
68 | libegl-gallium libgbm-gallium \ | 70 | libegl-gallium libgbm-gallium \ |
71 | libopenvg libopenvg-dev \ | ||
69 | " | 72 | " |
70 | 73 | ||
71 | do_install_append () { | 74 | do_install_append () { |
@@ -131,6 +134,7 @@ FILES_libosmesa = "${libdir}/libOSMesa.so.*" | |||
131 | FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*" | 134 | FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*" |
132 | FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*" | 135 | FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*" |
133 | FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" | 136 | FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" |
137 | FILES_libopenvg = "${libdir}/libOpenVG.so.*" | ||
134 | 138 | ||
135 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" | 139 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" |
136 | FILES_libdricore-dev = "${libdir}/libdricore*.*" | 140 | FILES_libdricore-dev = "${libdir}/libdricore*.*" |
@@ -143,5 +147,7 @@ FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/p | |||
143 | FILES_libgles3-mesa-dev = "${includedir}/GLES3" | 147 | FILES_libgles3-mesa-dev = "${includedir}/GLES3" |
144 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pkgconfig/osmesa.pc" | 148 | FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pkgconfig/osmesa.pc" |
145 | FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*" | 149 | FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*" |
150 | FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \ | ||
151 | ${includedir}/VG ${libdir}/pkgconfig/vg.pc" | ||
146 | 152 | ||
147 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" | 153 | FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" |