forked from mirrors/nixpkgs
Merge pull request #140436 from linsui/pjsip
This commit is contained in:
commit
9a953bc2dd
|
@ -2,13 +2,13 @@
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "pjsip";
|
pname = "pjsip";
|
||||||
version = "2.10";
|
version = "2.11.1";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = pname;
|
owner = pname;
|
||||||
repo = "pjproject";
|
repo = "pjproject";
|
||||||
rev = version;
|
rev = version;
|
||||||
sha256 = "1aklicpgwc88578k03i5d5cm5h8mfm7hmx8vfprchbmaa2p8f4z0";
|
sha256 = "sha256-mqtlxQDIFee93wpdn8oNWmMPDyjYTCmVqF6IJvJbRBM=";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [
|
patches = [
|
||||||
|
@ -21,9 +21,6 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
export LD=$CC
|
export LD=$CC
|
||||||
'' # Fixed on master, remove with 2.11
|
|
||||||
+ lib.optionalString stdenv.isDarwin ''
|
|
||||||
NIX_CFLAGS_COMPILE+=" -framework Security"
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
--- a/aconfigure
|
--- a/aconfigure
|
||||||
+++ b/aconfigure
|
+++ b/aconfigure
|
||||||
@@ -8945,6 +8945,10 @@
|
@@ -9174,6 +9174,10 @@
|
||||||
ac_webrtc_instset=neon
|
ac_webrtc_instset=neon
|
||||||
ac_webrtc_cflags="-DWEBRTC_ARCH_ARMV7 -mfloat-abi=hard -mfpu=neon"
|
ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
|
||||||
;;
|
;;
|
||||||
+ arm64*|aarch64*)
|
+ arm64*|aarch64*)
|
||||||
+ ac_webrtc_instset=neon
|
+ ac_webrtc_instset=neon
|
||||||
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
|
+ ac_webrtc_cflags="-DWEBRTC_ARCH_ARM64"
|
||||||
|
|
Loading…
Reference in a new issue