guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/02: gnu: libxkbcommon: Add inputs libx11 and xkeyboard-config and use


From: Andreas Enge
Subject: 02/02: gnu: libxkbcommon: Add inputs libx11 and xkeyboard-config and use corresponding configure flags.
Date: Sat, 22 Nov 2014 12:07:13 +0000

andreas pushed a commit to branch master
in repository guix.

commit 5dee80dde28bbaf00a1bc6c22a2e38474db00634
Author: Andreas Enge <address@hidden>
Date:   Sat Nov 22 00:14:09 2014 +0100

    gnu: libxkbcommon: Add inputs libx11 and xkeyboard-config and use
      corresponding configure flags.
    
    * gnu/packages/qt.scm (libxkbcommon): Add inputs libx11 and 
xkeyboard-config.
        Use configure flags to set XKB config root and X11 locale root
        directories.
---
 gnu/packages/qt.scm |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/gnu/packages/qt.scm b/gnu/packages/qt.scm
index 8d688ff..30b772d 100644
--- a/gnu/packages/qt.scm
+++ b/gnu/packages/qt.scm
@@ -53,10 +53,20 @@
                "176ii5dn2wh74q48sd8ac37ljlvgvp5f506glr96z6ibfhj7igch"))))
     (build-system gnu-build-system)
     (inputs
-     `(("libxcb" ,libxcb)))
+     `(("libx11" ,libx11)
+       ("libxcb" ,libxcb)
+       ("xkeyboard-config" ,xkeyboard-config)))
     (native-inputs
      `(("bison" ,bison)
        ("pkg-config" ,pkg-config)))
+    (arguments
+     `(#:configure-flags
+       (list (string-append "--with-xkb-config-root="
+                            (assoc-ref %build-inputs "xkeyboard-config")
+                            "/share/X11/xkb")
+             (string-append "--with-x-locale-root="
+                            (assoc-ref %build-inputs "libx11")
+                            "/share/X11/locale"))))
     (home-page "http://xkbcommon.org/";)
     (synopsis "Library to handle keyboard descriptions")
     (description "Xkbcommon is a library to handle keyboard descriptions,



reply via email to

[Prev in Thread] Current Thread [Next in Thread]