meson: add building of pdf-load

parent 7a63a13e
Pipeline #153621 passed with stages
in 12 minutes and 44 seconds
......@@ -252,6 +252,10 @@ libwebp = dependency('libwebp', version:'>=0.5.0',
required: get_option('webp')
)
poppler = dependency('poppler-glib', version: '>=0.71.0',
required: get_option('poppler')
)
pygobject3 = dependency('pygobject-3.0', version: '>=3.2.0',
required: get_option('pygobject')
)
......@@ -368,6 +372,7 @@ message('\n'.join(['',
' Cairo: @0@'.format(cairo.found()),
' Pango: @0@'.format(pango.found()),
' pangocairo: @0@'.format(pangocairo.found()),
' poppler: @0@'.format(poppler.found()),
' GDKPixbuf: @0@'.format(gdk_pixbuf.found()),
' JPEG: @0@'.format(libjpeg.found()),
' PNG: @0@'.format(libpng.found()),
......
......@@ -24,6 +24,7 @@ option('openexr', type: 'feature', value: 'auto')
option('cairo', type: 'feature', value: 'auto')
option('pango', type: 'feature', value: 'auto')
option('pangocairo', type: 'feature', value: 'auto')
option('poppler', type: 'feature', value: 'auto')
option('pygobject', type: 'feature', value: 'auto')
option('sdl1', type: 'feature', value: 'disabled')
option('sdl2', type: 'feature', value: 'auto')
......
......@@ -29,6 +29,12 @@ if libpng.found()
]
endif
if poppler.found()
operations += [
{ 'name': 'pdf-load', 'deps': poppler }
]
endif
if libjpeg.found()
operations += [
{ 'name': 'jpg-load', 'deps': libjpeg },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment