mirror of
https://github.com/X11Libre/xserver.git
synced 2026-03-24 01:34:11 +00:00
treewide: Update meson.builds for the changes in the modesetting driver
Signed-off-by: stefan11111 <stefan11111@shitposting.expert>
This commit is contained in:
committed by
Enrico Weigelt
parent
0ac903f4b9
commit
0a2568ab3a
@@ -34,7 +34,7 @@ symbol_test_args += join_paths(xorg_build_root, 'dixmods', 'libshadow.so')
|
||||
if build_glx
|
||||
symbol_test_args += join_paths(xorg_build_root, 'dixmods', 'libglx.so')
|
||||
endif
|
||||
if gbm_dep.found()
|
||||
if build_glamor
|
||||
symbol_test_args += join_paths(xorg_build_root, 'glamor_egl', 'libglamoregl.so')
|
||||
endif
|
||||
symbol_test_args += join_paths(xorg_build_root, 'drivers', 'video', 'modesetting', 'modesetting_drv.so')
|
||||
|
||||
@@ -118,7 +118,7 @@ xserver_exec = executable(
|
||||
subdir('dixmods')
|
||||
subdir('exa')
|
||||
subdir('fbdevhw')
|
||||
if gbm_dep.found()
|
||||
if build_glamor and gbm_dep.found()
|
||||
subdir('glamor_egl')
|
||||
endif
|
||||
if int10 != 'false'
|
||||
|
||||
@@ -365,10 +365,9 @@ else
|
||||
build_glamor = glamor_option == 'true'
|
||||
endif
|
||||
|
||||
gbm_dep = dependency('', required: false)
|
||||
gbm_dep = dependency('gbm', version: gbm_req, required: false)
|
||||
epoxy_dep = dependency('', required: false)
|
||||
if build_glamor
|
||||
gbm_dep = dependency('gbm', version: gbm_req, required: false)
|
||||
epoxy_dep = dependency('epoxy', required: false)
|
||||
endif
|
||||
|
||||
@@ -532,7 +531,7 @@ if not libdrm_dep.found() and libdrm_required
|
||||
error('DRI requested, but LIBDRM not found')
|
||||
endif
|
||||
|
||||
build_modesetting = libdrm_dep.found() and dri2proto_dep.found()
|
||||
build_modesetting = libdrm_dep.found() and dri2proto_dep.found() and gbm_dep.found()
|
||||
|
||||
build_vgahw = false
|
||||
if get_option('vgahw') == 'auto'
|
||||
|
||||
Reference in New Issue
Block a user