mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
* Fix xf86-input-synaptics and xf86-input-keyboard.
* Enable parallel building for all X.org packages. svn path=/nixpkgs/branches/x-updates/; revision=25982
This commit is contained in:
parent
a5aa96c3a3
commit
6ba53ec09a
@ -38,12 +38,15 @@ postInstall() {
|
||||
}
|
||||
|
||||
|
||||
installFlags="appdefaultdir=$out/share/X11/app-defaults"
|
||||
installFlags="appdefaultdir=$out/share/X11/app-defaults $installFlags"
|
||||
|
||||
|
||||
if test -n "$x11BuildHook"; then
|
||||
source $x11BuildHook
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
enableParallelBuilding=1
|
||||
|
||||
|
||||
genericBuild
|
||||
|
@ -113,13 +113,13 @@ in
|
||||
};
|
||||
|
||||
xf86inputevdev = attrs: attrs // {
|
||||
configureFlags = "--with-sdkdir=\${out}/include/xorg";
|
||||
preBuild = "sed -e '/motion_history_proc/d; /history_size/d;' -i src/*.c";
|
||||
buildInputs = attrs.buildInputs ++ [xorg.kbproto xorg.libxkbfile xorg.randrproto];
|
||||
installFlags = "sdkdir=\${out}/include/xorg";
|
||||
};
|
||||
|
||||
xf86inputsynaptics = attrs: attrs // {
|
||||
makeFlags = "sdkdir=\${out}/include/xorg";
|
||||
installFlags = "sdkdir=\${out}/include/xorg configdir=\${out}/include/xorg";
|
||||
};
|
||||
|
||||
xf86videointel = attrs: attrs // {
|
||||
@ -166,7 +166,7 @@ in
|
||||
];
|
||||
propagatedBuildInputs =
|
||||
[ xorg.libpciaccess xorg.inputproto xorg.xextproto xorg.randrproto
|
||||
xorg.dri2proto
|
||||
xorg.dri2proto xorg.kbproto
|
||||
];
|
||||
postInstall =
|
||||
''
|
||||
|
Loading…
Reference in New Issue
Block a user