obs-studio: audio support
This commit is contained in:
parent
59faa759da
commit
1281f51b69
@ -7,9 +7,14 @@
|
|||||||
, qt5
|
, qt5
|
||||||
, libv4l
|
, libv4l
|
||||||
, x264
|
, x264
|
||||||
|
|
||||||
|
, pulseaudioSupport ? false
|
||||||
|
, libpulseaudio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
|
optional = stdenv.lib.optional;
|
||||||
|
in stdenv.mkDerivation rec {
|
||||||
name = "obs-studio-${version}";
|
name = "obs-studio-${version}";
|
||||||
version = "0.10.0";
|
version = "0.10.0";
|
||||||
|
|
||||||
@ -26,7 +31,8 @@ stdenv.mkDerivation rec {
|
|||||||
qt5.base
|
qt5.base
|
||||||
qt5.x11extras
|
qt5.x11extras
|
||||||
x264
|
x264
|
||||||
];
|
]
|
||||||
|
++ optional pulseaudioSupport libpulseaudio;
|
||||||
|
|
||||||
# obs attempts to dlopen libobs-opengl, it fails unless we make sure
|
# 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
|
# DL_OPENGL is an explicit path. Not sure if there's a better way
|
||||||
|
@ -12089,7 +12089,9 @@ let
|
|||||||
inherit (gnome) libglade;
|
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 { };
|
ocrad = callPackage ../applications/graphics/ocrad { };
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user