From 17984b079495b79e1dba57113b3b9e44a632cc3c Mon Sep 17 00:00:00 2001 From: Efraim Flashner Date: Mon, 18 Jul 2022 00:24:22 +0300 Subject: gnu: gst-plugins-bad: Limit inputs based on architecture. * gnu/packages/gstreamer.scm (gst-plugins-bad)[inputs]: Only build with mediasdk and svt-hevc on supported 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 dd537c9d10..a1503602ad 100644 --- a/gnu/packages/gstreamer.scm +++ b/gnu/packages/gstreamer.scm @@ -841,7 +841,9 @@ (define-public gst-plugins-bad ("libgme" ,libgme) ("libgudev" ,libgudev) ("libkate" ,libkate) - ("libmfx" ,mediasdk) + ,@(if (target-x86?) + `(("libmfx" ,mediasdk)) + '()) ("libmms" ,libmms) ("libmodplug" ,libmodplug) ("libmpcdec" ,libmpcdec) @@ -887,7 +889,9 @@ (define-public gst-plugins-bad ("soundtouch" ,soundtouch) ("spandsp" ,spandsp) ("srt" ,srt) - ("svthevcenc" ,svt-hevc) + ,@(if (target-x86?) + `(("svthevcenc" ,svt-hevc)) + '()) ("tinyalsa" ,tinyalsa) ("transcode" ,transcode) ("usrsctp" ,usrsctp) -- cgit v1.2.3