diff options
author | Steve Chaplin <> | 2012-05-22 20:07:51 +0800 |
---|---|---|
committer | Steve Chaplin <> | 2012-05-22 20:07:51 +0800 |
commit | 2f1f3788fa2d9b693c77645edc44f35e7073aadd (patch) | |
tree | 478c5612ab06eab0aeb57052b555607a20a2f436 | |
parent | f3435910d8f5365b45ebd4216f4043383c9e3e19 (diff) | |
download | py2cairo-master.tar.gz |
Bug #50134.
-rw-r--r-- | src/surface.c | 1 | ||||
-rw-r--r-- | wscript | 14 |
2 files changed, 12 insertions, 3 deletions
diff --git a/src/surface.c b/src/surface.c index d46a77c..a75a737 100644 --- a/src/surface.c +++ b/src/surface.c @@ -43,6 +43,7 @@ * PycairoImageSurface, * PycairoPDFSurface, * PycairoPSSurface, + * PycairoRecordingSurface, * PycairoSVGSurface, * PycairoWin32Surface, * PycairoWin32PrintingSurface, @@ -8,7 +8,8 @@ d = top APPNAME='py2cairo' VERSION='1.10.1' -cairo_version_required = '1.10.0' +cairo_version_required = '1.10.2' +xpyb_version_required = '1.3' def options(ctx): @@ -27,8 +28,15 @@ def configure(ctx): ctx.check_tool('python') ctx.check_python_version((2,6,0)) ctx.check_python_headers() - ctx.check_cfg(package='cairo', atleast_version=cairo_version_required, - args='--cflags --libs') + + ctx.check_cfg(package='cairo', + atleast_version=cairo_version_required, + args='--cflags --libs') + + ctx.check_cfg(package='xpyb', + atleast_version=xpyb_version_required, + args='--cflags --libs', + mandatory=False) # add gcc options if env['CC_NAME'] == 'gcc': |