3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #8496 from jb55/obs-studio-audio

obs-studio: add audio support
This commit is contained in:
Arseniy Seroka 2015-06-26 00:59:05 +03:00
commit 55d7d52d13
2 changed files with 11 additions and 3 deletions

View file

@ -7,9 +7,14 @@
, qt5
, libv4l
, x264
, pulseaudioSupport ? false
, libpulseaudio
}:
stdenv.mkDerivation rec {
let
optional = stdenv.lib.optional;
in stdenv.mkDerivation rec {
name = "obs-studio-${version}";
version = "0.10.0";
@ -26,7 +31,8 @@ stdenv.mkDerivation rec {
qt5.base
qt5.x11extras
x264
];
]
++ optional pulseaudioSupport libpulseaudio;
# obs attempts to dlopen libobs-opengl, it fails unless we make sure
# DL_OPENGL is an explicit path. Not sure if there's a better way

View file

@ -12087,7 +12087,9 @@ let
inherit (gnome) libglade;
};
obs-studio = callPackage ../applications/video/obs-studio { };
obs-studio = callPackage ../applications/video/obs-studio {
pulseaudioSupport = config.pulseaudio or false;
};
ocrad = callPackage ../applications/graphics/ocrad { };