libxklavier added

svn path=/nixpkgs/branches/stdenv-updates/; revision=10749
This commit is contained in:
Yury G. Kudryashov 2008-02-18 20:53:36 +00:00
parent f1459725b6
commit 805424e33f
2 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,21 @@
args: with args;
stdenv.mkDerivation rec {
name = "libxklavier-" + version;
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];
buildInputs = [pkgconfig];
configureFlags = "--enable-shared --disable-static
--with-xkb-base=${xkeyboard_config}/etc/X11/xkb
--disable-xmodmap-support";
meta = {
homepage = http://freedesktop.org/wiki/Software/LibXklavier;
};
}

View File

@ -2398,6 +2398,12 @@ rec {
inherit fetchurl stdenv;
};
libxklavier = selectVersion ../development/libraries/libxklavier "3.4" {
inherit fetchurl stdenv xkeyboard_config pkgconfig libxml2;
inherit (xorg) libX11 libICE libxkbfile;
inherit (gtkLibs) glib;
};
libxml2 = import ../development/libraries/libxml2 {
inherit fetchurl stdenv zlib python;
pythonSupport = false;