2010-07-28 15:35:01 +00:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, libXi, xkeyboard_config, libxml2
|
|
|
|
, libICE, glib, libxkbfile, isocodes }:
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2010-02-21 12:25:36 +00:00
|
|
|
name = "libxklavier-4.0";
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-06-04 11:38:56 +00:00
|
|
|
url = "mirror://sf/gswitchit/${name}.tar.bz2";
|
2010-02-21 12:25:36 +00:00
|
|
|
sha256 = "210ed5803109a8cef3b2ab1195bc73fe3385a97a8749d01673e020642d8e5a71";
|
2008-02-18 20:53:36 +00:00
|
|
|
};
|
|
|
|
|
2010-07-28 15:35:01 +00:00
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
|
|
|
propagatedBuildInputs = [ libX11 libXi xkeyboard_config libxml2 libICE glib libxkbfile isocodes ];
|
2009-04-21 23:18:09 +00:00
|
|
|
|
2010-07-28 15:35:01 +00:00
|
|
|
buildInputs = [ pkgconfig ];
|
2009-04-21 23:18:09 +00:00
|
|
|
|
|
|
|
configureFlags = ''
|
2008-02-18 20:53:36 +00:00
|
|
|
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
|
2009-04-21 23:18:09 +00:00
|
|
|
--disable-xmodmap-support
|
|
|
|
'';
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
|
|
|
|
};
|
|
|
|
}
|