[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
04/08: gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.
From: |
guix-commits |
Subject: |
04/08: gnu: ffmpeg-jami: Update to 5.0.1 and enable tests. |
Date: |
Fri, 23 Sep 2022 23:58:40 -0400 (EDT) |
apteryx pushed a commit to branch master
in repository guix.
commit c50231cfcb3a08cfcd2a936e5dc604ba46f2a429
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Sat Sep 17 23:31:34 2022 -0400
gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.
* gnu/packages/jami.scm (ffmpeg-jami): Update to 5.0.1.
[tests?]: Delete argument.
[phases]{disable-problematic-tests}: New phase.
---
gnu/packages/jami.scm | 32 +++++++++++++++++++++++---------
1 file changed, 23 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/jami.scm b/gnu/packages/jami.scm
index 28c87a446e..ae4fb653bd 100644
--- a/gnu/packages/jami.scm
+++ b/gnu/packages/jami.scm
@@ -374,16 +374,21 @@
'())))
(define-public ffmpeg-jami
- (package/inherit ffmpeg
+ (package
+ (inherit ffmpeg-5)
(name "ffmpeg-jami")
+ ;; XXX: Use a slightly older version, otherwise the
+ ;; 'libopusdec-enable-FEC' patch doesn't apply.
+ (version "5.0.1")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://ffmpeg.org/releases/ffmpeg-"
+ version ".tar.xz"))
+ (sha256
+ (base32
+ "0yq0jcdc4qm5znrzylj3dsicrkk2n3n8bv28vr0a506fb7iglbpg"))))
(arguments
- (substitute-keyword-arguments (package-arguments ffmpeg)
- ((#:tests? _ #f)
- ;; The "rtp_ext_abs_send_time" patch causes the 'lavf-mov_rtphint'
- ;; test to fail (see:
- ;; https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/685).
- ;; TODO: Try to disable just this test.
- #f)
+ (substitute-keyword-arguments (package-arguments ffmpeg-5)
((#:configure-flags '())
(ffmpeg-compose-configure-flags))
((#:phases phases)
@@ -399,7 +404,16 @@
"rtp_ext_abs_send_time"
"libopusdec-enable-FEC"
"libopusenc-reload-packet-loss-at-encode"
- "screen-sharing-x11-fix"))))))))))
+ "screen-sharing-x11-fix"))))
+ (add-after 'apply-patches 'disable-problematic-tests
+ (lambda _
+ ;; The "rtp_ext_abs_send_time" patch causes the
'lavf-mov_rtphint'
+ ;; test to fail (see:
+ ;;
https://git.jami.net/savoirfairelinux/jami-daemon/-/issues/685).
+ (substitute* "tests/fate/lavf-container.mak"
+ (("mov mov_rtphint ismv")
+ "mov ismv")
+ (("fate-lavf-mov_rtphint:.*") ""))))))))))
(define-public libjami
(package
- branch master updated (dab3800691 -> fd109c5c09), guix-commits, 2022/09/23
- 02/08: gnu: jami: Update to 20220825.0828.c10f01f., guix-commits, 2022/09/23
- 04/08: gnu: ffmpeg-jami: Update to 5.0.1 and enable tests.,
guix-commits <=
- 05/08: build: jami-service: account->username always return a fingerprint., guix-commits, 2022/09/23
- 01/08: gnu: pjproject: Update to 2.12.1., guix-commits, 2022/09/23
- 03/08: gnu: pjproject-jami: Update to 2.12-0.5e478bb., guix-commits, 2022/09/23
- 07/08: services: jami-service-type: Streamline stop slot., guix-commits, 2022/09/23
- 08/08: tests: jami-provisioning: Fix test derivation name., guix-commits, 2022/09/23
- 06/08: tests: telephony: Add extra packages to %jami-os for debugging., guix-commits, 2022/09/23