vivaldi: support for Kerberos authentication

libkrb5 is a dynamic (dlopen) runtime dependency. If the library is
missing, Kerberos authentication silently fails. By adding it to RPATH,
vivaldi (actually the chromium engine) will successfully detect the
library.
This commit is contained in:
Michael Adler 2023-09-29 08:28:16 +02:00
parent d4df1448cb
commit e00010020a

View File

@ -16,6 +16,7 @@
, enableWidevine ? false, widevine-cdm ? null
, commandLineArgs ? ""
, pulseSupport ? stdenv.isLinux, libpulseaudio
, kerberosSupport ? true, libkrb5
}:
let
@ -57,7 +58,8 @@ in stdenv.mkDerivation rec {
libdrm mesa vulkan-loader
wayland pipewire
] ++ lib.optional proprietaryCodecs vivaldi-ffmpeg-codecs
++ lib.optional pulseSupport libpulseaudio;
++ lib.optional pulseSupport libpulseaudio
++ lib.optional kerberosSupport libkrb5;
libPath = lib.makeLibraryPath buildInputs
+ lib.optionalString (stdenv.is64bit)