anchor.diff:      "--disable-installed-tests"
       "--disable-always-build-tests"
       "--disable-examples"
  -    "--with-x"
  +    (wtFlag "x" (xorg != null) null)
     ];
   
     meta = with stdenv.lib; {
  
positive.code: 
  with {
    inherit (stdenv.lib)
      enFlag;
  };
  
  stdenv.mkDerivation rec {
    name = "clutter-${version}";
    versionMajor = "1.24";
    versionMinor = "2";
    version = "${versionMajor}.${versionMinor}";
  
    src = fetchurl {
      url = "mirror://gnome/sources/clutter/${versionMajor}/${name}.tar.xz";
      sha256 = "0qyd0cw17wi8gl6y9z2j2lh2gwghxskfmsdvw4ayrgxwnj6cjccn";
    };
  
    nativeBuildInputs = [
  
negative.code:   configureFlags = [
      "--enable-glibtest"
      "--enable-Bsymbolic"
      (enFlag "x11-backend" (xorg != null) null)
      "--disable-win32-backend"
      "--disable-quartz-backend"
      "--enable-gdk-backend"
      (enFlag "wayland-backend" (wayland != null) null)
      "--enable-egl-backend"
      "--disable-mir-backend"
      "--disable-cex100-backend"
      # TODO: tslib, touch screen support
      "--disable-tslib-input"
      "--enable-evdev-input"
      (enFlag "wayland-compositor" (wayland != null) null)
      (enFlag "xinput" (xorg != null) null)
      (enFlag "gdk-pixbuf" (gdk-pixbuf != null) null)
      "--disable-debug"
      "--disable-deprecated"
      "--disable-maintainer-flags"
      #"--disable-Werror"
      "--disable-gcov"
      (enFlag "introspection" (gobject-introspection != null) null)
      "--disable-gtk-doc"
      "--disable-gtk-doc-html"
      "--disable-gtk-doc-pdf"
  