2008-02-18 20:53:36 +00:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-04-21 23:18:09 +00:00
|
|
|
name = "libxklavier-3.4";
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://sf/gswitchit/${name}.tar.gz";
|
|
|
|
sha256 = "07pq74ygmnr3vgfp86dbjnqsp3v67fww6d3a1vqbif9wzbk70195";
|
|
|
|
};
|
|
|
|
|
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
|
|
|
propagatedBuildInputs = [libX11 xkeyboard_config libxml2 libICE glib libxkbfile];
|
2009-04-21 23:18:09 +00:00
|
|
|
|
2008-02-18 20:53:36 +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;
|
|
|
|
};
|
|
|
|
}
|