[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
351/377: gnu: gst-plugins-bad: Update to 1.18.4.
From: |
guix-commits |
Subject: |
351/377: gnu: gst-plugins-bad: Update to 1.18.4. |
Date: |
Thu, 2 Sep 2021 17:56:19 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit dd9ec0b8e5b71af03096ac108bf4a3bd33c627c3
Author: Raghav Gururajan <rg@raghavgururajan.name>
AuthorDate: Mon Apr 12 11:36:12 2021 +0200
gnu: gst-plugins-bad: Update to 1.18.4.
* gnu/packages/gstreamer.scm (gst-plugins-bad)[version]: Update to 1.18.4.
[arguments](glib-or-gtk): New argument.
[phases](adjust-tests): Disable line21.
[phases](pre-check): New phase.
[propagated-inputs]: Add gstreamer.
[native-inputs]: Add gettext-minimal, gsettings-desktop-schemas, perl and
xorg-server-for-tests. Replace python with python-wrapper.
Co-authored-by: Leo Prikler <leo.prikler@student.tugraz.at>
---
gnu/packages/gstreamer.scm | 33 ++++++++++++++++++++++++++-------
1 file changed, 26 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 24da748..6e6a817 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -715,7 +715,7 @@ model to base your own plug-in on, here it is.")
(define-public gst-plugins-bad
(package
(name "gst-plugins-bad")
- (version "1.18.2")
+ (version "1.18.4")
(source (origin
(method url-fetch)
(uri (string-append "https://gstreamer.freedesktop.org/src/"
@@ -723,10 +723,11 @@ model to base your own plug-in on, here it is.")
(patches (search-patches "gst-plugins-bad-fix-overflow.patch"))
(sha256
(base32
- "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))))
+ "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))))
(build-system meson-build-system)
(arguments
- `(#:phases
+ `(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
+ #:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
,@(if (string-prefix? "arm" (or (%current-target-system)
@@ -753,21 +754,39 @@ model to base your own plug-in on, here it is.")
;; FIXME: Why is this failing.
((".*elements/dash_mpd\\.c.*") "")
+ ((".*elements/line21\\.c.*") "")
;; These tests are flaky and occasionally time out:
;;
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/932
((".*elements/curlhttpsrc\\.c.*") "")
;;
https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/issues/1412
((".*elements/dtls\\.c.*") ""))
- #t))))))
+ #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)))))
(propagated-inputs
- `(("gst-plugins-base" ,gst-plugins-base)))
+ `(("gstreamer" ,gstreamer)
+ ("gst-plugins-base" ,gst-plugins-base)))
(native-inputs
- `(("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
+ `(("gettext" ,gettext-minimal)
+ ("glib:bin" ,glib "bin") ; for glib-mkenums, etc.
("gobject-introspection" ,gobject-introspection)
+ ("gsettings-desktop-schemas" ,gsettings-desktop-schemas)
("gst-plugins-good" ,gst-plugins-good) ;for tests
+ ("perl" ,perl)
("pkg-config" ,pkg-config)
- ("python" ,python)))
+ ("python" ,python-wrapper)
+ ("xorg-server" ,xorg-server-for-tests)))
(inputs
;; XXX: The following dependencies are missing:
;; vo-amrwbenc, vo-aacenc, bs2b, chromaprint, directfb, daala, libdts,
- 336/377: gnu: gtkmm-2: Fix build., (continued)
- 336/377: gnu: gtkmm-2: Fix build., guix-commits, 2021/09/02
- 339/377: gnu: ibus: Enable memconf., guix-commits, 2021/09/02
- 341/377: gnu: ibus: Remove trailing #t in phases., guix-commits, 2021/09/02
- 343/377: gnu: faac: Correct source uri., guix-commits, 2021/09/02
- 344/377: gnu: zbar: Update to 0.23.90., guix-commits, 2021/09/02
- 345/377: gnu: gstreamer: Update to 1.18.4., guix-commits, 2021/09/02
- 346/377: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/09/02
- 347/377: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/09/02
- 348/377: gnu: gst-plugins-good: Update to 1.18.4., guix-commits, 2021/09/02
- 349/377: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/09/02
- 351/377: gnu: gst-plugins-bad: Update to 1.18.4.,
guix-commits <=
- 353/377: gnu: gst-editing-services: Update to 1.18.4., guix-commits, 2021/09/02
- 352/377: gnu: gst-plugins-bad: Add missing inputs to enable more features., guix-commits, 2021/09/02
- 350/377: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/09/02
- 355/377: gnu: glib: Disable failing test., guix-commits, 2021/09/02
- 357/377: gnu: docbook-xsl: Update to 1.79.2., guix-commits, 2021/09/02
- 132/377: gnu: Add r-mmwrweek., guix-commits, 2021/09/02
- 133/377: gnu: Add r-crul., guix-commits, 2021/09/02
- 138/377: gnu: Add r-zoib., guix-commits, 2021/09/02
- 142/377: gnu: Add rust-nix-0.22., guix-commits, 2021/09/02
- 140/377: gnu: rust-thiserror-1: Update to 1.0.26., guix-commits, 2021/09/02