NAME = "libdrm";
VER = "2.4.134";
REPO = "extra";
DESC = "Userspace interface to kernel DRM services";
MAINT = "liamwaldron7009@protonmail.com";
COPYRIGHT = "MIT";
# With the GPU libraries Mesa's drivers link (radeonsi, nouveau; intel
# for a later iris).
SOURCES = (
	{ URL = "https://dri.freedesktop.org/libdrm/libdrm-2.4.134.tar.xz";
	  SHA256 = "sha256:ac5e74d157830eb8bee44c6a6bf3ad49774ef0dd2a72bdad74a8f20308b52a95"; }
);
BUILD = "meson";
CONFIGURE = [ "-Dintel=enabled", "-Dradeon=enabled", "-Damdgpu=enabled",
	"-Dnouveau=enabled", "-Dvmwgfx=disabled", "-Domap=disabled", "-Dexynos=disabled",
	"-Dfreedreno=disabled", "-Dtegra=disabled", "-Dvc4=disabled", "-Detnaviv=disabled",
	"-Dcairo-tests=disabled", "-Dman-pages=disabled", "-Dvalgrind=disabled",
	"-Dtests=false", "-Dudev=false" ];
DEPS = ( { NAME = "libpciaccess"; VER = "0.19.0"; } );
BUILD_DEPS = ( { NAME = "meson"; VER = "1.12.1"; }, { NAME = "pkgconf"; VER = "3.0.10"; } );
