[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
96/125: gnu: gst-plugins-base: Enable more features.
From: |
guix-commits |
Subject: |
96/125: gnu: gst-plugins-base: Enable more features. |
Date: |
Sat, 3 Jul 2021 21:17:40 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit b236650742480f6a0e86ad2369b5ec9e3942f2f6
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Mon Apr 12 11:36:08 2021 +0200
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>
---
gnu/packages/gstreamer.scm | 37 ++++++++++++++++++++++++++++++-------
1 file changed, 30 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 815d9db..3ac43bb 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -560,6 +560,7 @@ This package provides the core library and elements.")
'()
`(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
+ ;; TODO: Add libvorbisidec
`(("cdparanoia" ,cdparanoia)
("pango" ,pango)
("libogg" ,libogg)
@@ -574,21 +575,43 @@ This package provides the core library and elements.")
;; <https://bugs.gnu.org/32360>
,@(if (target-64bit?)
`(("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
- `(("pkg-config" ,pkg-config)
- ("glib:bin" ,glib "bin")
- ("gobject-introspection" ,gobject-introspection)
- ("python-wrapper" ,python-wrapper)))
+ `(("pkg-config" ,pkg-config)
+ ("glib:bin" ,glib "bin")
+ ("gobject-introspection" ,gobject-introspection)
+ ("python-wrapper" ,python-wrapper)
+ ("gettext" ,gettext-minimal)
+ ("xorg-server" ,xorg-server-for-tests)))
(arguments
- `(#:configure-flags '("-Dgl=disabled")
- #:phases
+ `(#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
(add-before 'configure 'patch
(lambda _
(substitute* "tests/check/libs/pbutils.c"
(("/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)))))
(home-page "https://gstreamer.freedesktop.org/")
(synopsis
- 121/125: gnu: tracker: Update to 3.1.1 and make related changes., (continued)
- 121/125: gnu: tracker: Update to 3.1.1 and make related changes., guix-commits, 2021/07/03
- 82/125: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/07/03
- 84/125: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/07/03
- 90/125: gnu: ibus: Remove trailing #t in phases., guix-commits, 2021/07/03
- 91/125: gnu: iqa: Correct source uri., guix-commits, 2021/07/03
- 95/125: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/07/03
- 99/125: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/07/03
- 74/125: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/07/03
- 92/125: gnu: faac: Correct source uri., guix-commits, 2021/07/03
- 93/125: gnu: zbar: Update to 0.23.90., guix-commits, 2021/07/03
- 96/125: gnu: gst-plugins-base: Enable more features.,
guix-commits <=
- 104/125: gnu: glib: Disable failing test., guix-commits, 2021/07/03
- 73/125: gnu: wayland: Fix and move documentation., guix-commits, 2021/07/03
- 69/125: gnu: json-glib: Update to 1.6.2., guix-commits, 2021/07/03
- 78/125: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/07/03
- 83/125: gnu: gtk+: Update to 3.24.27., guix-commits, 2021/07/03
- 103/125: gnu: cairo: Reintroduce security patches [security fixes]., guix-commits, 2021/07/03
- 107/125: gnu: pango: Use meson-0.55, as required by the project., guix-commits, 2021/07/03
- 108/125: gnu: glib-networking: Update to 2.68.0., guix-commits, 2021/07/03
- 110/125: gnu: glib-networking: Update home-page, synopsis, description and license., guix-commits, 2021/07/03
- 118/125: gnu: libepoxy: Propagate mesa., guix-commits, 2021/07/03