vivaldi: add libpulseaudio as optional dependency (#157940)
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
This commit is contained in:
parent
3fd559bcf7
commit
ae0b6ee0b9
1 changed files with 3 additions and 1 deletions
|
@ -12,6 +12,7 @@
|
||||||
, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
|
, proprietaryCodecs ? false, vivaldi-ffmpeg-codecs ? null
|
||||||
, enableWidevine ? false, vivaldi-widevine ? null
|
, enableWidevine ? false, vivaldi-widevine ? null
|
||||||
, commandLineArgs ? ""
|
, commandLineArgs ? ""
|
||||||
|
, pulseSupport ? stdenv.isLinux, libpulseaudio
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -40,7 +41,8 @@ in stdenv.mkDerivation rec {
|
||||||
freetype fontconfig libXrender libuuid expat glib nss nspr
|
freetype fontconfig libXrender libuuid expat glib nss nspr
|
||||||
libxml2 pango cairo
|
libxml2 pango cairo
|
||||||
libdrm mesa
|
libdrm mesa
|
||||||
] ++ lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs;
|
] ++ lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs
|
||||||
|
++ lib.optional pulseSupport libpulseaudio;
|
||||||
|
|
||||||
libPath = lib.makeLibraryPath buildInputs
|
libPath = lib.makeLibraryPath buildInputs
|
||||||
+ lib.optionalString (stdenv.is64bit)
|
+ lib.optionalString (stdenv.is64bit)
|
||||||
|
|
Loading…
Reference in a new issue