[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
08/19: gnu: mediastreamer2: Enable PCAP, port-audio and G729B support.
From: |
guix-commits |
Subject: |
08/19: gnu: mediastreamer2: Enable PCAP, port-audio and G729B support. |
Date: |
Mon, 29 Mar 2021 01:44:05 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit abc1418786df47816a00c68e90c770d9692a2bb7
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Tue Mar 16 18:43:55 2021 -0400
gnu: mediastreamer2: Enable PCAP, port-audio and G729B support.
* gnu/packages/linphone.scm (mediastreamer2)
[configure-flags]: Add the ENABLE_PCAP, ENABLE_PORTAUDIO and
ENABLE_G729B_CNG
flags.
[phases]{patch-source}: New phase.
Signed-off-by: Maxim Cournoyer <maxim.cournoyer@gmail.com>
---
gnu/packages/linphone.scm | 11 ++++++++++-
1 file changed, 10 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/linphone.scm b/gnu/packages/linphone.scm
index f06b2be..0da9e02 100644
--- a/gnu/packages/linphone.scm
+++ b/gnu/packages/linphone.scm
@@ -532,7 +532,12 @@ API. It also comprises a simple HTTP/HTTPS client
implementation.")
(outputs '("out" "doc" "tester"))
(build-system cmake-build-system)
(arguments
- `(#:configure-flags (list "-DENABLE_STATIC=NO")
+ `(#:configure-flags (list "-DENABLE_STATIC=NO"
+ "-DENABLE_PCAP=YES"
+ ;; Do not fail on compile warnings.
+ "-DENABLE_STRICT=NO"
+ "-DENABLE_PORTAUDIO=YES"
+ "-DENABLE_G729B_CNG=YES")
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-version
@@ -540,6 +545,10 @@ API. It also comprises a simple HTTP/HTTPS client
implementation.")
(substitute* "CMakeLists.txt"
(("VERSION [0-9]+\\.[0-9]+\\.[0-9]+")
(string-append "VERSION " ,version)))))
+ (add-after 'unpack 'patch-source
+ (lambda _
+ (substitute* "src/otherfilters/mspcapfileplayer.c"
+ (("O_BINARY") "L_INCR"))))
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.
- 04/19: gnu: bzrtp: Update to 4.4.34 and enable tests., (continued)
- 04/19: gnu: bzrtp: Update to 4.4.34 and enable tests., guix-commits, 2021/03/29
- 07/19: gnu: mediastreamer2: Enable tests., guix-commits, 2021/03/29
- 18/19: gnu: mswebrtc: Update to 1.1.1-23., guix-commits, 2021/03/29
- 13/19: gnu: liblinphone: Update to 4.4.34., guix-commits, 2021/03/29
- 03/19: gnu: belcard: Update to 4.4.34 and enable tests., guix-commits, 2021/03/29
- 12/19: gnu: Add lime., guix-commits, 2021/03/29
- 02/19: gnu: belr: Update to 4.4.34 and enable tests., guix-commits, 2021/03/29
- 14/19: gnu: liblinphone: Enable LDAP support., guix-commits, 2021/03/29
- 10/19: gnu: belle-sip: Enable tests., guix-commits, 2021/03/29
- 15/19: gnu: linphoneqt: Update to 4.2.5 and rename to linphone-desktop., guix-commits, 2021/03/29
- 08/19: gnu: mediastreamer2: Enable PCAP, port-audio and G729B support.,
guix-commits <=
- 09/19: gnu: belle-sip: Update to 4.4.34., guix-commits, 2021/03/29
- 05/19: gnu: ortp: Update to 4.4.34., guix-commits, 2021/03/29
- 17/19: gnu: mssilk: Update to 1.1.1-8., guix-commits, 2021/03/29