32 lines
1.0 KiB
Python
32 lines
1.0 KiB
Python
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",
|
|
],
|
|
)
|