2017-05-17 20:26:11 +01:00
|
|
|
{ mkDerivation, lib, fetchFromGitHub
|
2017-03-17 20:03:33 +00:00
|
|
|
, cmake, git, pkgconfig, wget, zip
|
2017-05-17 20:26:11 +01:00
|
|
|
, qtbase, qtx11extras
|
2017-03-17 20:03:33 +00:00
|
|
|
, libdwarf, libjpeg_turbo, libunwind, lzma, tinyxml, libX11
|
|
|
|
, SDL2, SDL2_gfx, SDL2_image, SDL2_ttf
|
2018-02-24 12:59:47 +00:00
|
|
|
, freeglut, libGLU
|
2018-01-11 10:38:23 +00:00
|
|
|
, fetchpatch
|
2017-03-17 20:03:33 +00:00
|
|
|
}:
|
2017-05-17 20:26:11 +01:00
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "vogl";
|
2017-03-17 20:03:33 +00:00
|
|
|
version = "2016-05-13";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "deepfire";
|
|
|
|
repo = "vogl";
|
|
|
|
rev = "cbc5f1853e294b363f16c4e00b3e0c49dbf74559";
|
|
|
|
sha256 = "17gwd73x3lnqv6ccqs48pzqwbzjhbn41c0x0l5zzirhiirb3yh0n";
|
|
|
|
};
|
|
|
|
|
2018-01-11 10:38:23 +00:00
|
|
|
patches = [
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fix-qt59.patch";
|
|
|
|
url = "https://github.com/ValveSoftware/vogl/commit/be3d85f.patch";
|
|
|
|
sha256 = "1yh4jd35mds337waqxdw3w22w7ghn05b5jm7fb4iihl39mhq6qyv";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
2017-03-17 20:03:33 +00:00
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
git wget zip
|
|
|
|
qtbase qtx11extras
|
|
|
|
libdwarf libjpeg_turbo libunwind lzma tinyxml libX11
|
|
|
|
SDL2 SDL2_gfx SDL2_image SDL2_ttf
|
2018-02-24 12:59:47 +00:00
|
|
|
freeglut libGLU
|
2017-03-17 20:03:33 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
dontUseCmakeBuildDir = true;
|
|
|
|
preConfigure = ''
|
|
|
|
cmakeDir=$PWD
|
|
|
|
mkdir -p vogl/vogl_build/release64 && cd $_
|
|
|
|
'';
|
2017-05-17 20:26:11 +01:00
|
|
|
cmakeFlags = [
|
|
|
|
"-DCMAKE_VERBOSE=On"
|
|
|
|
"-DBUILD_X64=On"
|
|
|
|
];
|
2017-03-17 20:03:33 +00:00
|
|
|
|
2017-05-17 20:26:11 +01:00
|
|
|
meta = with lib; {
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "OpenGL capture / playback debugger";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://github.com/ValveSoftware/vogl";
|
2017-03-17 20:03:33 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.deepfire ];
|
|
|
|
platforms = [ "x86_64-linux" "i686-linux" ];
|
2019-10-07 16:20:23 +01:00
|
|
|
broken = true;
|
2017-03-17 20:03:33 +00:00
|
|
|
};
|
|
|
|
}
|