gnu: mediastreamer2: Update to 5.3.57.

* gnu/packages/linphone.scm (mediastreamer2): Update to 5.3.57.
[arguments] <phases>: Update tester binary file name in separate-outputs,
check phases.
[inputs]: Sort.

Change-Id: I784f973bcc436d71690fcdd4f6237e5890cb8d01
This commit is contained in:
Maxim Cournoyer 2024-06-08 23:34:46 -04:00 committed by Maxim Cournoyer
parent d475fc671d
commit e18de39950
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -570,7 +570,7 @@ API. It also comprises a simple HTTP/HTTPS client implementation.")
(define-public mediastreamer2 (define-public mediastreamer2
(package (package
(name "mediastreamer2") (name "mediastreamer2")
(version "5.2.49") (version "5.3.57")
(source (source
(origin (origin
(method git-fetch) (method git-fetch)
@ -579,7 +579,7 @@ API. It also comprises a simple HTTP/HTTPS client implementation.")
(commit version))) (commit version)))
(file-name (git-file-name name version)) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "0mj0q2xaac22p2wf5gvgaiga03fbydilxfxzwyc6nwp5fyjnzawd")))) (base32 "1zv13icfdpaq7fa325mnqf340vbvif9791hb9h22qpc0f2wcwvjb"))))
(outputs '("out" "doc" "tester")) (outputs '("out" "doc" "tester"))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
@ -611,7 +611,7 @@ API. It also comprises a simple HTTP/HTTPS client implementation.")
(delete 'check) ;move after install (delete 'check) ;move after install
(add-after 'install 'separate-outputs (add-after 'install 'separate-outputs
(lambda _ (lambda _
(let ((tester-name (string-append #$name "_tester")) (let ((tester-name (string-append #$name "-tester"))
(doc-name (string-append #$name "-" #$version))) (doc-name (string-append #$name "-" #$version)))
(for-each mkdir-p (for-each mkdir-p
(list (string-append #$output:tester "/bin") (list (string-append #$output:tester "/bin")
@ -629,7 +629,7 @@ API. It also comprises a simple HTTP/HTTPS client implementation.")
(add-after 'separate-outputs 'check (add-after 'separate-outputs 'check
(lambda _ (lambda _
(let ((tester (string-append #$output:tester (let ((tester (string-append #$output:tester
"/bin/mediastreamer2_tester"))) "/bin/mediastreamer2-tester")))
(for-each (lambda (suite-name) (for-each (lambda (suite-name)
(invoke tester "--suite" suite-name)) (invoke tester "--suite" suite-name))
;; Some tests fail, due to requiring access to the ;; Some tests fail, due to requiring access to the
@ -650,28 +650,28 @@ API. It also comprises a simple HTTP/HTTPS client implementation.")
bcg729 bcg729
bcmatroska2 bcmatroska2
bctoolbox bctoolbox
bzrtp
ffmpeg-4 ffmpeg-4
glew glew
glu glu
mesa-utils
gsm gsm
libjpeg-turbo
libpcap
libsrtp
libtheora
libvpx
libx11
libxv
mesa mesa
mesa-utils
opus opus
ortp ortp
libpcap
portaudio portaudio
pulseaudio pulseaudio
spandsp spandsp
speex speex
speexdsp speexdsp
libsrtp v4l-utils))
libtheora
libjpeg-turbo
v4l-utils
libvpx
libx11
libxv
bzrtp))
(synopsis "Belledonne Communications Streaming Engine") (synopsis "Belledonne Communications Streaming Engine")
(description "Mediastreamer2 is a powerful and lightweight streaming engine (description "Mediastreamer2 is a powerful and lightweight streaming engine
for telephony applications. This media processing and streaming toolkit is for telephony applications. This media processing and streaming toolkit is