aboutsummaryrefslogtreecommitdiff
path: root/pkgs/development/libraries/webrtc-audio-processing
diff options
context:
space:
mode:
authorR. RyanTM <ryantm+bot@ryantm.com>2018-08-08 00:45:08 -0700
committerJan Tojnar <jtojnar@gmail.com>2018-08-08 12:32:47 +0200
commitfbe47c8479b626b79b3722220d5c2a0173a93976 (patch)
treefe6301ba563c7b6c83b365f4efc6814d7fad14c9 /pkgs/development/libraries/webrtc-audio-processing
parent20f1388c3fb7c1c56367fd96fd21cfd316f465b7 (diff)
webrtc-audio-processing: 0.3 -> 0.3.1
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/webrtc-audio-processing/versions. Also remove isAarch32 configure hack since it is no longer applicable after https://cgit.freedesktop.org/pulseaudio/webrtc-audio-processing/commit/?id=ff77a85c28564d939d554ba264480d1876cbc316 Also fix Darwin build Signed-off-by: Jan Tojnar <jtojnar@gmail.com>
Diffstat (limited to 'pkgs/development/libraries/webrtc-audio-processing')
-rw-r--r--pkgs/development/libraries/webrtc-audio-processing/default.nix14
1 files changed, 6 insertions, 8 deletions
diff --git a/pkgs/development/libraries/webrtc-audio-processing/default.nix b/pkgs/development/libraries/webrtc-audio-processing/default.nix
index 056ab8c51387..96e7b4c4a20d 100644
--- a/pkgs/development/libraries/webrtc-audio-processing/default.nix
+++ b/pkgs/development/libraries/webrtc-audio-processing/default.nix
@@ -1,18 +1,16 @@
-{ stdenv, fetchurl }:
+{ stdenv, fetchurl, darwin }:
stdenv.mkDerivation rec {
- name = "webrtc-audio-processing-0.3";
+ name = "webrtc-audio-processing-0.3.1";
src = fetchurl {
url = "https://freedesktop.org/software/pulseaudio/webrtc-audio-processing/${name}.tar.xz";
- sha256 = "1yl0187xjh1j2zkb7v9cs9i868zcaj23pzn4a36qhzam9wfjjvkm";
+ sha256 = "1gsx7k77blfy171b6g3m0k0s0072v6jcawhmx1kjs9w5zlwdkzd0";
};
- # 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.isAarch32 ''
- substituteInPlace configure --replace 'armv7*|armv8*' 'disabled'
- '' + stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
+ buildInputs = stdenv.lib.optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [ ApplicationServices ]);
+
+ patchPhase = stdenv.lib.optionalString stdenv.hostPlatform.isMusl ''
substituteInPlace webrtc/base/checks.cc --replace 'defined(__UCLIBC__)' 1
'';