mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 13:10:33 +00:00
apulse: 0.1.11 -> 0.1.11 git, enable tracing by default
This adds LOG_TO_STDERR support and uses it for tracing.
This commit is contained in:
parent
a1832cf633
commit
82c6426916
|
@ -1,14 +1,17 @@
|
|||
{ stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib }:
|
||||
{ stdenv, fetchFromGitHub, alsaLib, cmake, pkgconfig, glib
|
||||
, tracingSupport ? true, logToStderr ? true }:
|
||||
|
||||
let oz = x: if x then "1" else "0"; in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apulse-${version}";
|
||||
version = "0.1.11";
|
||||
version = "0.1.11.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "i-rinat";
|
||||
repo = "apulse";
|
||||
rev = "v${version}";
|
||||
sha256 = "16l278q0czca2794fj388ql6qn1zrw24a0p6k7bayrrf5h32fdzd";
|
||||
rev = "602b3a02b4b459d4652a3a0a836fab6f892d4080";
|
||||
sha256 = "0yk9vgb4aws8xnkhdhgpxp5c0rri8yq61yxk85j99j8ax806i3r8";
|
||||
};
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
@ -17,6 +20,11 @@ stdenv.mkDerivation rec {
|
|||
|
||||
buildInputs = [ alsaLib glib ];
|
||||
|
||||
cmakeFlags = [
|
||||
"-DWITH_TRACE=${oz tracingSupport}"
|
||||
"-DLOG_TO_STDERR=${oz logToStderr}"
|
||||
];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "PulseAudio emulation for ALSA";
|
||||
homepage = https://github.com/i-rinat/apulse;
|
||||
|
|
Loading…
Reference in a new issue