summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2013-06-13 01:20:01 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-06-14 12:44:36 +0100
commitf98b968ffbe322a4946b14c088b91b69b4f58989 (patch)
tree20029052fb0f6e0ead1a33a609d8f49c911f06fe /meta/recipes-graphics
parentbcf38754bac6190c2620df1b230d836bb474b871 (diff)
downloadpoky-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/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc6
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)}"
46EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}" 46EGL_PLATFORMS .="${@base_contains('PACKAGECONFIG', 'wayland', ',wayland', '', d)}"
47PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl" 47PACKAGECONFIG[egl] = "--enable-egl --with-egl-platforms=${EGL_PLATFORMS}, --disable-egl"
48 48
49PACKAGECONFIG[openvg] = "--enable-openvg, --disable-openvg"
50
49GALLIUMDRIVERS = "swrast" 51GALLIUMDRIVERS = "swrast"
50PACKAGECONFIG[gallium] = "--enable-gallium --with-gallium-drivers=${GALLIUMDRIVERS}, --disable-gallium --without-gallium-drivers" 52PACKAGECONFIG[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
71do_install_append () { 74do_install_append () {
@@ -131,6 +134,7 @@ FILES_libosmesa = "${libdir}/libOSMesa.so.*"
131FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*" 134FILES_libwayland-egl = "${libdir}/libwayland-egl.so.*"
132FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*" 135FILES_libegl-gallium = "${libdir}/egl/egl_gallium.so*"
133FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*" 136FILES_libgbm-gallium = "${libdir}/gbm/gbm_gallium_drm.so*"
137FILES_libopenvg = "${libdir}/libOpenVG.so.*"
134 138
135FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc" 139FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc"
136FILES_libdricore-dev = "${libdir}/libdricore*.*" 140FILES_libdricore-dev = "${libdir}/libdricore*.*"
@@ -143,5 +147,7 @@ FILES_libgles2-mesa-dev = "${libdir}/libGLESv2.* ${includedir}/GLES2 ${libdir}/p
143FILES_libgles3-mesa-dev = "${includedir}/GLES3" 147FILES_libgles3-mesa-dev = "${includedir}/GLES3"
144FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pkgconfig/osmesa.pc" 148FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h ${libdir}/pkgconfig/osmesa.pc"
145FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*" 149FILES_libwayland-egl-dev = "${libdir}/pkgconfig/wayland-egl.pc ${libdir}/libwayland-egl.*"
150FILES_libopenvg-dev = "${libdir}/libOpenVG.so ${libdir}/libOpenVG.la* \
151 ${includedir}/VG ${libdir}/pkgconfig/vg.pc"
146 152
147FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug" 153FILES_${PN}-dbg += "${libdir}/dri/.debug/* ${libdir}/egl/.debug/* ${libdir}/gbm/.debug/* ${libdir}/gallium-pipe/.debug"