From c7a03250b130928a9d0c00e8861218abb08c22b5 Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Wed, 30 Mar 2016 18:03:53 +0300 Subject: [PATCH] gnu: gst-plugins-base: Don't build with orc on arm/mips architectures. * gnu/packages/gstreamer.scm (gst-plugins-base)[inputs]: Only use orc as an input on armhf or mips architectures. --- gnu/packages/gstreamer.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/gnu/packages/gstreamer.scm b/gnu/packages/gstreamer.scm index 5cf59cd..c44cbec 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -160,7 +160,6 @@ This package provides the core library and elements.") `(("gstreamer" ,gstreamer))) ; required by gstreamer-plugins-base-1.0.pc (inputs `(("cdparanoia" ,cdparanoia) - ("orc" ,orc) ("pango" ,pango) ("libogg" ,libogg) ("libtheora" ,libtheora) @@ -169,7 +168,12 @@ This package provides the core library and elements.") ("zlib" ,zlib) ("libXext" ,libxext) ("libxv" ,libxv) - ("alsa-lib" ,alsa-lib))) + ("alsa-lib" ,alsa-lib) + ,@(if (not (string-prefix? (or "armhf" "mips") + (or (%current-target-system) + (%current-system)))) + `(("orc" ,orc)) + '()))) (native-inputs `(("pkg-config" ,pkg-config) ("glib" ,glib "bin") -- 2.8.0.rc3