[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
98/122: gnu: gst-plugins-bad: Update to 1.18.4.
From: |
guix-commits |
Subject: |
98/122: gnu: gst-plugins-bad: Update to 1.18.4. |
Date: |
Wed, 30 Jun 2021 18:26:45 -0400 (EDT) |
raghavgururajan pushed a commit to branch wip-gnome
in repository guix.
commit 187271b2add912eced81dd52f1a6896467f56e20
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 dd639ce..e9d7313 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -716,7 +716,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/"
@@ -724,10 +724,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)
@@ -754,21 +755,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,
- 73/122: gnu: wayland-protocols: Update description., (continued)
- 73/122: gnu: wayland-protocols: Update description., guix-commits, 2021/06/30
- 78/122: gnu: gtk+: Enable tests., guix-commits, 2021/06/30
- 59/122: gnu: atkmm: Enable documentation., guix-commits, 2021/06/30
- 61/122: gnu: Add atkmm-2.28., guix-commits, 2021/06/30
- 63/122: gnu: at-spi2-core: Fix documentation., guix-commits, 2021/06/30
- 69/122: gnu: json-glib: Update synopsis and description., guix-commits, 2021/06/30
- 74/122: gnu: yelp-xsl: Enable documentation., guix-commits, 2021/06/30
- 76/122: gnu: gtk+-2: Add missing inputs and search-path., guix-commits, 2021/06/30
- 77/122: gnu: gtk+-2: Update to 2.24.33., guix-commits, 2021/06/30
- 82/122: gnu: gtkmm: Update to 3.24.4., guix-commits, 2021/06/30
- 98/122: gnu: gst-plugins-bad: Update to 1.18.4.,
guix-commits <=
- 113/122: gnu: gtkmm: Change build-system and adjust arguments accordingly., guix-commits, 2021/06/30
- 71/122: gnu: wayland: Fix and move documentation., guix-commits, 2021/06/30
- 72/122: gnu: wayland: Update synopsis, description and license., guix-commits, 2021/06/30
- 79/122: gnu: gtk+: Add missing inputs., guix-commits, 2021/06/30
- 85/122: gnu: ibus: Enable documentation., guix-commits, 2021/06/30
- 87/122: gnu: ibus: Enable tests., guix-commits, 2021/06/30
- 68/122: gnu: json-glib: Enable documentation and man-pages., guix-commits, 2021/06/30
- 80/122: gnu: gtk+: Enable cloud-providers support., guix-commits, 2021/06/30
- 93/122: gnu: gst-plugins-base: Update to 1.18.4., guix-commits, 2021/06/30
- 101/122: gnu: cairo: Reintroduce security patches [security fixes]., guix-commits, 2021/06/30