This commit is contained in:
2026-06-02 21:38:47 +02:00
parent d3c949b8a2
commit f51dab51db
70 changed files with 1632 additions and 21 deletions
+31
View File
@@ -0,0 +1,31 @@
version = "2.4.124"
revision = 1
description = "Direct Rendering Manager userspace library"
license = "MIT"
url = "https://dri.freedesktop.org/"
source = tarball(
url=f"https://dri.freedesktop.org/libdrm/libdrm-{version}.tar.xz",
sha256="ac36293f61ca4aafaf4b16a2a7afff312aa4f5c37c9fbd797de9e3c0863ca379",
)
host_deps = ["binutils", "gcc", "pkgconf"]
deps = [profile["libc"], "libpciaccess"]
configure, build, install = meson(
configure_args=[
# udev support is optional and would create a cycle with systemd-udev,
# which itself is pulled in later; Mesa does not require it.
"-Dudev=false",
"-Dtests=false",
"-Dman-pages=disabled",
"-Dvalgrind=disabled",
# GPU-specific helper libs that Mesa's x86_64 drivers consume.
"-Dintel=enabled",
"-Dradeon=enabled",
"-Damdgpu=enabled",
"-Dnouveau=enabled",
# Embedded/SoC GPUs we don't target.
"-Dvc4=disabled",
"-Detnaviv=disabled",
"-Dfreedreno=disabled",
],
)