Add libxkbcommon 0.2.0.

This is needed as a dependency for the Weston compositor.
This commit is contained in:
Carles Pagès 2012-12-02 12:21:02 +01:00
parent 5e5b676b4d
commit 22f4b5c637
2 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ stdenv, fetchurl, yacc, flex, xkeyboard_config }:
stdenv.mkDerivation rec {
name = "libxkbcommon-0.2.0";
src = fetchurl {
url = "http://xkbcommon.org/download/${name}.tar.bz2";
sha256 = "0hpvfa8p4bhvhc1gcb578m354p5idd192xb8zlaq16d33h90msvl";
};
buildInputs = [ yacc flex xkeyboard_config ];
configureFlags = ''
--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb
'';
meta = {
description = "A library to handle keyboard descriptions";
homepage = http://xkbcommon.org;
};
}

View File

@ -4475,6 +4475,8 @@ let
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
libxkbcommon = callPackage ../development/libraries/libxkbcommon { };
libxklavier = callPackage ../development/libraries/libxklavier { };
libxmi = callPackage ../development/libraries/libxmi { };