2015-04-26 00:08:55 +02:00
|
|
|
{ stdenv, fetchurl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2016-07-03 12:38:20 +02:00
|
|
|
name = "webrtc-audio-processing-0.3";
|
2015-04-26 00:08:55 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz";
|
2016-07-03 12:38:20 +02:00
|
|
|
sha256 = "1yl0187xjh1j2zkb7v9cs9i868zcaj23pzn4a36qhzam9wfjjvkm";
|
2015-04-26 00:08:55 +02:00
|
|
|
};
|
|
|
|
|
2016-07-10 00:35:00 +02: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-26 00:08:55 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing;
|
2016-06-20 12:53:46 +02:00
|
|
|
description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project";
|
2015-04-26 00:08:55 +02:00
|
|
|
license = licenses.bsd3;
|
|
|
|
platforms = platforms.unix;
|
|
|
|
maintainers = with maintainers; [ wkennington ];
|
|
|
|
};
|
|
|
|
}
|