2008-02-18 21:53:36 +01:00
|
|
|
args: with args;
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2009-06-04 13:38:56 +02:00
|
|
|
name = "libxklavier-3.9";
|
2008-02-18 21:53:36 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2009-06-04 13:38:56 +02:00
|
|
|
url = "mirror://sf/gswitchit/${name}.tar.bz2";
|
|
|
|
sha256 = "462a4e427f201a23de194f824dce70c84867464956f2f6c8dd4a5e07f1f4a554";
|
2008-02-18 21:53:36 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
2009-06-04 13:38:56 +02:00
|
|
|
propagatedBuildInputs = [libX11 libXi xkeyboard_config libxml2 libICE glib libxkbfile isocodes];
|
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;
|
|
|
|
};
|
|
|
|
}
|