Bug 1834898 [Linux] Don't require libdrm >= 2.4 r=glandium

Differential Revision: https://phabricator.services.mozilla.com/D179071
This commit is contained in:
Martin Stransky 2023-05-26 06:37:37 +00:00
parent 26e159243e
commit 35cc78cecc
2 changed files with 2 additions and 3 deletions

View File

@ -43,7 +43,6 @@ packages="
libasound2-dev
libstdc++-${gcc_version}-dev
libdbus-glib-1-dev
libdrm-dev
libfontconfig1-dev
libfreetype6-dev
libgconf2-dev

View File

@ -489,7 +489,7 @@ def toolkit_gtk(toolkit):
# ==============================================================
wayland_headers = pkg_check_modules(
"MOZ_WAYLAND",
"gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1 libdrm >= 2.4",
"gtk+-wayland-3.0 >= 3.14 xkbcommon >= 0.4.1",
allow_missing=depends(full_toolkit)(lambda t: t == "cairo-gtk3"),
when=toolkit_gtk,
)
@ -2929,7 +2929,7 @@ set_define("MOZ_DATA_REPORTING", True, when=data_reporting)
with only_when(toolkit_gtk):
pkg_check_modules(
"MOZ_GTK3",
"gtk+-3.0 >= 3.14.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 gio-unix-2.0 libdrm >= 2.4",
"gtk+-3.0 >= 3.14.0 gtk+-unix-print-3.0 glib-2.0 gobject-2.0 gio-unix-2.0",
)
set_define("GDK_VERSION_MIN_REQUIRED", "GDK_VERSION_3_14")