package/x11r7/xdriver_xf86-video-intel: switch dependency from mesa3d to libgl

DRI support for this driver is provided by the xserver_xorg-server
package when BR2_PACKAGE_HAS_LIBGL is enabled:
https://git.busybox.net/buildroot/tree/package/x11r7/xserver_xorg-server/xserver_xorg-server.mk#n91

Change the dependency to follow the logic of xserver_xorg-server.

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Bernd Kuhls 2022-05-14 19:56:01 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 05b6f15ae8
commit 2967e28aa2

View File

@ -31,12 +31,17 @@ XDRIVER_XF86_VIDEO_INTEL_DEPENDENCIES = \
xorgproto \
xserver_xorg-server
# X.org server support for DRI depends on a Mesa3D DRI driver
ifeq ($(BR2_PACKAGE_MESA3D_DRI_DRIVER),y)
# DRI support is provided by xserver_xorg-server if libgl is enabled
ifeq ($(BR2_PACKAGE_HAS_LIBGL),y)
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \
--enable-dri2 \
--enable-dri3 \
--enable-uxa
else
XDRIVER_XF86_VIDEO_INTEL_CONF_OPTS += \
--disable-dri2 \
--disable-dri3 \
--disable-uxa
endif
$(eval $(autotools-package))