https://bugs.freedesktop.org/show_bug.cgi?id=109062
--- Comment #2 from Emil Velikov <emil.l.veli...@gmail.com> ---
How about something like the following pseudo code.
AFAICT it should produce the correct output.
req_libdrm=...
req_libdrm_foo=...
req_libdrm_bar=...
foreach driver : gallium-drivers // or drivers in general
// if meson cannot handle two deps/packages at the same time,
// invoke dependency() twice and then fold into one variable
dep_libdrm_$driver = dependency(libdrm >= req_libdrm_$driver,
libdrm_$driver >= req_libdrm_$driver)
// other generic parts/checks for libdrm
dep_libdrm = dependency(libdrm >= req_libdrm)
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev