[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/03: gnu: libdrm: Enable more drivers for arm and aarch64.
From: |
Efraim Flashner |
Subject: |
01/03: gnu: libdrm: Enable more drivers for arm and aarch64. |
Date: |
Tue, 5 Sep 2017 14:52:40 -0400 (EDT) |
efraim pushed a commit to branch staging
in repository guix.
commit 1f42989eb01b43f8f371f4a7c1667cf3c8a8c66b
Author: Efraim Flashner <address@hidden>
Date: Tue Sep 5 20:34:54 2017 +0300
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.
---
gnu/packages/xdisorg.scm | 18 ++++++++++++++++--
1 file changed, 16 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/xdisorg.scm b/gnu/packages/xdisorg.scm
index abfa1ae..ce3e7c8 100644
--- a/gnu/packages/xdisorg.scm
+++ b/gnu/packages/xdisorg.scm
@@ -11,7 +11,7 @@
;;; Copyright © 2015 Florian Paul Schmidt <address@hidden>
;;; Copyright © 2016 Christopher Allan Webber <address@hidden>
;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
-;;; Copyright © 2016 Efraim Flashner <address@hidden>
+;;; Copyright © 2016, 2017 Efraim Flashner <address@hidden>
;;; Copyright © 2016 Leo Famulari <address@hidden>
;;; Copyright © 2016 Alex Kost <address@hidden>
;;; Copyright © 2016, 2017 Marius Bakke <address@hidden>
@@ -68,7 +68,8 @@
#: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 @@ rasterisation.")
"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