Files
nixpkgs/pkgs/kde/gear/elisa/default.nix
Kylie McClain 8dbe11b490 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).
2025-11-24 14:36:50 +01:00

15 lines
216 B
Nix

{
lib,
mkKdeDerivation,
qtmultimedia,
libvlc,
withVLC ? true,
}:
mkKdeDerivation {
pname = "elisa";
extraBuildInputs = [ qtmultimedia ] ++ lib.optional withVLC libvlc;
meta.mainProgram = "elisa";
}