gnu: gst-plugins-good: Fix test failure on 32-bit systems.

* gnu/packages/gstreamer.scm (gst-plugins-good)[arguments]: Add phase
fix-broken-test.
This commit is contained in:
Marius Bakke 2020-11-13 11:35:44 +01:00
parent 4688dc9bb8
commit 69967919b3
No known key found for this signature in database
GPG key ID: A2A06DF2A33A54FA

View file

@ -597,6 +597,14 @@ (define-public gst-plugins-good
`(#:glib-or-gtk? #t ; To wrap binaries and/or compile schemas
#:phases
(modify-phases %standard-phases
(add-after 'unpack 'fix-broken-test
(lambda _
;; Fix test failure on 32-bit. Remove for > 1.18.1.
;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-good/-/issues/803
(substitute* "tests/check/elements/qtdemux.c"
(("10000000")
"G_GUINT64_CONSTANT (10000000)"))
#t))
(add-before 'check 'pre-check
(lambda _
;; Tests require a running X server.