aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2020-01-12 19:13:03 +0100
committerMarius Bakke <mbakke@fastmail.com>2020-01-12 20:33:53 +0100
commitcc1b2b3e1366d254c653deb0af6687bcfb6f0ec1 (patch)
treee18c292d63fedcb75b57542ba522f30651d89c2e
parent08b7a278bcd2d450db112fbb785197cf83f2bd06 (diff)
downloadpatches-cc1b2b3e1366d254c653deb0af6687bcfb6f0ec1.tar
patches-cc1b2b3e1366d254c653deb0af6687bcfb6f0ec1.tar.gz
gnu: gst-plugins-base: Do not propagate Orc on armhf systems.
* gnu/packages/gstreamer.scm (gst-plugins-base)[propagated-inputs]: Conditionally add ORC.
-rw-r--r--gnu/packages/gstreamer.scm11
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm
index 323e3ccfee..63b4179bc6 100644
--- a/gnu/packages/gstreamer.scm
+++ b/gnu/packages/gstreamer.scm
@@ -7,7 +7,7 @@
;;; Copyright © 2016, 2018 Leo Famulari <leo@famulari.name>
;;; Copyright © 2017 Ricardo Wurmus <rekado@elephly.net>
;;; Copyright © 2018 Tobias Geerinckx-Rice <me@tobias.gr>
-;;; Copyright © 2019 Marius Bakke <mbakke@fastmail.com>
+;;; Copyright © 2019, 2020 Marius Bakke <mbakke@fastmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -168,7 +168,14 @@ This package provides the core library and elements.")
(propagated-inputs
`(("glib" ,glib) ;required by gstreamer-sdp-1.0.pc
("gstreamer" ,gstreamer) ;required by gstreamer-plugins-base-1.0.pc
- ("orc" ,orc))) ;required by gstreamer-audio-1.0.pc
+
+ ;; XXX: Do not enable Orc optimizations on ARM systems because
+ ;; it leads to two test failures.
+ ;; https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/issues/683
+ ,@(if (string-prefix? "arm" (or (%current-target-system)
+ (%current-system)))
+ '()
+ `(("orc" ,orc))))) ;required by gstreamer-audio-1.0.pc
(inputs
`(("cdparanoia" ,cdparanoia)
("pango" ,pango)