blender: add libwebp to buildInputs (#208201)

Enables the WebP image format support in Blender. It has been [supported](https://developer.blender.org/rB4fd0a69d7ba) since Blender 3.2 but was disabled due to libwebp missing from the build inputs.

    $ nix build nixpkgs#blender
    $ nix log (realpath result)
    ...
    -- Could NOT find WebP (missing: _webp_LIBRARIES WEBP_INCLUDE_DIR)
    CMake Warning at build_files/cmake/platform/platform_unix.cmake:407 (message):
      WebP not found, disabling WITH_IMAGE_WEBP
    Call Stack (most recent call first):
      CMakeLists.txt:1058 (include)
This commit is contained in:
yvt 2022-12-31 09:38:54 +09:00 committed by GitHub
parent a103b56388
commit 1f8dd05e72
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
{ config, stdenv, lib, fetchurl, fetchzip, boost, cmake, ffmpeg, gettext, glew
, ilmbase, libXi, libX11, libXext, libXrender
, libjpeg, libpng, libsamplerate, libsndfile
, libtiff, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python310Packages
, libtiff, libwebp, libGLU, libGL, openal, opencolorio, openexr, openimagedenoise, openimageio2, openjpeg, python310Packages
, openvdb, libXxf86vm, tbb, alembic
, zlib, zstd, fftw, opensubdiv, freetype, jemalloc, ocl-icd, addOpenGLRunpath
, jackaudioSupport ? false, libjack2
@ -41,7 +41,7 @@ stdenv.mkDerivation rec {
++ optionals cudaSupport [ addOpenGLRunpath ];
buildInputs =
[ boost ffmpeg gettext glew ilmbase
freetype libjpeg libpng libsamplerate libsndfile libtiff
freetype libjpeg libpng libsamplerate libsndfile libtiff libwebp
opencolorio openexr openimagedenoise openimageio2 openjpeg python zlib zstd fftw jemalloc
alembic
(opensubdiv.override { inherit cudaSupport; })