diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-11-09 15:29:48 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-11-09 15:29:48 +0000 |
| commit | 1427603608bd89846e363d478547a535eef75943 (patch) | |
| tree | 2810e4f509a1c62793d4267ed6cd6979d4151bc9 /wscript | |
| parent | bd049d028cac4c57ccfbb84f35565cf1579eadab (diff) | |
Bump libdcp for asdcplib Debian unstable build fix.
Diffstat (limited to 'wscript')
| -rw-r--r-- | wscript | 24 |
1 files changed, 22 insertions, 2 deletions
@@ -237,19 +237,39 @@ def configure(conf): # cairomm conf.check_cfg(package='cairomm-1.0', args='--cflags --libs', uselib_store='CAIROMM', mandatory=True) - # See if we have Cairo::ImageSurface::format_stride_for_width + # See if we have Cairo::ImageSurface::format_stride_for_width; Centos 5 does not conf.check_cxx(fragment=""" #include <cairomm/cairomm.h> int main(void) { - Cairo::ImageSurface::format_stride_for_width (Cairo::FORMAT_ARGB, 1024);\n + Cairo::ImageSurface::format_stride_for_width (Cairo::FORMAT_ARGB32, 1024);\n return 0; }\n """, mandatory=False, + cxxflags='-std=c++11', msg='Checking for format_stride_for_width', okmsg='yes', includes=conf.env['INCLUDES_CAIROMM'], + uselib='CAIROMM', define_name='DCPOMATIC_HAVE_FORMAT_STRIDE_FOR_WIDTH') + # See if we have Pango::Layout::show_in_cairo_context; Centos 5 does not + conf.check_cxx(fragment=""" + #include <pangomm.h> + int main(void) { + Cairo::RefPtr<Cairo::Context> context; + Glib::RefPtr<Pango::Layout> layout; + layout->show_in_cairo_context (context); + return 0; }\n + """, + mandatory=False, + msg='Checking for show_in_cairo_context', + cxxflags='-std=c++11', + okmsg='yes', + includes=conf.env['INCLUDES_PANGOMM'], + uselib='PANGOMM', + define_name='DCPOMATIC_HAVE_SHOW_IN_CAIRO_CONTEXT') + + # libcxml if conf.options.static_cxml: conf.check_cfg(package='libcxml', atleast_version='0.15.1', args='--cflags', uselib_store='CXML', mandatory=True) |
