gnu: libdmapsharing: Remove patch-docbook-xml phase.

* gnu/packages/gnome.scm (libdmapsharing) [arguments]: Remove patch-docbook-xml
phase.  Use gexps.
[inputs]: Remove labels.
This commit is contained in:
Maxim Cournoyer 2023-04-20 15:51:26 -04:00
parent 56f382141d
commit adbd08e010
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -550,23 +550,11 @@ (define-public libdmapsharing
(build-system glib-or-gtk-build-system) (build-system glib-or-gtk-build-system)
(outputs '("out" "doc")) (outputs '("out" "doc"))
(arguments (arguments
`(#:tests? #f ; Tests require networking. (list #:tests? #f ; Tests require networking.
#:configure-flags #:configure-flags
(list #~(list "--disable-static"
"--disable-static" (string-append "--with-html-dir=" #$output:doc
(string-append "--with-html-dir=" "/share/gtk-doc/html"))))
(assoc-ref %outputs "doc")
"/share/gtk-doc/html"))
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'patch-docbook-xml
(lambda* (#:key inputs #:allow-other-keys)
(with-directory-excursion "doc"
(substitute* "libdmapsharing-4.0-docs.xml"
(("http://www.oasis-open.org/docbook/xml/4.3/")
(string-append (assoc-ref inputs "docbook-xml")
"/xml/dtd/docbook/"))))
#t)))))
(native-inputs (native-inputs
(list check (list check
docbook-xml-4.3 docbook-xml-4.3
@ -575,11 +563,11 @@ (define-public libdmapsharing
pkg-config pkg-config
vala)) vala))
(inputs (inputs
`(("avahi" ,avahi) (list avahi
("librsvg" ,librsvg) librsvg
("gee" ,libgee) libgee
("gst-plugins-base" ,gst-plugins-base) gst-plugins-base
("gtk+" ,gtk+))) gtk+))
(propagated-inputs (propagated-inputs
(list glib glib-networking gstreamer libsoup-minimal-2)) (list glib glib-networking gstreamer libsoup-minimal-2))
(synopsis "Media management library") (synopsis "Media management library")