diff options
author | Adam C. Stephens <2071575+adamcstephens@users.noreply.github.com> | 2024-01-13 18:02:24 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-13 18:02:24 -0500 |
commit | c13348cde75b1aff57d6fd32277a74296a115320 (patch) | |
tree | 0f7860def1b1c42d4551966dd1a8b1fa1dd512cc /pkgs/applications/audio | |
parent | f27977ae290a45f283b2613b39915a32bf048925 (diff) | |
parent | eb9c7d29b3683db9a598cd5f29c50322e8098767 (diff) |
Merge pull request #279493 from adamcstephens/squeezelite/1465
squeezelite: 1.9.9.1463 -> 2.0.0.1465, RPI GPIO support
Diffstat (limited to 'pkgs/applications/audio')
-rw-r--r-- | pkgs/applications/audio/squeezelite/default.nix | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/applications/audio/squeezelite/default.nix b/pkgs/applications/audio/squeezelite/default.nix index 3645651c4373f..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 @@ -44,13 +45,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 ] @@ -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"; |