gnu: setxkbmap: Use xkeyboard-config as default config root.

* gnu/packages/xorg.scm (setxkbmap): Add 'xkeyboard-config' as an input.
  Pass --with-xkb-config-root to configure.
This commit is contained in:
Mark H Weaver 2014-08-08 02:28:44 -04:00
parent 1f347f5533
commit ac995eaf74
1 changed files with 6 additions and 0 deletions

View File

@ -1696,9 +1696,15 @@ tracking.")
(build-system gnu-build-system)
(inputs
`(("libxkbfile" ,libxkbfile)
("xkeyboard-config" ,xkeyboard-config)
("libx11" ,libx11)))
(native-inputs
`(("pkg-config" ,pkg-config)))
(arguments
`(#:configure-flags
(list (string-append "--with-xkb-config-root="
(assoc-ref %build-inputs "xkeyboard-config")
"/share/X11/xkb"))))
(home-page "http://www.x.org/wiki/")
(synopsis "xorg implementation of the X Window System")
(description "X.org provides an implementation of the X Window System")