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.
This commit is contained in:
Efraim Flashner 2022-07-18 00:24:22 +03:00
parent 84997d9506
commit 17984b0794
No known key found for this signature in database
GPG key ID: 41AAE7DCCA3D8351

View file

@ -841,7 +841,9 @@ (define-public gst-plugins-bad
("libgme" ,libgme) ("libgme" ,libgme)
("libgudev" ,libgudev) ("libgudev" ,libgudev)
("libkate" ,libkate) ("libkate" ,libkate)
("libmfx" ,mediasdk) ,@(if (target-x86?)
`(("libmfx" ,mediasdk))
'())
("libmms" ,libmms) ("libmms" ,libmms)
("libmodplug" ,libmodplug) ("libmodplug" ,libmodplug)
("libmpcdec" ,libmpcdec) ("libmpcdec" ,libmpcdec)
@ -887,7 +889,9 @@ (define-public gst-plugins-bad
("soundtouch" ,soundtouch) ("soundtouch" ,soundtouch)
("spandsp" ,spandsp) ("spandsp" ,spandsp)
("srt" ,srt) ("srt" ,srt)
("svthevcenc" ,svt-hevc) ,@(if (target-x86?)
`(("svthevcenc" ,svt-hevc))
'())
("tinyalsa" ,tinyalsa) ("tinyalsa" ,tinyalsa)
("transcode" ,transcode) ("transcode" ,transcode)
("usrsctp" ,usrsctp) ("usrsctp" ,usrsctp)