diff options
author | Adam Stephens <adam@valkor.net> | 2024-01-07 22:08:41 -0500 |
---|---|---|
committer | Adam Stephens <adam@valkor.net> | 2024-01-07 22:08:41 -0500 |
commit | eb9c7d29b3683db9a598cd5f29c50322e8098767 (patch) | |
tree | e8453bd30015d224f17aae40988b0197f5eb9ac9 /pkgs/applications/audio | |
parent | 2dc12ba788c985a9a623d89e75993f0ee7d907a1 (diff) |
squeezelite: add support for RPI GPIO
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/squeezelite/default.nix | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix index 77bbde951584a..58261e4a9fcc6 100644 --- a/pkgs/applications/audio/squeezelite/default.nix +++ b/pkgs/applications/audio/squeezelite/default.nix @@ -2,6 +2,7 @@ , stdenv , fetchFromGitHub , flac +, libgpiod , libmad , libpulseaudio , libvorbis @@ -62,7 +63,8 @@ stdenv.mkDerivation { ++ optional ffmpegSupport ffmpeg ++ optional opusSupport opusfile ++ optional resampleSupport soxr - ++ optional sslSupport openssl; + ++ optional sslSupport openssl + ++ optional (stdenv.isAarch32 or stdenv.isAarch64) libgpiod; enableParallelBuilding = true; @@ -81,7 +83,8 @@ stdenv.mkDerivation { ++ optional portaudioSupport "-DPORTAUDIO" ++ optional pulseSupport "-DPULSEAUDIO" ++ optional resampleSupport "-DRESAMPLE" - ++ optional sslSupport "-DUSE_SSL"; + ++ optional sslSupport "-DUSE_SSL" + ++ optional (stdenv.isAarch32 or stdenv.isAarch64) "-DRPI"; env = lib.optionalAttrs stdenv.isDarwin { LDADD = "-lportaudio -lpthread"; |