Unverified Commit f7b6bf28 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

blender: patch build after cmake update

parent 747048d0
Loading
Loading
Loading
Loading
+5 −1
Original line number Diff line number Diff line
{ config, stdenv, lib, fetchurl, fetchzip, boost, cmake, ffmpeg, gettext, glew
{ config, stdenv, lib, fetchurl, fetchzip, fetchpatch, boost, cmake, ffmpeg, gettext, glew
, libepoxy, libXi, libX11, libXext, libXrender
, libjpeg, libpng, libsamplerate, libsndfile
, libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio, openjpeg, python310Packages
@@ -47,6 +47,10 @@ stdenv.mkDerivation (finalAttrs: rec {

  patches = [
    ./draco.patch
    (fetchpatch {
      url = "https://projects.blender.org/blender/blender/commit/cf4365e555a759d5b3225bce77858374cb07faad.diff";
      hash = "sha256-Nypd04yFSHYa7RBa8kNmoApqJrU4qpaOle3tkj44d4g=";
    })
  ] ++ lib.optional stdenv.isDarwin ./darwin.patch;

  nativeBuildInputs =