lol
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

openbrf: fix build

patch BoundaryWeight into BoundaryQuadricWeight and QualityQuadricWeight
add eigen to include path as it is no longer in the vcg include directory

authored by

Rob and committed by
Yt
d183e697 58ee71d9

+13 -2
+13 -2
pkgs/applications/misc/openbrf/default.nix
··· 1 - { mkDerivation, lib, stdenv, fetchFromGitHub, qtbase, vcg, glew, qmake, libGLU, libGL }: 1 + { mkDerivation, lib, stdenv, fetchFromGitHub, fetchpatch, qtbase, vcg, glew, qmake, libGLU, eigen, libGL }: 2 2 3 3 4 4 mkDerivation { ··· 12 12 sha256 = "16254cnr60ihcn7bki7wl1qm6gkvzb99cn66md1pnb7za8nvzf4j"; 13 13 }; 14 14 15 - buildInputs = [ qtbase vcg glew ]; 15 + patches = [ 16 + # https://github.com/cfcohen/openbrf/pull/7 17 + (fetchpatch { 18 + name = "fix-build-against-newer-vcglib.patch"; 19 + url = "https://github.com/cfcohen/openbrf/commit/6d82a25314a393e72bfbe2ffc3965bcac407df4c.patch"; 20 + hash = "sha256-rNxAw6Le6QXMSirIAMhMmqVgNJLq6osnEOhWrY3mTpM="; 21 + }) 22 + ]; 23 + 24 + buildInputs = [ qtbase vcg glew eigen ]; 16 25 17 26 nativeBuildInputs = [ qmake ]; 18 27 19 28 qmakeFlags = [ "openBrf.pro" ]; 29 + 30 + env.NIX_CFLAGS_COMPILE = "-isystem ${lib.getDev eigen}/include/eigen3"; 20 31 21 32 postPatch = '' 22 33 sed -i 's,^VCGLIB .*,VCGLIB = ${vcg}/include,' openBrf.pro