2010-07-28 08:35:01 -07:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, libXi, xkeyboard_config, libxml2
|
2014-04-07 09:35:02 -07:00
|
|
|
, libICE, glib, libxkbfile, isocodes, gobjectIntrospection }:
|
2008-02-18 12:53:36 -08:00
|
|
|
|
2014-03-13 15:12:30 -07:00
|
|
|
let
|
|
|
|
version = "5.3";
|
|
|
|
in
|
2008-02-18 12:53:36 -08:00
|
|
|
stdenv.mkDerivation rec {
|
2014-03-13 15:12:30 -07:00
|
|
|
name = "libxklavier-${version}";
|
2008-02-18 12:53:36 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2014-03-13 15:12:30 -07:00
|
|
|
url = "mirror://gnome/sources/libxklavier/${version}/${name}.tar.xz";
|
|
|
|
sha256 = "016lpdv35z0qsw1cprdc2k5qzkdi5waj6qmr0a2q6ljn9g2kpv7b";
|
2008-02-18 12:53:36 -08:00
|
|
|
};
|
|
|
|
|
2010-07-28 08:35:01 -07:00
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
|
|
|
propagatedBuildInputs = [ libX11 libXi xkeyboard_config libxml2 libICE glib libxkbfile isocodes ];
|
2011-06-07 14:51:07 -07:00
|
|
|
|
2012-12-28 10:20:09 -08:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2011-06-07 14:51:07 -07:00
|
|
|
|
2014-04-07 09:35:02 -07:00
|
|
|
buildInputs = [ gobjectIntrospection ];
|
|
|
|
|
2009-04-21 16:18:09 -07:00
|
|
|
configureFlags = ''
|
2008-02-18 12:53:36 -08:00
|
|
|
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
|
2009-04-21 16:18:09 -07:00
|
|
|
--disable-xmodmap-support
|
|
|
|
'';
|
2008-02-18 12:53:36 -08:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
|
|
|
|
};
|
|
|
|
}
|