spf_template code.dogmap.org:gnu &&
prj_u2 prj_capture pkg_maj_min prj_sedarg1 's/^\([^.]*\.[^.]*\).*/\1/' "${spf_version?}" &&
spf_url home 'http://gegl.org/' &&
spf_url watch "ftp://ftp.gimp.org/pub/gegl/${pkg_maj_min?}/" &&
spf_url src "ftp://ftp.gimp.org/pub/gegl/${pkg_maj_min?}/gegl-${spf_version?}.tar.bz2" &&
spf_template_gnu_do_before_configure() {
  prj_sedfile operations/external/path.c 's%cairo/cairo.h%cairo.h%'
} &&
spf_depend babl &&
spf_depend code.dogmap.org:glib &&

# gtk
spf_depend code.dogmap.org:gtk degree optional &&
spf_depend code.dogmap.org:pango degree optional &&
spf_depend code.dogmap.org:cairo degree optional &&
spf_depend code.dogmap.org:freetype degree optional &&
spf_depend code.dogmap.org:pixman degree optional &&
spf_depend code.dogmap.org:fontconfig degree optional &&
spf_depend code.dogmap.org:libpng degree optional &&
spf_depend code.dogmap.org:libxrender degree optional &&
spf_depend code.dogmap.org:xproto degree optional flags include &&
spf_depend code.dogmap.org:renderproto degree optional flags include &&
spf_depend code.dogmap.org:libx11 degree optional &&
spf_depend code.dogmap.org:kbproto degree optional flags include &&
spf_depend code.dogmap.org:libxau degree optional &&
spf_depend code.dogmap.org:libxdmcp degree optional &&
spf_depend code.dogmap.org:atk degree optional &&
spf_depend code.dogmap.org:gdk-pixbuf degree optional &&
spf_depend code.dogmap.org:zlib degree optional && # for libpng

spf_depend code.dogmap.org:jpeg degree optional &&
spf_depend code.dogmap.org:sdl degree optional &&

spf_tested_version 0.1.6 &&
spf_tested_version 0.1.2 &&
spf_tested_version 0.0.22

# features: workshop website
# dependencies: asciidoc enscript ruby lua openexr rsvg openraw graphviz avformat spiro

