libxklavier added
svn path=/nixpkgs/branches/stdenv-updates/; revision=10749
This commit is contained in:
parent
f1459725b6
commit
805424e33f
|
@ -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;
|
||||
};
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue