spf_template code.dogmap.org:xorg &&
spf_template_xorg_section driver &&
spf_depend code.dogmap.org:xproto        flags include &&
spf_depend code.dogmap.org:kbproto       flags include &&
spf_depend code.dogmap.org:fontsproto    flags include &&
spf_depend code.dogmap.org:xineramaproto flags include &&
spf_depend code.dogmap.org:randrproto    flags include &&
spf_depend code.dogmap.org:renderproto   flags include &&
spf_depend code.dogmap.org:videoproto    flags include &&
spf_depend code.dogmap.org:xextproto     flags include &&
spf_depend code.dogmap.org:xf86driproto  flags include &&
spf_depend code.dogmap.org:glproto       flags include &&
spf_depend code.dogmap.org:inputproto    flags include &&
spf_depend code.dogmap.org:dri2proto     flags include &&
#spf_depend code.dogmap.org:xorg-server flags include when runtime version_sensitive yes &&
spf_depend code.dogmap.org:xorg-server &&
spf_depend code.dogmap.org:libxau      flags include &&
spf_depend code.dogmap.org:libxdmcp    flags include &&
spf_depend code.dogmap.org:libxext     flags include &&
spf_depend code.dogmap.org:libx11      flags include &&
spf_depend code.dogmap.org:libxv       flags include &&
spf_depend code.dogmap.org:mesalib     flags include &&
spf_depend code.dogmap.org:libxcb      flags include &&
spf_depend code.dogmap.org:libpthread-stubs flags include &&
spf_depend code.dogmap.org:libdrm &&
spf_depend code.dogmap.org:pixman &&
spf_depend code.dogmap.org:libpciaccess &&
spf_depend libxvmc &&
spf_template_gnu_do_before_configure() {
  case "${spf_version?}" in
    2.7.1) prj_sedfile configure \
      '/^CP*FLAGS="\$XORG_CFLAGS \$DRI_CFLAGS \$drm_cflags"/d';;
    *) ;;
  esac &&
  set "${spf_path_conf?}"/xorg-server/compile/src/xorg-server* &&
  spf_args configure --with-xserver-source="$1"
} &&
spf_template_gnu_do_before_make() {
  spf_args make CPPFLAGS="${spf_args_cpp?}"
} &&
spf_tested_version 2.13.0 &&
spf_tested_version 2.7.1 &&
spf_tested_version 2.5.1

