gnu: totem: Fix test failure with GStreamer 1.18.

* gnu/packages/gnome.scm (totem)[arguments]: Add phase "patch-failing-test".
This commit is contained in:
Marius Bakke 2020-11-09 19:52:10 +01:00
parent 98a15c796a
commit 1564d1fd96
No known key found for this signature in database
GPG Key ID: A2A06DF2A33A54FA

View File

@ -6077,6 +6077,14 @@ discovery protocols.")
(substitute* "meson_post_install.py"
(("gtk-update-icon-cache") "true"))
#t))
(add-after 'unpack 'patch-failing-test
(lambda _
;; Work around test failure with GStreamer 1.18, because the test
;; relies on "und" not being mapped to a particular language:
;; https://gitlab.gnome.org/GNOME/totem/-/issues/450
(substitute* "src/test-totem.c"
(("und") "nosuchlang"))
#t))
(add-before
'install 'disable-cache-generation
(lambda _