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