2015-04-25 22:08:55 +00:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-03 10:38:20 +00:00
|
|
|
name = "webrtc-audio-processing-0.3";
|
2015-04-25 22:08:55 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz";
|
2016-07-03 10:38:20 +00:00
|
|
|
sha256 = "1yl0187xjh1j2zkb7v9cs9i868zcaj23pzn4a36qhzam9wfjjvkm";
|
2015-04-25 22:08:55 +00:00
|
|
|
};
|
|
|
|
|
2016-07-09 22:35:00 +00:00
|
|
|
# Avoid this error:
|
|
|
|
# signal_processing/filter_ar_fast_q12_armv7.S:88: Error: selected processor does not support `sbfx r11,r6,#12,#16' in ARM mode
|
|
|
|
patchPhase = stdenv.lib.optionalString stdenv.isArm ''
|
|
|
|
substituteInPlace configure --replace 'armv7*|armv8*' 'disabled'
|
|
|
|
'';
|
|
|
|
|
2015-04-25 22:08:55 +00:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing;
|
2016-06-20 10:53:46 +00:00
|
|
|
description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
|
2015-04-25 22:08:55 +00:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|