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
parent
25b8d676c0
commit
9792adaa61
|
@ -116,19 +116,27 @@ arrays of data.")
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"0kp93622y29pck8asvil1fmzf55s2gx76wv475a6izc3cwj49w73"))))
|
"0kp93622y29pck8asvil1fmzf55s2gx76wv475a6izc3cwj49w73"))))
|
||||||
(build-system gnu-build-system)
|
(build-system meson-build-system)
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags
|
'(#:phases
|
||||||
(list (string-append "--with-html-dir="
|
(modify-phases %standard-phases
|
||||||
(assoc-ref %outputs "doc")
|
(add-after 'install 'move-docs
|
||||||
"/share/gtk-doc/html"))))
|
(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.
|
(propagated-inputs `(("glib" ,glib))) ; required by gstreamer-1.0.pc.
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("bison" ,bison)
|
`(("bison" ,bison)
|
||||||
("flex" ,flex)
|
("flex" ,flex)
|
||||||
("glib" ,glib "bin")
|
("glib" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
|
("gtk-doc" ,gtk-doc)
|
||||||
("perl" ,perl)
|
("perl" ,perl)
|
||||||
("pkg-config" ,pkg-config)
|
("pkg-config" ,pkg-config)
|
||||||
("python-wrapper" ,python-wrapper)))
|
("python-wrapper" ,python-wrapper)))
|
||||||
|
|
Reference in New Issue