2010-07-28 16:35:01 +01:00
|
|
|
{ stdenv, fetchurl, pkgconfig, libX11, libXi, xkeyboard_config, libxml2
|
|
|
|
, libICE, glib, libxkbfile, isocodes }:
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2011-06-07 22:51:07 +01:00
|
|
|
name = "libxklavier-5.0";
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2013-01-14 11:00:32 +00:00
|
|
|
url = "mirror://sourceforge/gswitchit/${name}.tar.bz2";
|
2011-06-07 22:51:07 +01:00
|
|
|
sha256 = "1c2dxinjfpq1lzxi0z46r0j80crbmwb0lkvnh6987cjjlwblpnfz";
|
2008-02-18 20:53:36 +00:00
|
|
|
};
|
|
|
|
|
2010-07-28 16:35:01 +01:00
|
|
|
# TODO: enable xmodmap support, needs xmodmap DB
|
|
|
|
propagatedBuildInputs = [ libX11 libXi xkeyboard_config libxml2 libICE glib libxkbfile isocodes ];
|
2011-06-07 22:51:07 +01:00
|
|
|
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig ];
|
2011-06-07 22:51:07 +01:00
|
|
|
|
2009-04-22 00:18:09 +01:00
|
|
|
configureFlags = ''
|
2008-02-18 20:53:36 +00:00
|
|
|
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
|
2009-04-22 00:18:09 +01:00
|
|
|
--disable-xmodmap-support
|
|
|
|
'';
|
2008-02-18 20:53:36 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
|
|
|
|
};
|
|
|
|
}
|