[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
25/201: gnu: gst-plugins-bad: Update to 1.18.4.
From: |
guix-commits |
Subject: |
25/201: gnu: gst-plugins-bad: Update to 1.18.4. |
Date: |
Mon, 1 Nov 2021 23:18:24 -0400 (EDT) |
apteryx pushed a commit to branch core-updates-frozen-batched-changes
in repository guix.
commit 844f703ca8475a5f174ef75447aa4cc09acf158f
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 fbe27da..f17bc23 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,
- 50/201: gnu: lib2geom: Update to 1.1., (continued)
- 50/201: gnu: lib2geom: Update to 1.1., guix-commits, 2021/11/01
- 56/201: gnu: mozjs-78: Update to 78.15.0., guix-commits, 2021/11/01
- 48/201: gnu: python-gst: Update to 1.19.2., guix-commits, 2021/11/01
- 54/201: gnu: abseil-cpp: Remove googletest patch., guix-commits, 2021/11/01
- 57/201: gnu: Add a missing copyright., guix-commits, 2021/11/01
- 71/201: gnu: dbus-c++: Fix build., guix-commits, 2021/11/01
- 75/201: gnu: glibc: Remove unneeded nscd patching., guix-commits, 2021/11/01
- 55/201: gnu: abseil-cpp: Update to 20210324.2., guix-commits, 2021/11/01
- 67/201: gnu: python-gst: Update to 1.18.5., guix-commits, 2021/11/01
- 70/201: gnu: python-keras: Enable parallel tests., guix-commits, 2021/11/01
- 25/201: gnu: gst-plugins-bad: Update to 1.18.4.,
guix-commits <=
- 44/201: gnu: gst-plugins-bad: Update to 1.19.2., guix-commits, 2021/11/01
- 42/201: gnu: gst-plugins-good: Update to 1.19.2., guix-commits, 2021/11/01
- 125/201: gnu: glib: Update to 2.70, specify a bindir prefix and hide package., guix-commits, 2021/11/01
- 135/201: gnu: ungoogled-chromium: Use the new lld-as-ld-wrapper., guix-commits, 2021/11/01
- 146/201: gnu: nspr: Normalize inputs., guix-commits, 2021/11/01
- 151/201: gnu: python-hypothesis: Update to 6.23.4., guix-commits, 2021/11/01
- 153/201: gnu: boost: Update to 1.77.0., guix-commits, 2021/11/01
- 157/201: gnu: python-dateutil: Update to 2.8.2., guix-commits, 2021/11/01
- 159/201: gnu: gstreamer: Disable the pipelines-seek test., guix-commits, 2021/11/01
- 176/201: gnu: Add libxcvt., guix-commits, 2021/11/01