anchor.diff:      ++ optional speexSupport       speex
       ++ optional bs2bSupport        libbs2b
       ++ optional openalSupport      openalSoft
  -    ++ optional (openalSupport && stdenv.isDarwin) darwin.apple_sdk.frameworks.OpenAL
       ++ optional libpngSupport      libpng
       ++ optional youtubeSupport     youtube-dl
       ++ optional sdl2Support        SDL2
  
positive.code:     ++ optional drmSupport         libdrm
      ++ optional vapoursynthSupport vapoursynth
      ++ optional archiveSupport     libarchive
      ++ optionals dvdnavSupport     [ libdvdnav libdvdnav.libdvdread ]
      ++ optionals x11Support        [ libX11 libXext libGLU_combined libXxf86vm libXrandr ]
      ++ optionals waylandSupport    [ wayland wayland-protocols libxkbcommon ]
      ++ optionals stdenv.isDarwin (with darwin.apple_sdk.frameworks; [
        CoreFoundation libiconv Cocoa CoreAudio
      ]);
  
    enableParallelBuilding = true;
  
negative.code:     "--disable-libmpv-static"
      "--disable-static-build"
      "--disable-build-date" # Purity
      "--disable-macos-cocoa-cb" # Disable whilst Swift isn't supported
      (enableFeature archiveSupport "libarchive")
      (enableFeature dvdreadSupport "dvdread")
      (enableFeature dvdnavSupport "dvdnav")
  