mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-18 07:46:09 +01:00
freenect: fix
As mentioned in the linked PKGBUILD, the proper variable is GLUT_LIBRARIES these days.
This commit is contained in:
parent
7ad3c5f956
commit
9789ed45b7
1 changed files with 5 additions and 0 deletions
|
@ -18,6 +18,11 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
|
|
||||||
|
# see https://aur.archlinux.org/cgit/aur.git/commit/PKGBUILD?h=libfreenect&id=0d17db49ba64bcb9e3a4eed61cf55c9a5ceb97f1
|
||||||
|
patchPhase = lib.concatMapStrings (x: ''
|
||||||
|
substituteInPlace ${x} --replace "{GLUT_LIBRARY}" "{GLUT_LIBRARIES}"
|
||||||
|
'') [ "examples/CMakeLists.txt" "wrappers/cpp/CMakeLists.txt" ];
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and macOS";
|
description = "Drivers and libraries for the Xbox Kinect device on Windows, Linux, and macOS";
|
||||||
homepage = "http://openkinect.org";
|
homepage = "http://openkinect.org";
|
||||||
|
|
Loading…
Reference in a new issue