mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 22:08:16 -05:00
gnu: libdrm: Enable more drivers for arm and aarch64.
* gnu/packages/xdisorg.scm (libdrm)[arguments]: Add configure flags to enable experimental architecture-specific video drivers.
This commit is contained in:
parent
a76585e553
commit
1f42989eb0
1 changed files with 16 additions and 2 deletions
|
@ -11,7 +11,7 @@
|
|||
;;; Copyright © 2015 Florian Paul Schmidt <mista.tapas@gmx.net>
|
||||
;;; Copyright © 2016 Christopher Allan Webber <cwebber@dustycloud.org>
|
||||
;;; Copyright © 2016 Ricardo Wurmus <rekado@elephly.net>
|
||||
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016, 2017 Efraim Flashner <efraim@flashner.co.il>
|
||||
;;; Copyright © 2016 Leo Famulari <leo@famulari.name>
|
||||
;;; Copyright © 2016 Alex Kost <alezost@gmail.com>
|
||||
;;; Copyright © 2016, 2017 Marius Bakke <mbakke@fastmail.com>
|
||||
|
@ -68,7 +68,8 @@ (define-module (gnu packages xdisorg)
|
|||
#:use-module (gnu packages xml)
|
||||
#:use-module (gnu packages gtk)
|
||||
#:use-module (gnu packages xorg)
|
||||
#:use-module (gnu packages bison))
|
||||
#:use-module (gnu packages bison)
|
||||
#:use-module (ice-9 match))
|
||||
|
||||
;; packages outside the x.org system proper
|
||||
|
||||
|
@ -300,6 +301,19 @@ (define-public libdrm
|
|||
"1minzvsyz5hgm6ixpj8ysa6jsv7vm8qc8nx390jxdsk0v9ljd983"))
|
||||
(patches (search-patches "libdrm-symbol-check.patch"))))
|
||||
(build-system gnu-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-freedreno-kgsl"))
|
||||
(_ '())))))
|
||||
(inputs
|
||||
`(("libpciaccess" ,libpciaccess)))
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue