From 2dc12ba788c985a9a623d89e75993f0ee7d907a1 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sun, 7 Jan 2024 21:56:38 -0500 Subject: [PATCH 1/2] squeezelite: 1.9.9.1463 -> 2.0.0.1465 --- pkgs/applications/audio/squeezelite/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix index 3645651c4373..77bbde951584 100644 --- a/pkgs/applications/audio/squeezelite/default.nix +++ b/pkgs/applications/audio/squeezelite/default.nix @@ -44,13 +44,13 @@ stdenv.mkDerivation { pname = binName; # versions are specified in `squeezelite.h` # see https://github.com/ralph-irving/squeezelite/issues/29 - version = "1.9.9.1463"; + version = "2.0.0.1465"; src = fetchFromGitHub { owner = "ralph-irving"; repo = "squeezelite"; - rev = "c2534dc4139f3635ff7aed49b90ff03c43723dd9"; - hash = "sha256-MTGeF62jb7auOtUDougWZz7VJUNCBD/QL9jfDB7UmQE="; + rev = "6de9e229aa4cc7c3131ff855f3ead39581127090"; + hash = "sha256-qSRmiX1+hbsWQsU9cRQ7QRkdXs5Q6aE7n7lxZsx8+Hs="; }; buildInputs = [ flac libmad libvorbis mpg123 ] From eb9c7d29b3683db9a598cd5f29c50322e8098767 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Sun, 7 Jan 2024 22:08:41 -0500 Subject: [PATCH 2/2] squeezelite: add support for RPI GPIO --- pkgs/applications/audio/squeezelite/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix index 77bbde951584..58261e4a9fcc 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";