Skip to content
Snippets Groups Projects
Commit 5dee80dd authored by Andreas Enge's avatar Andreas Enge
Browse files

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.
parent 8b6a5e0f
No related branches found
No related tags found
No related merge requests found
...@@ -53,10 +53,20 @@ (define-public libxkbcommon ...@@ -53,10 +53,20 @@ (define-public libxkbcommon
"176ii5dn2wh74q48sd8ac37ljlvgvp5f506glr96z6ibfhj7igch")))) "176ii5dn2wh74q48sd8ac37ljlvgvp5f506glr96z6ibfhj7igch"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(inputs (inputs
`(("libxcb" ,libxcb))) `(("libx11" ,libx11)
("libxcb" ,libxcb)
("xkeyboard-config" ,xkeyboard-config)))
(native-inputs (native-inputs
`(("bison" ,bison) `(("bison" ,bison)
("pkg-config" ,pkg-config))) ("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/") (home-page "http://xkbcommon.org/")
(synopsis "Library to handle keyboard descriptions") (synopsis "Library to handle keyboard descriptions")
(description "Xkbcommon is a library to handle keyboard descriptions, (description "Xkbcommon is a library to handle keyboard descriptions,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment