[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/149: gnu: gst-plugins-bad: Update to 1.18.4.
From: |
guix-commits |
Subject: |
25/149: gnu: gst-plugins-bad: Update to 1.18.4. |
Date: |
Tue, 26 Oct 2021 23:52:01 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 46133986012db536227c2cd6e977e1f44b19744e
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 | 31 +++++++++++++++++++++++++------
1 file changed, 25 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 5fb5559..c1b7b24 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -711,7 +711,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/"
@@ -719,7 +719,7 @@ model to base your own plug-in on, here it is.")
(patches (search-patches "gst-plugins-bad-fix-overflow.patch"))
(sha256
(base32
- "06ildd4rl6cynirv3p00d2ddf5is9svj4i7mkahldzhq24pq5mca"))
+ "0py8k4pbalm9mxkpjbjxis0gp7g74wg5g4yax5q8rccmany0ds3l"))
(modules '((guix build utils)))
(snippet
'(begin
@@ -728,6 +728,7 @@ model to base your own plug-in on, here it is.")
(build-system meson-build-system)
(arguments
`(#:configure-flags '("-Dsctp-internal-usrsctp=disabled")
+ #:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
,@%common-gstreamer-phases
@@ -755,21 +756,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,
- 34/149: gnu: gnupg: Don't explicitly return #t from phases., (continued)
- 34/149: gnu: gnupg: Don't explicitly return #t from phases., guix-commits, 2021/10/26
- 44/149: gnu: gst-plugins-bad: Update to 1.19.2., guix-commits, 2021/10/26
- 46/149: gnu: gst-libav: Update to 1.19.2., guix-commits, 2021/10/26
- 48/149: gnu: python-gst: Update to 1.19.2., guix-commits, 2021/10/26
- 02/149: gnu: gst-plugins-base: Depend on Opus for all systems., guix-commits, 2021/10/26
- 53/149: gnu: googletest: Update to 1.11.0., guix-commits, 2021/10/26
- 03/149: gnu: rust: Update to 1.50., guix-commits, 2021/10/26
- 17/149: gnu: mutter: Propagate gdk-pixbuf+svg rather than gdk-pixbuf., guix-commits, 2021/10/26
- 21/149: gnu: gst-plugins-base: Enable more features., guix-commits, 2021/10/26
- 24/149: gnu: gst-libav: Update to 1.18.4., guix-commits, 2021/10/26
- 25/149: gnu: gst-plugins-bad: Update to 1.18.4.,
guix-commits <=
- 23/149: gnu: gst-plugins-ugly: Update to 1.18.4., guix-commits, 2021/10/26
- 45/149: gnu: gst-plugins-ugly: Update to 1.19.2., guix-commits, 2021/10/26
- 10/149: gnu: gdk-pixbuf+svg: Fix typo in comment., guix-commits, 2021/10/26
- 09/149: gnu: gdk-pixbuf: Add a debug output., guix-commits, 2021/10/26
- 13/149: gnu: libnotify: Propagate gdk-pixbuf+svg rather than gdk-pixbuf., guix-commits, 2021/10/26
- 33/149: gnu: bluez: Update to 5.59., guix-commits, 2021/10/26
- 36/149: gnu: python-sphinxcontrib-htmlhelp: Update to 2.0.0., guix-commits, 2021/10/26
- 39/149: gnu: gstreamer-docs: Update to 1.19.2., guix-commits, 2021/10/26
- 35/149: gnu: gnupg: Update to 2.2.30., guix-commits, 2021/10/26
- 41/149: gnu: gst-plugins-base: Update to 1.19.2., guix-commits, 2021/10/26