gnu: libnice: Update to 0.1.21.
* gnu/packages/networking.scm (libnice): Update to 0.1.21. [arguments]: Use gexps. [native-inputs]: Remove labels.
This commit is contained in:
parent
cf34f40420
commit
523d66f183
1 changed files with 69 additions and 72 deletions
|
@ -26,7 +26,7 @@
|
||||||
;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org>
|
;;; Copyright © 2018, 2020-2022 Marius Bakke <marius@gnu.org>
|
||||||
;;; Copyright © 2018, 2020, 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
|
;;; Copyright © 2018, 2020, 2021, 2022 Oleg Pykhalov <go.wigust@gmail.com>
|
||||||
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
;;; Copyright © 2018 Pierre Neidhardt <mail@ambrevar.xyz>
|
||||||
;;; Copyright © 2019, 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
;;; Copyright © 2019, 2020, 2021, 2022, 2023 Maxim Cournoyer <maxim.cournoyer@gmail.com>
|
||||||
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
|
;;; Copyright © 2019 Vasile Dumitrascu <va511e@yahoo.com>
|
||||||
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
|
||||||
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
;;; Copyright © 2019 Timotej Lazar <timotej.lazar@araneo.si>
|
||||||
|
@ -413,33 +413,28 @@ (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 (git-version "0.1.18" revision commit))
|
(version "0.1.21")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://gitlab.freedesktop.org/libnice/libnice")
|
(url "https://gitlab.freedesktop.org/libnice/libnice")
|
||||||
(commit commit)))
|
(commit version)))
|
||||||
(file-name (git-file-name name version))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"19ypjazslmsb9vqs2wyyzvi72h5jbn16dbng7pxh485djdrmgcg4"))))
|
"0zxh1mdrl4p2vih8f4yqzm3pp4jsmc8aq7l43dlndaz4sj4c8j44"))))
|
||||||
(build-system meson-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
|
||||||
#:configure-flags
|
|
||||||
(list
|
(list
|
||||||
"-Dgtk_doc=enabled")
|
#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
|
||||||
|
#:configure-flags
|
||||||
|
#~(list"-Dgtk_doc=enabled")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
(add-after 'unpack 'disable-failing-tests
|
(add-after 'unpack 'disable-failing-tests
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/meson.build"
|
(substitute* "tests/meson.build"
|
||||||
|
@ -459,23 +454,25 @@ (define-public libnice
|
||||||
(("'bind', ")
|
(("'bind', ")
|
||||||
""))))
|
""))))
|
||||||
(add-after 'install 'move-docs
|
(add-after 'install 'move-docs
|
||||||
(lambda* (#:key outputs #:allow-other-keys)
|
(lambda _
|
||||||
(let* ((out (assoc-ref outputs "out"))
|
(mkdir-p (string-append #$output:doc "/share"))
|
||||||
(doc (assoc-ref outputs "doc")))
|
|
||||||
(mkdir-p (string-append doc "/share"))
|
|
||||||
(rename-file
|
(rename-file
|
||||||
(string-append out "/share/gtk-doc")
|
(string-append #$output "/share/gtk-doc")
|
||||||
(string-append doc "/share/gtk-doc"))))))))
|
(string-append #$output:doc "/share/gtk-doc")))))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("glib:bin" ,glib "bin")
|
(list `(,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
gobject-introspection
|
||||||
("graphviz" ,graphviz)
|
graphviz
|
||||||
("gtk-doc" ,gtk-doc/stable)
|
gtk-doc/stable
|
||||||
("pkg-config" ,pkg-config)))
|
pkg-config))
|
||||||
(inputs
|
(inputs
|
||||||
(list gstreamer gst-plugins-base libnsl))
|
(list gstreamer
|
||||||
|
gst-plugins-base
|
||||||
|
libnsl))
|
||||||
(propagated-inputs
|
(propagated-inputs
|
||||||
(list glib glib-networking gnutls))
|
(list glib
|
||||||
|
glib-networking
|
||||||
|
gnutls))
|
||||||
(synopsis "GLib ICE implementation")
|
(synopsis "GLib ICE implementation")
|
||||||
(description "LibNice is a library that implements the Interactive
|
(description "LibNice is a library that implements the Interactive
|
||||||
Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445). It provides a
|
Connectivity Establishment (ICE) standard (RFC 5245 & RFC 8445). It provides a
|
||||||
|
@ -485,7 +482,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 librecast
|
(define-public librecast
|
||||||
(package
|
(package
|
||||||
|
|
Loading…
Reference in a new issue