2008-02-18 21:53:36 +01:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-04-22 01:18:09 +02:00
|
|
|
name = "libxklavier-3.4";
|
2008-02-18 21:53:36 +01: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-22 01:18:09 +02:00
|
|
|
|
2008-02-18 21:53:36 +01:00
|
|
|
buildInputs = [pkgconfig];
|
2009-04-22 01:18:09 +02:00
|
|
|
|
|
|
|
configureFlags = ''
|
2008-02-18 21:53:36 +01:00
|
|
|
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
|
2009-04-22 01:18:09 +02:00
|
|
|
--disable-xmodmap-support
|
|
|
|
'';
|
2008-02-18 21:53:36 +01:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
|
|
|
|
};
|
|
|
|
}
|