at 16.09-beta 24 lines 912 B view raw
1{ stdenv, fetchurl }: 2 3stdenv.mkDerivation rec { 4 name = "webrtc-audio-processing-0.3"; 5 6 src = fetchurl { 7 url = "http://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz"; 8 sha256 = "1yl0187xjh1j2zkb7v9cs9i868zcaj23pzn4a36qhzam9wfjjvkm"; 9 }; 10 11 # Avoid this error: 12 # signal_processing/filter_ar_fast_q12_armv7.S:88: Error: selected processor does not support `sbfx r11,r6,#12,#16' in ARM mode 13 patchPhase = stdenv.lib.optionalString stdenv.isArm '' 14 substituteInPlace configure --replace 'armv7*|armv8*' 'disabled' 15 ''; 16 17 meta = with stdenv.lib; { 18 homepage = http://www.freedesktop.org/software/pulseaudio/webrtc-audio-processing; 19 description = "A more Linux packaging friendly copy of the AudioProcessing module from the WebRTC project"; 20 license = licenses.bsd3; 21 platforms = platforms.unix; 22 maintainers = with maintainers; [ wkennington ]; 23 }; 24}