package/x11r7/xdriver_xf86-video-nouveau: 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:04 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 1bf8497621
commit 34d157af56

View File

@ -1,7 +1,6 @@
config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
bool "xf86-video-nouveau"
depends on BR2_PACKAGE_MESA3D
select BR2_PACKAGE_MESA3D_DRI_DRIVER_NOUVEAU
depends on BR2_PACKAGE_HAS_LIBGL
select BR2_PACKAGE_LIBDRM
select BR2_PACKAGE_LIBDRM_NOUVEAU
select BR2_PACKAGE_XORGPROTO
@ -10,5 +9,5 @@ config BR2_PACKAGE_XDRIVER_XF86_VIDEO_NOUVEAU
http://nouveau.freedesktop.org
comment "xf86-video-nouveau needs mesa3d"
depends on !BR2_PACKAGE_MESA3D
comment "xf86-video-nouveau needs an OpenGL backend"
depends on !BR2_PACKAGE_HAS_LIBGL