Unverified Commit ef14cdd5 authored by Weijia Wang's avatar Weijia Wang Committed by GitHub
Browse files

Merge pull request #249930 from Arjun31415/update-cava

cava: add SDL2 library, Pipewire and OpenGL during build
parents d8a85482 8a106b44
Loading
Loading
Loading
Loading
+12 −0
Original line number Diff line number Diff line
@@ -2,12 +2,18 @@
, stdenv
, fetchFromGitHub
, autoreconfHook
, autoconf-archive
, alsa-lib
, fftw
, iniparser
, libpulseaudio
, pipewire
, ncurses
, pkgconf
, SDL2
, libGL
, withSDL2 ? false
, withPipewire ? false
}:

stdenv.mkDerivation rec {
@@ -27,10 +33,16 @@ stdenv.mkDerivation rec {
    libpulseaudio
    ncurses
    iniparser
  ] ++ lib.optionals withSDL2 [
    SDL2
    libGL
  ] ++ lib.optionals withPipewire [
    pipewire
  ];

  nativeBuildInputs = [
    autoreconfHook
    autoconf-archive
    pkgconf
  ];