me
/
guix
Archived
1
0
Fork 0

gnu: gstreamer: Build with Meson.

The package fails to build with GNU Make 4.3, and upstream no longer supports
autotools.

* gnu/packages/gstreamer.scm (gstreamer)[build-system]: Change to
MESON-BUILD-SYSTEM.
[arguments]: Remove #:configure-flags.  Add #:phases.
[native-inputs]: Add GTK-DOC.
master
Marius Bakke 2020-01-20 21:38:40 +01:00
parent 25b8d676c0
commit 9792adaa61
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA
1 changed files with 13 additions and 5 deletions

View File

@ -116,19 +116,27 @@ arrays of data.")
(sha256
(base32
"0kp93622y29pck8asvil1fmzf55s2gx76wv475a6izc3cwj49w73"))))
(build-system gnu-build-system)
(build-system meson-build-system)
(outputs '("out" "doc"))
(arguments
`(#:configure-flags
(list (string-append "--with-html-dir="
(assoc-ref %outputs "doc")
"/share/gtk-doc/html"))))
'(#:phases
(modify-phases %standard-phases
(add-after 'install 'move-docs
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(doc (assoc-ref outputs "doc")))
(mkdir-p (string-append doc "/share"))
(copy-recursively (string-append out "/share/gtk-doc")
(string-append doc "/share/gtk-doc"))
(delete-file-recursively (string-append out "/share/gtk-doc"))
#t))))))
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
(native-inputs
`(("bison" ,bison)
("flex" ,flex)
("glib" ,glib "bin")
("gobject-introspection" ,gobject-introspection)
("gtk-doc" ,gtk-doc)
("perl" ,perl)
("pkg-config" ,pkg-config)
("python-wrapper" ,python-wrapper)))