# Compiling Time: 1.41 SBU # Maintainer: Anthony Jorion # Contributor: Devil505 # Contributor: Botchchikii pkgname=podofo pkgver=0.9.3 pkgrel=4 pkgdesc="PoDoFo is a library to work with the PDF file format." Finclude sourceforge cmake depends=('fontconfig' 'freetype2' "zlib>=1.2.8-4" 'libpng' 'libjpeg' 'libtiff' 'lua') groups=('xlib-extra') archs=('i686' 'x86_64') sha1sums=('e3b08af1266eb480032456e3bde030c75452d380') options=('static') _F_cmake_confopts=" -DFREETYPE_INCLUDE_DIR=/usr/include/freetype2 \ -DPODOFO_BUILD_SHARED=1 \ -DPODOFO_HAVE_JPEG_LIB=1 \ -DPODOFO_HAVE_PNG_LIB=1 \ -DPODOFO_HAVE_TIFF_LIB=1" build() { [ "$CARCH" == "x86_64" ] && CXXFLAGS="$CXXFLAGS -fPIC" CMake_build } # optimization OK