gnu: libdrm: Update to 2.4.107.
* gnu/packages/xdisorg.scm (libdrm): Update to 2.4.107, and change libpciaccess to a propagated input as the pkg-config for libdrm_intel now includes it in the libs. [arguments]: Add conditional testing support to the replacement for the standard check phase. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
parent
f8458a2282
commit
554e09254c
1 changed files with 6 additions and 5 deletions
|
|
@ -638,7 +638,7 @@ rasterisation.")
|
||||||
(define-public libdrm
|
(define-public libdrm
|
||||||
(package
|
(package
|
||||||
(name "libdrm")
|
(name "libdrm")
|
||||||
(version "2.4.104")
|
(version "2.4.107")
|
||||||
(source (origin
|
(source (origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri (string-append
|
(uri (string-append
|
||||||
|
|
@ -646,7 +646,7 @@ rasterisation.")
|
||||||
version ".tar.xz"))
|
version ".tar.xz"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"1jqvx9c23hgwhq109zqj6vg3ng40pcvh3r1k2fn1a424qasxhsnn"))))
|
"127qf1rzhaf13vdd75a58v5q34617hvangjlfnlkcdh37gqcwm65"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
`(#:configure-flags
|
||||||
|
|
@ -661,9 +661,10 @@ rasterisation.")
|
||||||
|
|
||||||
#:phases (modify-phases %standard-phases
|
#:phases (modify-phases %standard-phases
|
||||||
(replace 'check
|
(replace 'check
|
||||||
(lambda _
|
(lambda* (#:key tests? #:allow-other-keys)
|
||||||
(invoke "meson" "test" "--timeout-multiplier" "5"))))))
|
(when tests?
|
||||||
(inputs
|
(invoke "meson" "test" "--timeout-multiplier" "5")))))))
|
||||||
|
(propagated-inputs
|
||||||
`(("libpciaccess" ,libpciaccess)))
|
`(("libpciaccess" ,libpciaccess)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)))
|
`(("pkg-config" ,pkg-config)))
|
||||||
|
|
|
||||||
Reference in a new issue