Merge pull request #64366 from JohnAZoidberg/pjsip-29

pjsip: 2.8 -> 2.9
This commit is contained in:
Mario Rodas 2019-07-14 23:02:57 -05:00 committed by GitHub
commit eadc851051
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 2 deletions

View File

@ -2,13 +2,15 @@
stdenv.mkDerivation rec {
name = "pjsip-${version}";
version = "2.8";
version = "2.9";
src = fetchurl {
url = "https://www.pjsip.org/release/${version}/pjproject-${version}.tar.bz2";
sha256 = "0ybg0113rp3fk49rm2v0pcgqb28h3dv1pdy9594w2ggiz7bhngah";
sha256 = "0dm6l8fypkimmzvld35zyykbg957cm5zb4ny3lchgv68amwfz1fi";
};
patches = [ ./fix-aarch64.patch ];
buildInputs = [ openssl libsamplerate alsaLib ];
preConfigure = ''

View File

@ -0,0 +1,13 @@
--- a/aconfigure
+++ b/aconfigure
@@ -8945,6 +8945,10 @@
ac_webrtc_instset=neon
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
;;
+ arm64*|aarch64*)
+ ac_webrtc_instset=neon
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
+ ;;
*)
ac_webrtc_instset=sse2
;;