# IT4Innovations 2018

easyblock = 'CMakeMake'

name = 'poppler'
version = '0.66.0'

homepage = 'https://poppler.freedesktop.org/'
description = "Poppler is a PDF rendering library based on the xpdf-3.0 code base."

toolchain = {'name': 'GCC', 'version': '6.3.0-2.27'}

source_urls = ['https://poppler.freedesktop.org']
sources = [SOURCELOWER_TAR_XZ]

patches = [
    'poppler-0.66.0.patch1',
    'poppler-0.66.0.patch2',
    'poppler-0.66.0.patch3',
]

dependencies = [
    ('X11', '20170314', '', True),
    ('Qt5', '5.11.1'),
    ('cairo', '1.14.12', '', True),
    ('fontconfig', '2.13.0', '-libpng-1.6.34', True),
    ('OpenJPEG', '2.3.0', '', True),
    ('GLib', '2.57.1', '', True),
]

builddependencies = [
    ('CMake', '3.9.1', '', True),
    ('GObject-Introspection', '1.56.1', '', True),
]

moduleclass = 'vis'
