diff options
author | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-05-22 00:56:03 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-22 00:56:03 +0000 |
commit | 901fb5e64e9fba64a408ffa8849a19e1cc9ab586 (patch) | |
tree | 2364c2adb097d7bf09f0376e2d1ca0159387d3c9 /pkgs/applications/audio/moc/default.nix | |
parent | 0841bba38aa1eed8396f3a583cbf19018d2574e8 (diff) | |
parent | b4fd56d50b3caeb21b672cf5c8f6f2aa70173840 (diff) | |
download | nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar.gz nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar.bz2 nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar.lz nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar.xz nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.tar.zst nixpkgs-901fb5e64e9fba64a408ffa8849a19e1cc9ab586.zip |
Merge master into staging-next
Diffstat (limited to 'pkgs/applications/audio/moc/default.nix')
-rw-r--r-- | pkgs/applications/audio/moc/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/applications/audio/moc/default.nix b/pkgs/applications/audio/moc/default.nix index 51d197fb0e0..783ef2dbb7d 100644 --- a/pkgs/applications/audio/moc/default.nix +++ b/pkgs/applications/audio/moc/default.nix @@ -14,11 +14,10 @@ , musepackSupport ? true, libmpc, libmpcdec, taglib , vorbisSupport ? true, libvorbis , speexSupport ? true, speex -, ffmpegSupport ? true, ffmpeg_3 +, ffmpegSupport ? true, ffmpeg , sndfileSupport ? true, libsndfile , wavpackSupport ? true, wavpack # Misc -, withffmpeg4 ? false, ffmpeg_4 , curlSupport ? true, curl , samplerateSupport ? true, libsamplerate , withDebug ? false @@ -39,7 +38,7 @@ in stdenv.mkDerivation rec { }; patches = [] - ++ opt withffmpeg4 ./moc-ffmpeg4.patch + ++ opt ffmpegSupport ./moc-ffmpeg4.patch ++ opt pulseSupport ./pulseaudio.patch; nativeBuildInputs = [ pkg-config ] @@ -60,8 +59,7 @@ in stdenv.mkDerivation rec { ++ lib.optionals musepackSupport [ libmpc libmpcdec taglib ] ++ opt vorbisSupport libvorbis ++ opt speexSupport speex - ++ opt (ffmpegSupport && !withffmpeg4) ffmpeg_3 - ++ opt (ffmpegSupport && withffmpeg4) ffmpeg_4 + ++ opt ffmpegSupport ffmpeg ++ opt sndfileSupport libsndfile ++ opt wavpackSupport wavpack # Misc |