gnu: gupnp: Update to 1.5.4.

* gnu/packages/gnome.scm (gupnp): Update to 1.5.4.
[native-inputs]: Remove labels.
[inputs]: Delete gtk+.  Move libsoup and gssdp to...
[propagated-inputs]: ... here.  Add glib and libxml2.
(gupnp-1.4): New variable.
This commit is contained in:
Maxim Cournoyer 2022-09-08 20:14:49 -04:00
parent c2b71eb704
commit 4d0945b6ec
No known key found for this signature in database
GPG Key ID: 1260E46482E63562

View File

@ -1382,7 +1382,7 @@ a debugging tool, @command{gssdp-device-sniffer}.")
(define-public gupnp (define-public gupnp
(package (package
(name "gupnp") (name "gupnp")
(version "1.2.4") (version "1.5.4")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/" (uri (string-append "mirror://gnome/sources/" name "/"
@ -1390,7 +1390,7 @@ a debugging tool, @command{gssdp-device-sniffer}.")
name "-" version ".tar.xz")) name "-" version ".tar.xz"))
(sha256 (sha256
(base32 (base32
"1ld7mrpdv9cszmfzh7i19qx4li25j3fr7x1jp38l8phzlmz3187p")))) "0y0v0m6afnx879hjvhj2lrawp9qhpyp8mbds0yp544imghajk0wq"))))
(build-system meson-build-system) (build-system meson-build-system)
(arguments (arguments
`(#:phases `(#:phases
@ -1400,17 +1400,19 @@ a debugging tool, @command{gssdp-device-sniffer}.")
;; Tests require a writable HOME. ;; Tests require a writable HOME.
(setenv "HOME" (getcwd))))))) (setenv "HOME" (getcwd)))))))
(native-inputs (native-inputs
`(("gettext" ,gettext-minimal) (list gettext-minimal
("glib:bin" ,glib "bin") `(,glib "bin")
("gobject-introspection" ,gobject-introspection) gobject-introspection
("gtk-doc" ,gtk-doc/stable) gtk-doc/stable
("pkg-config" ,pkg-config) pkg-config
("vala" ,vala))) vala))
(inputs
(list gssdp gtk+ libsoup))
(propagated-inputs (propagated-inputs
(list ;; For org.gnome.system.proxy. ;; These libraries are required by the .pc file.
gsettings-desktop-schemas)) (list glib
gsettings-desktop-schemas ;for org.gnome.system.proxy.
gssdp
libsoup
libxml2))
(synopsis "PnP API for GNOME") (synopsis "PnP API for GNOME")
(description "This package provides GUPnP, an object-oriented framework (description "This package provides GUPnP, an object-oriented framework
for creating UPnP devices and control points, written in C using for creating UPnP devices and control points, written in C using
@ -1418,6 +1420,23 @@ for creating UPnP devices and control points, written in C using
(home-page "https://gitlab.gnome.org/GNOME/gupnp") (home-page "https://gitlab.gnome.org/GNOME/gupnp")
(license license:lgpl2.0+))) (license license:lgpl2.0+)))
(define-public gupnp-1.4
(package
(inherit gupnp)
(name "gupnp")
(version "1.4.0")
(source (origin
(method url-fetch)
(uri (string-append "mirror://gnome/sources/" name "/"
(version-major+minor version) "/"
name "-" version ".tar.xz"))
(sha256
(base32
"0vz3ifs8mi3zaz8zj8v27zfkf6xg82y39mcgqspa38jdp01gn3sr"))))
(propagated-inputs (modify-inputs (package-propagated-inputs gupnp)
(replace "libsoup" libsoup-minimal-2)
(replace "gssdp" gssdp-1.4)))))
(define-public gupnp-dlna (define-public gupnp-dlna
(package (package
(name "gupnp-dlna") (name "gupnp-dlna")