summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/mesa/mesa.inc
diff options
context:
space:
mode:
authorFabio Berton <fabio.berton@ossystems.com.br>2019-02-22 11:09:29 -0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-02-25 10:43:06 +0000
commitc21c581d615bc7f9f07497a3425cb1d4c56a1f9a (patch)
treea522e9a4f87d8382d40b596ea618c5907ab3336f /meta/recipes-graphics/mesa/mesa.inc
parent060f27602afb883f31ef46049571c7b6442287ab (diff)
downloadpoky-c21c581d615bc7f9f07497a3425cb1d4c56a1f9a.tar.gz
mesa: Update 18.1.9 -> 18.3.4
- Refresh all patches. - Remove "Use Python 3 to execute the scripts" patch Commit 986033a2750c1160a4cef3c8418fc7f9e2b4fb5a add support for both python 2 and 3. - Remove "dri: i965: Add missing time.h include" patch Commit 3c288da5eec81ee58b85927df18d9194ead8f5c2 add time.h header file. - Remove --enable-texture-float. Commit 66673bef941af344314fe9c91cad8cd330b245eb remove option to unconditionally enable floating-point textures. - Commit 30b10dbb7c6f6bdf3e489620f8333c727bd3a6dd moved ${sysconfdir}/drirc to ${datadir}/drirc.d/00-mesa-defaults.conf Add 00-mesa-defaults.conf to mesa-megadriver package - Stop removing ${sysconfdir}/drirc on do_install_append - Fix upgrade path from mesa to mesa-megadriver - Add patch to fix mesa-native build - Add xrandr to X11_DEPS (From OE-Core rev: 9ddd6add68f07fb7b3f264cee7c853ffe4a1b43e) Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/mesa/mesa.inc')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc13
1 files changed, 8 insertions, 5 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 66ed649efe..0ce7e4d626 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -55,7 +55,7 @@ PACKAGECONFIG_class-nativesdk ?= "gbm dri-native egl"
55# "gbm" requires "dri", "opengl" 55# "gbm" requires "dri", "opengl"
56PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm" 56PACKAGECONFIG[gbm] = "--enable-gbm,--disable-gbm"
57 57
58X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes" 58X11_DEPS = "xorgproto virtual/libx11 libxext libxxf86vm libxdamage libxfixes xrandr"
59# "x11" requires "opengl" 59# "x11" requires "opengl"
60PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}" 60PACKAGECONFIG[x11] = "--enable-glx-tls,--disable-glx,${X11_DEPS}"
61PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc" 61PACKAGECONFIG[xvmc] = "--enable-xvmc,--disable-xvmc,libxvmc"
@@ -104,7 +104,7 @@ GALLIUMDRIVERS_append = "${@bb.utils.contains('PACKAGECONFIG', 'r600', ',r600',
104GALLIUMDRIVERS_append = ",virgl" 104GALLIUMDRIVERS_append = ",virgl"
105 105
106# keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2 were adding --without-gallium-drivers 106# keep --with-gallium-drivers separate, because when only one of gallium versions is enabled, other 2 were adding --without-gallium-drivers
107PACKAGECONFIG[gallium] = "--enable-texture-float --with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers" 107PACKAGECONFIG[gallium] = "--with-gallium-drivers=${GALLIUMDRIVERS}, --without-gallium-drivers"
108MESA_LLVM_RELEASE ?= "8.0" 108MESA_LLVM_RELEASE ?= "8.0"
109PACKAGECONFIG[gallium-llvm] = "--enable-llvm --enable-llvm-shared-libs, --disable-llvm, llvm${MESA_LLVM_RELEASE} llvm-native \ 109PACKAGECONFIG[gallium-llvm] = "--enable-llvm --enable-llvm-shared-libs, --disable-llvm, llvm${MESA_LLVM_RELEASE} llvm-native \
110 ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}" 110 ${@'elfutils' if ${GALLIUMDRIVERS_LLVM33_ENABLED} else ''}"
@@ -152,7 +152,6 @@ do_install_append () {
152 rm -f ${D}${libdir}/gbm/*.la 152 rm -f ${D}${libdir}/gbm/*.la
153 153
154 # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used 154 # it was packaged in libdricore9.1.3-1 and preventing upgrades when debian.bbclass was used
155 rm -f ${D}${sysconfdir}/drirc
156 chrpath --delete ${D}${libdir}/dri/*_dri.so || true 155 chrpath --delete ${D}${libdir}/dri/*_dri.so || true
157 156
158 # libwayland-egl has been moved to wayland 1.15+ 157 # libwayland-egl has been moved to wayland 1.15+
@@ -219,8 +218,7 @@ PACKAGESPLITFUNCS_prepend = "mesa_populate_packages "
219 218
220PACKAGES_DYNAMIC += "^mesa-driver-.*" 219PACKAGES_DYNAMIC += "^mesa-driver-.*"
221 220
222FILES_${PN} += "${sysconfdir}/drirc" 221FILES_mesa-megadriver = "${libdir}/dri/* ${datadir}/drirc.d/00-mesa-defaults.conf"
223FILES_mesa-megadriver = "${libdir}/dri/*"
224FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan" 222FILES_mesa-vulkan-drivers = "${libdir}/libvulkan_*.so ${datadir}/vulkan"
225FILES_libegl-mesa = "${libdir}/libEGL.so.*" 223FILES_libegl-mesa = "${libdir}/libEGL.so.*"
226FILES_libgbm = "${libdir}/libgbm.so.*" 224FILES_libgbm = "${libdir}/libgbm.so.*"
@@ -243,3 +241,8 @@ FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/GL/osmesa.h ${libdir}
243FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \ 241FILES_libxatracker-dev = "${libdir}/libxatracker.so ${libdir}/libxatracker.la \
244 ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \ 242 ${includedir}/xa_tracker.h ${includedir}/xa_composite.h ${includedir}/xa_context.h \
245 ${libdir}/pkgconfig/xatracker.pc" 243 ${libdir}/pkgconfig/xatracker.pc"
244
245# Fix upgrade path from mesa to mesa-megadriver
246RREPLACES_mesa-megadriver = "mesa"
247RCONFLICTS_mesa-megadriver = "mesa"
248RPROVIDES_mesa-megadriver = "mesa"