gnu: libdrm: Switch to meson-build-system.

* gnu/packages/xdisorg.scm (libdrm)[build-system]: Switch to
meson-build-system.
[arguments]: Adjust arguments to Meson.
This commit is contained in:
Rutger Helling 2019-03-12 12:16:38 +01:00
parent 5dd7bd1218
commit 34b81a9cdd
No known key found for this signature in database
GPG key ID: F3A727DB44FCCA36

View file

@ -391,20 +391,20 @@ (define-public libdrm
(base32
"08yimlp6jir1rs5ajgdx74xa5qdzcqahpdzdk0rmkmhh7vdcrl3p"))
(patches (search-patches "libdrm-symbol-check.patch"))))
(build-system gnu-build-system)
(build-system meson-build-system)
(arguments
`(#:configure-flags
'(,@(match (%current-system)
("armhf-linux"
'("--enable-exynos-experimental-api"
"--enable-omap-experimental-api"
"--enable-etnaviv-experimental-api"
"--enable-tegra-experimental-api"
"--enable-freedreno-kgsl"))
("aarch64-linux"
'("--enable-tegra-experimental-api"
"--enable-etnaviv-experimental-api"
"--enable-freedreno-kgsl"))
'("-Dexynos-experimental-api=true"
"-Domap-experimental-api=true"
"-Detnaviv-experimental-api=true"
"-Dtegra-experimental-api=true"
"-Dfreedreno-kgsl=true"))
("aarch64-linux=true"
'("-Dtegra-experimental-api=true"
"-Detnaviv-experimental-api=true"
"-Dfreedreno-kgsl=true"))
(_ '())))))
(inputs
`(("libpciaccess" ,libpciaccess)))