obs-studio: add new optional dependencies

This commit adds a new set of optional dependencies introduced with version 21.0 of OBS to allow Lua and Python 3 scripts to be run.

If this batch of new dependencies is not desired by the user, then they may set `scriptingSupport` to false to disable it.
This commit is contained in:
Christoph Neidahl 2019-01-10 22:58:20 +01:00
parent 0d028c3bee
commit 26f7df6b6a

View File

@ -21,6 +21,11 @@
, vlc
, mbedtls
, scriptingSupport ? true
, luajit
, swig
, python3
, alsaSupport ? false
, alsaLib
, pulseaudioSupport ? false
@ -68,6 +73,7 @@ in stdenv.mkDerivation rec {
makeWrapper
mbedtls
]
++ optional scriptingSupport [ luajit swig python3 ]
++ optional alsaSupport alsaLib
++ optional pulseaudioSupport libpulseaudio;