Unverified Commit ead2eecb authored by Philip Taron's avatar Philip Taron
Browse files

libplacebo: remove with statements

parent 06198190
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -53,14 +53,14 @@ stdenv.mkDerivation rec {
    fast-float
  ];

  mesonFlags = with lib; [
    (mesonBool "demos" false) # Don't build and install the demo programs
    (mesonEnable "d3d11" false) # Disable the Direct3D 11 based renderer
    (mesonEnable "glslang" false) # rely on shaderc for GLSL compilation instead
    (mesonEnable "vk-proc-addr" vulkanSupport)
    (mesonOption "vulkan-registry" "${vulkan-headers}/share/vulkan/registry/vk.xml")
  ] ++ optionals stdenv.isDarwin [
    (mesonEnable "unwind" false) # libplacebo doesn’t build with `darwin.libunwind`
  mesonFlags = [
    (lib.mesonBool "demos" false) # Don't build and install the demo programs
    (lib.mesonEnable "d3d11" false) # Disable the Direct3D 11 based renderer
    (lib.mesonEnable "glslang" false) # rely on shaderc for GLSL compilation instead
    (lib.mesonEnable "vk-proc-addr" vulkanSupport)
    (lib.mesonOption "vulkan-registry" "${vulkan-headers}/share/vulkan/registry/vk.xml")
  ] ++ lib.optionals stdenv.isDarwin [
    (lib.mesonEnable "unwind" false) # libplacebo doesn’t build with `darwin.libunwind`
  ];

  postPatch = ''