Unverified Commit 8dbe11b4 authored by Kylie McClain's avatar Kylie McClain Committed by Sandro Jäckel
Browse files

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).
parent 1014b658
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
{
  lib,
  mkKdeDerivation,
  qtmultimedia,
  libvlc,

  withVLC ? true,
}:
mkKdeDerivation {
  pname = "elisa";

  extraBuildInputs = [
    qtmultimedia
    libvlc
  ];
  extraBuildInputs = [ qtmultimedia ] ++ lib.optional withVLC libvlc;
  meta.mainProgram = "elisa";
}