From 1af8a3498cdc9c2441b20475e39123855b543cf8 Mon Sep 17 00:00:00 2001 From: Nikolay Amiantov Date: Sun, 28 Feb 2016 15:46:39 +0300 Subject: apitrace: add qapitrace and backtracing support --- pkgs/applications/graphics/apitrace/default.nix | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'pkgs/applications/graphics/apitrace/default.nix') diff --git a/pkgs/applications/graphics/apitrace/default.nix b/pkgs/applications/graphics/apitrace/default.nix index f54628e0b8ded..e130b23a8aaae 100644 --- a/pkgs/applications/graphics/apitrace/default.nix +++ b/pkgs/applications/graphics/apitrace/default.nix @@ -1,4 +1,4 @@ -{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, qtbase }: +{ stdenv, fetchFromGitHub, cmake, libX11, procps, python, libdwarf, qtbase, qtwebkit }: stdenv.mkDerivation rec { name = "apitrace-${version}"; @@ -11,13 +11,11 @@ stdenv.mkDerivation rec { owner = "apitrace"; }; - buildInputs = [ libX11 procps python qtbase ]; - nativeBuildInputs = [ cmake ]; + # LD_PRELOAD wrappers need to be statically linked to work against all kinds + # of games -- so it's fine to use e.g. bundled snappy. + buildInputs = [ libX11 procps python libdwarf qtbase qtwebkit ]; - buildPhase = '' - cmake - make - ''; + nativeBuildInputs = [ cmake ]; meta = with stdenv.lib; { homepage = https://apitrace.github.io; -- cgit 1.4.1