obs-studio-plugins.obs-pipewire-audio-capture: fix build for obs-28

This commit is contained in:
Sebastian Sellmeier 2022-10-08 04:25:09 +02:00
parent 37bd39839a
commit 762a9d2222
No known key found for this signature in database
GPG Key ID: 51E2BE0CCC826F98

View File

@ -22,6 +22,15 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ninja pkg-config ];
buildInputs = [ obs-studio pipewire ];
cmakeFlags = [
"-DLIBOBS_INCLUDE_DIR=${obs-studio.src}/libobs"
"-Wno-dev"
];
preConfigure = ''
cp ${obs-studio.src}/cmake/external/ObsPluginHelpers.cmake cmake/FindLibObs.cmake
'';
meta = with lib; {
description = " Audio device and application capture for OBS Studio using PipeWire ";
homepage = "https://github.com/dimtpap/obs-pipewire-audio-capture";