gnu: gst-plugins-base: Enable more features.
* gnu/packages/gstreamer.scm (gst-plugins-base) [inputs]: Add graphene, iso-codes, libgudev, libjpeg-turbo, libpng, libvisual, mesa, wayland-protocols, wayland. [native-inputs]: Add gettext-minimal and xorg-server-for-test. [arguments]: Remove '-Dgl=disabled' from configure flags. Add pre-check phase. Co-authored-by: Leo Prikler <leo.prikler@student.tugraz.at> Co-authored-by: 宋文武 <iyzsong@member.fsf.org>
This commit is contained in:
parent
a67cb232d7
commit
4c0a39ee65
@ -559,6 +559,7 @@ This package provides the core library and elements.")
|
|||||||
'()
|
'()
|
||||||
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
|
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
|
||||||
(inputs
|
(inputs
|
||||||
|
;; TODO: Add libvorbisidec
|
||||||
`(("cdparanoia" ,cdparanoia)
|
`(("cdparanoia" ,cdparanoia)
|
||||||
("pango" ,pango)
|
("pango" ,pango)
|
||||||
("libogg" ,libogg)
|
("libogg" ,libogg)
|
||||||
@ -569,21 +570,43 @@ This package provides the core library and elements.")
|
|||||||
("libXext" ,libxext)
|
("libXext" ,libxext)
|
||||||
("libxv" ,libxv)
|
("libxv" ,libxv)
|
||||||
("alsa-lib" ,alsa-lib)
|
("alsa-lib" ,alsa-lib)
|
||||||
("opus" ,opus)))
|
("opus" ,opus)
|
||||||
|
("graphene" ,graphene)
|
||||||
|
("iso-codes" ,iso-codes)
|
||||||
|
("libgudev" ,libgudev)
|
||||||
|
("libjpeg" ,libjpeg-turbo)
|
||||||
|
("libpng" ,libpng)
|
||||||
|
("libvisual" ,libvisual)
|
||||||
|
("mesa" ,mesa)
|
||||||
|
("wayland-protocols" ,wayland-protocols)
|
||||||
|
("wayland" ,wayland)))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("glib:bin" ,glib "bin")
|
("glib:bin" ,glib "bin")
|
||||||
("gobject-introspection" ,gobject-introspection)
|
("gobject-introspection" ,gobject-introspection)
|
||||||
("python-wrapper" ,python-wrapper)))
|
("python-wrapper" ,python-wrapper)
|
||||||
|
("gettext" ,gettext-minimal)
|
||||||
|
("xorg-server" ,xorg-server-for-tests)))
|
||||||
(arguments
|
(arguments
|
||||||
`(#:configure-flags '("-Dgl=disabled")
|
`(#:phases
|
||||||
#:phases
|
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
,@%common-gstreamer-phases
|
,@%common-gstreamer-phases
|
||||||
(add-before 'configure 'patch
|
(add-before 'configure 'patch
|
||||||
(lambda _
|
(lambda _
|
||||||
(substitute* "tests/check/libs/pbutils.c"
|
(substitute* "tests/check/libs/pbutils.c"
|
||||||
(("/bin/sh") (which "sh")))
|
(("/bin/sh") (which "sh")))
|
||||||
|
#t))
|
||||||
|
(add-before 'check 'pre-check
|
||||||
|
(lambda _
|
||||||
|
;; Tests require a running X server.
|
||||||
|
(system "Xvfb :1 +extension GLX &")
|
||||||
|
(setenv "DISPLAY" ":1")
|
||||||
|
;; Tests write to $HOME.
|
||||||
|
(setenv "HOME" (getcwd))
|
||||||
|
;; Tests look for $XDG_RUNTIME_DIR.
|
||||||
|
(setenv "XDG_RUNTIME_DIR" (getcwd))
|
||||||
|
;; For missing '/etc/machine-id'.
|
||||||
|
(setenv "DBUS_FATAL_WARNINGS" "0")
|
||||||
#t)))))
|
#t)))))
|
||||||
(home-page "https://gstreamer.freedesktop.org/")
|
(home-page "https://gstreamer.freedesktop.org/")
|
||||||
(synopsis
|
(synopsis
|
||||||
|
Loading…
Reference in New Issue
Block a user