gnu: gst-plugins-bad: Build with Meson.

* gnu/packages/gstreamer.scm (gst-plugins-bad)[outputs]: Remove.
[build-system]: Change to MESON-BUILD-SYSTEM.
[arguments]: Enable tests, except for one.  Disable documentation generation.
This commit is contained in:
Marius Bakke 2020-01-20 21:41:41 +01:00
parent 321f47c25d
commit 2dc277dd99
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -297,19 +297,24 @@ developers consider to have good quality code and correct functionality.")
(sha256 (sha256
(base32 (base32
"0x0y0hm0ga3zqi5q4090hw5sjh59y1ry9ak16qsaascm72i7mjzi")))) "0x0y0hm0ga3zqi5q4090hw5sjh59y1ry9ak16qsaascm72i7mjzi"))))
(outputs '("out" "doc")) (build-system meson-build-system)
(build-system gnu-build-system)
(arguments (arguments
'(#:tests? #f ; XXX: 13 of 53 tests fail '(#:phases
#:configure-flags (modify-phases %standard-phases
(list (string-append "--with-html-dir=" (add-after 'unpack 'disable-failing-test
(assoc-ref %outputs "doc") (lambda _
"/share/gtk-doc/html")))) ;; FIXME: Why is this failing.
(substitute* "tests/check/meson.build"
((".*elements/dash_mpd\\.c.*")
""))
#t)))))
(propagated-inputs (propagated-inputs
`(("gst-plugins-base" ,gst-plugins-base))) `(("gst-plugins-base" ,gst-plugins-base)))
(native-inputs (native-inputs
`(("glib:bin" ,glib "bin") ; for glib-mkenums, etc. `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection) ("gobject-introspection" ,gobject-introspection)
;; TODO: Enable documentation for 1.18.
;;("gtk-doc" ,gtk-doc)
("pkg-config" ,pkg-config) ("pkg-config" ,pkg-config)
("python" ,python))) ("python" ,python)))
(inputs (inputs