PKGNAME=podofo
PKGSEC=libs
PKGDES="C++ library to work with the PDF file format"
PKGDEP="lua openssl fontconfig libtiff libidn libjpeg-turbo"
PKGBREAK="calibre<=5.30.0-3 gdal<=3.8.4-1 scribus<=1.6.1"

ABTYPE=cmakeninja
CMAKE_AFTER=(
    '-DCMAKE_INSTALL_PREFIX=/usr'
    '-DPODOFO_HAVE_JPEG_LIB=1'
    '-DPODOFO_HAVE_PNG_LIB=1'
    '-DPODOFO_HAVE_TIFF_LIB=1'
)

NOLTO__LOONGSON3=1
