mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-24 11:39:46 -05:00
gnu: libnice: Update to 0.1.18-0.47a9633.
This resolves a build failure following the GStreamer update to 1.18.5. * gnu/packages/networking.scm (libnice): Update to 0.1.18-0.47a9633.
This commit is contained in:
parent
597ae30dc3
commit
42b0d904d0
1 changed files with 62 additions and 57 deletions
|
@ -264,17 +264,24 @@ (define-public libcamera
|
||||||
(license license:lgpl2.1+)))
|
(license license:lgpl2.1+)))
|
||||||
|
|
||||||
(define-public libnice
|
(define-public libnice
|
||||||
|
;; The latest release is old and randomly fails tests with GStreamer 1.18.5,
|
||||||
|
;; such as: "test-bind: ../libnice-0.1.18/stun/tests/test-bind.c:234:
|
||||||
|
;; bad_responses: Assertion `len >= 20' failed"
|
||||||
|
(let ((revision "0")
|
||||||
|
(commit "47a96334448838c43d7e72f4ef51b317befbfae1"))
|
||||||
(package
|
(package
|
||||||
(name "libnice")
|
(name "libnice")
|
||||||
(version "0.1.18")
|
(version (git-version "0.1.18" revision commit))
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method git-fetch)
|
||||||
(uri
|
(uri (git-reference
|
||||||
(string-append "https://libnice.freedesktop.org/releases/"
|
(url "https://gitlab.freedesktop.org/libnice/libnice")
|
||||||
name "-" version ".tar.gz"))
|
(commit commit)))
|
||||||
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1x3kj9b3dy9m2h6j96wgywfamas1j8k2ca43k5v82kmml9dx5asy"))))
|
(base32
|
||||||
|
"19ypjazslmsb9vqs2wyyzvi72h5jbn16dbng7pxh485djdrmgcg4"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
|
@ -289,8 +296,7 @@ (define-public libnice
|
||||||
(substitute* "tests/meson.build"
|
(substitute* "tests/meson.build"
|
||||||
;; ‘test-set-port-range.c:66:main: assertion failed:
|
;; ‘test-set-port-range.c:66:main: assertion failed:
|
||||||
;; (nice_agent_gather_candidates (agent, stream1))’
|
;; (nice_agent_gather_candidates (agent, stream1))’
|
||||||
(("'test-set-port-range'") "#"))
|
(("'test-set-port-range'") "#"))))
|
||||||
#t))
|
|
||||||
(add-after 'install 'move-docs
|
(add-after 'install 'move-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda* (#:key outputs #:allow-other-keys)
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(let* ((out (assoc-ref outputs "out"))
|
||||||
|
@ -298,8 +304,7 @@ (define-public libnice
|
||||||
(mkdir-p (string-append doc "/share"))
|
(mkdir-p (string-append doc "/share"))
|
||||||
(rename-file
|
(rename-file
|
||||||
(string-append out "/share/gtk-doc")
|
(string-append out "/share/gtk-doc")
|
||||||
(string-append doc "/share/gtk-doc"))
|
(string-append doc "/share/gtk-doc"))))))))
|
||||||
#t))))))
|
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin")
|
`(("glib:bin" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
@ -322,7 +327,7 @@ (define-public libnice
|
||||||
;; This project is dual-licensed.
|
;; This project is dual-licensed.
|
||||||
(list
|
(list
|
||||||
license:lgpl2.1+
|
license:lgpl2.1+
|
||||||
license:mpl1.1))))
|
license:mpl1.1)))))
|
||||||
|
|
||||||
(define-public rtmpdump
|
(define-public rtmpdump
|
||||||
;; There are no tags in the repository, and the project is unlikely to
|
;; There are no tags in the repository, and the project is unlikely to
|
||||||
|
|
Loading…
Reference in a new issue