diff options
author | Zoltan Boszormenyi <zboszor@pr.hu> | 2020-05-07 15:33:01 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-05-09 18:57:21 +0100 |
commit | ded978ea623cec9304a773b05e7cb5350d3789ed (patch) | |
tree | 2b97d2637e4728ae0acc02971674b6f564a95ee3 /meta/recipes-graphics/mesa | |
parent | 18b6533e3e8fe8879a831e21254f9f91045652c2 (diff) | |
download | poky-ded978ea623cec9304a773b05e7cb5350d3789ed.tar.gz |
mesa: Add PACKAGECONFIG knob to enable VDPAU state tracker and drivers
(From OE-Core rev: 7ea4c7c32cbad1743852c27a2f0a87d6cf5a1820)
Signed-off-by: Böszörményi Zoltán <zboszor@pr.hu>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 7a889a5b11..fede691d6f 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -144,6 +144,8 @@ PACKAGECONFIG[gallium-llvm] = "-Dllvm=true -Dshared-llvm=true, -Dllvm=false, llv | |||
144 | PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" | 144 | PACKAGECONFIG[xa] = "-Dgallium-xa=true, -Dgallium-xa=false" |
145 | PACKAGECONFIG[va] = "-Dgallium-va=true,-Dgallium-va=false,libva-initial" | 145 | PACKAGECONFIG[va] = "-Dgallium-va=true,-Dgallium-va=false,libva-initial" |
146 | 146 | ||
147 | PACKAGECONFIG[vdpau] = "-Dgallium-vdpau=true,-Dgallium-vdpau=false,libvdpau" | ||
148 | |||
147 | PACKAGECONFIG[lima] = "" | 149 | PACKAGECONFIG[lima] = "" |
148 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" | 150 | GALLIUMDRIVERS_append ="${@bb.utils.contains('PACKAGECONFIG', 'lima', ',lima', '', d)}" |
149 | 151 | ||
@@ -180,6 +182,7 @@ PACKAGES =+ "libegl-mesa libegl-mesa-dev \ | |||
180 | libgles3-mesa libgles3-mesa-dev \ | 182 | libgles3-mesa libgles3-mesa-dev \ |
181 | libxatracker libxatracker-dev \ | 183 | libxatracker libxatracker-dev \ |
182 | mesa-megadriver mesa-vulkan-drivers \ | 184 | mesa-megadriver mesa-vulkan-drivers \ |
185 | mesa-vdpau-drivers \ | ||
183 | " | 186 | " |
184 | 187 | ||
185 | do_install_append () { | 188 | do_install_append () { |
@@ -257,6 +260,7 @@ PACKAGES_DYNAMIC += "^mesa-driver-.*" | |||
257 | 260 | ||
258 | FILES_mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d/00-mesa-defaults.conf" | 261 | FILES_mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d/00-mesa-defaults.conf" |
259 | FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan" | 262 | FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan" |
263 | FILES_${PN}-vdpau-drivers = "${libdir}/vdpau/*.so.*" | ||
260 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" | 264 | FILES_libegl-mesa = "${libdir}/libEGL.so.*" |
261 | FILES_libgbm = "${libdir}/libgbm.so.*" | 265 | FILES_libgbm = "${libdir}/libgbm.so.*" |
262 | FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" | 266 | FILES_libgles1-mesa = "${libdir}/libGLESv1*.so.*" |
@@ -266,7 +270,7 @@ FILES_libglapi = "${libdir}/libglapi.so.*" | |||
266 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" | 270 | FILES_libosmesa = "${libdir}/libOSMesa.so.*" |
267 | FILES_libxatracker = "${libdir}/libxatracker.so.*" | 271 | FILES_libxatracker = "${libdir}/libxatracker.so.*" |
268 | 272 | ||
269 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan" | 273 | FILES_${PN}-dev = "${libdir}/pkgconfig/dri.pc ${includedir}/vulkan ${libdir}/vdpau/*.so" |
270 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" | 274 | FILES_libegl-mesa-dev = "${libdir}/libEGL.* ${includedir}/EGL ${includedir}/KHR ${libdir}/pkgconfig/egl.pc" |
271 | FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" | 275 | FILES_libgbm-dev = "${libdir}/libgbm.* ${libdir}/pkgconfig/gbm.pc ${includedir}/gbm.h" |
272 | FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" | 276 | FILES_libgl-mesa-dev = "${libdir}/libGL.* ${includedir}/GL ${libdir}/pkgconfig/gl.pc" |