forked from mirrors/nixpkgs
libxkbcommon: split version (for bitwig)
This commit is contained in:
parent
f591dd2fdf
commit
b499f924da
32
pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix
Normal file
32
pkgs/development/libraries/libxkbcommon/libxkbcommon_7.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ stdenv, fetchurl, pkgconfig, yacc, flex, xkeyboard_config, libxcb, libX11 }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "libxkbcommon-0.7.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = "http://xkbcommon.org/download/${name}.tar.xz";
|
||||
sha256 = "1n5rv5n210kjnkyrvbh04gfwaa7zrmzy1393p8nyqfw66lkxr918";
|
||||
};
|
||||
|
||||
outputs = [ "out" "dev" ];
|
||||
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ yacc flex xkeyboard_config libxcb ];
|
||||
|
||||
configureFlags = [
|
||||
"--with-xkb-config-root=${xkeyboard_config}/etc/X11/xkb"
|
||||
"--with-x-locale-root=${libX11.out}/share/X11/locale"
|
||||
];
|
||||
|
||||
preBuild = stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
sed -i 's/,--version-script=.*$//' Makefile
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A library to handle keyboard descriptions";
|
||||
homepage = http://xkbcommon.org;
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ garbas ttuegel ];
|
||||
platforms = with platforms; unix;
|
||||
};
|
||||
}
|
|
@ -11294,7 +11294,9 @@ with pkgs;
|
|||
|
||||
libxdg_basedir = callPackage ../development/libraries/libxdg-basedir { };
|
||||
|
||||
libxkbcommon = callPackage ../development/libraries/libxkbcommon { };
|
||||
libxkbcommon = libxkbcommon_8;
|
||||
libxkbcommon_8 = callPackage ../development/libraries/libxkbcommon { };
|
||||
libxkbcommon_7 = callPackage ../development/libraries/libxkbcommon/libxkbcommon_7.nix { };
|
||||
|
||||
libxklavier = callPackage ../development/libraries/libxklavier { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue