anchor.diff:    mesonFlags = [
       "-Ddoc=disabled" # `hotdoc` not packaged in nixpkgs as of writing
       "-Dsidplay=disabled" # sidplay / sidplay/player.h isn't packaged in nixpkgs as of writing
  -  ];
  +  ] ++ (if enableGplPlugins then [
  +    "-Dgpl=enabled"
  +  ] else [
  +    "-Da52dec=disabled"
  +    "-Dcdio=disabled"
  +    "-Ddvdread=disabled"
  +    "-Dmpeg2dec=disabled"
  +    "-Dsidplay=disabled"
  +    "-Dx264=disabled"
  +  ]);
   
     postPatch = ''
       patchShebangs \
  
positive.code:   buildInputs = [
      gst-plugins-base
      orc
      a52dec
      libcdio
      libdvdread
      libmad
      libmpeg2
      x264
      libintl
      opencore-amr
    ] ++ lib.optionals stdenv.isDarwin [
      IOKit
      CoreFoundation
  
negative.code:       the plug-ins or the supporting libraries might not be how we'd
        like. The code might be widely known to present patent problems.
      '';
      license = if enableGplPlugins then licenses.gpl2Plus else licenses.lgpl2Plus;
      platforms = platforms.unix;
      maintainers = with maintainers; [ matthewbauer ];
    };
  