renderdoc: 1.6 -> 1.7
Added libglvnd to fix replaying OpenGL captures with renderdoccmd
This commit is contained in:
parent
3e754e6bf6
commit
711a86973f
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mkDerivation
|
{ stdenv, fetchFromGitHub, cmake, pkgconfig, mkDerivation
|
||||||
, qtbase, qtx11extras, qtsvg, makeWrapper
|
, qtbase, qtx11extras, qtsvg, makeWrapper
|
||||||
, vulkan-loader, xorg, python3, python3Packages
|
, vulkan-loader, libglvnd, xorg, python3, python3Packages
|
||||||
, bison, pcre, automake, autoconf, addOpenGLRunpath
|
, bison, pcre, automake, autoconf, addOpenGLRunpath
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
@ -13,14 +13,14 @@ let
|
|||||||
pythonPackages = python3Packages;
|
pythonPackages = python3Packages;
|
||||||
in
|
in
|
||||||
mkDerivation rec {
|
mkDerivation rec {
|
||||||
version = "1.6";
|
version = "1.7";
|
||||||
pname = "renderdoc";
|
pname = "renderdoc";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "baldurk";
|
owner = "baldurk";
|
||||||
repo = "renderdoc";
|
repo = "renderdoc";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "0b2f9m5azzvcjbmxkwcl1d7jvvp720b81zwn19rrskznfcc2r1i8";
|
sha256 = "0r0y0lx48hkyf39pgippsc9q8hdcf57bdva6gx7f35vlhicx5hlz";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
@ -52,8 +52,8 @@ mkDerivation rec {
|
|||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
preFixup = ''
|
preFixup = ''
|
||||||
wrapQtApp $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : "$out/lib:${vulkan-loader}/lib"
|
wrapQtApp $out/bin/qrenderdoc --suffix LD_LIBRARY_PATH : "$out/lib:${vulkan-loader}/lib:${libglvnd}/lib"
|
||||||
wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : "$out/lib:${vulkan-loader}/lib"
|
wrapProgram $out/bin/renderdoccmd --suffix LD_LIBRARY_PATH : "$out/lib:${vulkan-loader}/lib:${libglvnd}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
# The only documentation for this so far is in pkgs/build-support/add-opengl-runpath/setup-hook.sh
|
# The only documentation for this so far is in pkgs/build-support/add-opengl-runpath/setup-hook.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user