Archived
1
0
Fork 0

gnu: msopenh264: Update to 1.2.1-21.

* gnu/packages/linphone.scm (msopenh264) [source]: Switch to git repository.
[version]: Update to 1.2.1.
[patches]: Remove field.
[inputs]: Add bctoolbox.
This commit is contained in:
Raghav Gururajan 2021-03-19 22:21:12 -04:00 committed by Maxim Cournoyer
parent 48b2202789
commit f7408b7d29
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -887,44 +887,35 @@ and video calls or instant messaging capabilities to an application.")
(deprecated-package "linphoneqt" linphone-desktop)) (deprecated-package "linphoneqt" linphone-desktop))
(define-public msopenh264 (define-public msopenh264
(package (let ((commit "88697cc95140017760d6da408cb0efdc5e86e40a")
(name "msopenh264") (revision "0"))
(version "1.2.1") (package
(source (name "msopenh264")
(origin (version (git-version "1.2.1" revision commit))
(method url-fetch) (source
(uri (origin
(string-append "https://www.linphone.org/releases/sources/plugins/" (method git-fetch)
name "/" name "-" version ".tar.gz")) (uri (git-reference
(sha256 (url "https://gitlab.linphone.org/BC/public/msopenh264.git")
(base32 "0rdxgazm52560g52pp6mp3mwx6j1z3h2zyizzfycp8y8zi92fqm8")) (commit commit)))
(patches (file-name (git-file-name name version))
(list (sha256
;; For support for OpenH264 version >= 2. (base32 "10y3b6s934f2wbsf60b3p0g6hffizjqrj5in8l4sida2fjdxlwwy"))))
(origin (build-system cmake-build-system)
(method url-fetch) (arguments
(uri `(#:tests? #f ; No test target
(string-append "https://gitlab.linphone.org/BC/public/msopenh264/" #:configure-flags
"commit/493d147d28c9a0f788ba4e50b47a1ce7b18bf326" (list "-DENABLE_STATIC=NO"))) ; Not required
".diff")) (inputs
(file-name "msopenh264-openh264.patch") `(("bctoolbox" ,bctoolbox)
(sha256 ("mediastreamer2" ,mediastreamer2)
(base32 ("openh264" ,openh264)
"0mmd7nz5n9ian4rcwn200nldmy5j0dpdrna7r32rqnaw82bx3kdb"))))))) ("ortp" ,ortp)))
(build-system cmake-build-system) (synopsis "Media Streamer H.264 Codec")
(arguments (description "MsOpenH264 is an H.264 encoder/decoder plugin for
`(#:tests? #f ; No test target mediastreamer2 based on the openh264 library.")
#:configure-flags (home-page "https://gitlab.linphone.org/BC/public/msopenh264")
(list "-DENABLE_STATIC=NO"))) ; Not required (license license:gpl2+))))
(inputs
`(("mediastreamer2" ,mediastreamer2)
("openh264" ,openh264)
("ortp" ,ortp)))
(synopsis "Media Streamer H.264 Codec")
(description "MsOpenH264 is an H.264 encoder/decoder plugin for
mediastreamer2 based on the openh264 library.")
(home-page "https://gitlab.linphone.org/BC/public/msopenh264")
(license license:gpl2+)))
(define-public mssilk (define-public mssilk
(package (package