anchor.diff:    ];
   
     mesonFlags = [
  -    "-Dgtk_doc=true"
  -    "-Dintrospection=${if gobject-introspection != null then "enabled" else "disabled"}"
  +    "-Dgtk_doc=${lib.boolToString withGtkDoc}"
  +    "-Dintrospection=${if (stdenv.buildPlatform == stdenv.hostPlatform) then "enabled" else "disabled"}"
       "-Dgio_sniffing=false"
     ];
   
  
positive.code:       moveToOutput "bin" "$dev"
        moveToOutput "bin/gdk-pixbuf-thumbnailer" "$out"
  
        # So that devhelp can find this.
        mkdir -p "$devdoc/share/devhelp"
        mv "$out/share/doc" "$devdoc/share/devhelp/books"
      '' + lib.optionalString stdenv.isDarwin ''
        # meson erroneously installs loaders with .dylib extension on Darwin.
        # Their @rpath has to be replaced before gdk-pixbuf-query-loaders looks at them.
  
negative.code:     '' + lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
        # We need to install 'loaders.cache' in lib/gdk-pixbuf-2.0/2.10.0/
        $dev/bin/gdk-pixbuf-query-loaders --update-cache
      '' + lib.optionalString withGtkDoc ''
        # So that devhelp can find this.
        mkdir -p "$devdoc/share/devhelp"
        mv "$out/share/doc" "$devdoc/share/devhelp/books"
      '';
  
    # The fixDarwinDylibNames hook doesn't patch binaries.
  