kdePackages.elisa: Allow building without libVLC

Elisa supports using qtmultimedia's own facilities for audio playback,
rather than using Elisa's own custom VLC-based backend, which it will
prefer if available at build time. qtmultimedia's default backend on
most platforms is ffmpeg, and anecdotally, it's giving me better
performance than Elisa's VLC-based backend was.

It seems like most distributions build it with libVLC, with the notable
exceptions of Fedora, and Gentoo (which of course makes building with
VLC user-configurable).
This commit is contained in:
Kylie McClain
2025-11-24 14:36:50 +01:00
committed by Sandro Jäckel
parent 1014b658e3
commit 8dbe11b490
+4 -4
View File
@@ -1,14 +1,14 @@
{
lib,
mkKdeDerivation,
qtmultimedia,
libvlc,
withVLC ? true,
}:
mkKdeDerivation {
pname = "elisa";
extraBuildInputs = [
qtmultimedia
libvlc
];
extraBuildInputs = [ qtmultimedia ] ++ lib.optional withVLC libvlc;
meta.mainProgram = "elisa";
}