apitrace: add qapitrace and backtracing support
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }:
|
{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, libdwarf, qtbase, qtwebkit }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "apitrace-${version}";
|
name = "apitrace-${version}";
|
||||||
@@ -11,13 +11,11 @@ stdenv.mkDerivation rec {
|
|||||||
owner = "apitrace";
|
owner = "apitrace";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ libX11 procps python qtbase ];
|
# LD_PRELOAD wrappers need to be statically linked to work against all kinds
|
||||||
nativeBuildInputs = [ cmake ];
|
# of games -- so it's fine to use e.g. bundled snappy.
|
||||||
|
buildInputs = [ libX11 procps python libdwarf qtbase qtwebkit ];
|
||||||
|
|
||||||
buildPhase = ''
|
nativeBuildInputs = [ cmake ];
|
||||||
cmake
|
|
||||||
make
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
homepage = https://apitrace.github.io;
|
homepage = https://apitrace.github.io;
|
||||||
|
|||||||
Reference in New Issue
Block a user