summaryrefslogtreecommitdiff
path: root/poppler/Pkgfile
blob: 9cd2c5160521916db9e28ba32770786c370dd186 (plain)
    1 # Description: PDF rendering library based on xpdf 3.0
    2 # URL:         http://poppler.freedesktop.org/
    3 # Maintainer:  Juergen Daubert, jue at crux dot nu
    4 # Depends on:  cmake cairo lcms2
    5 
    6 name=poppler
    7 version=0.89.0
    8 release=1
    9 source=(https://poppler.freedesktop.org/poppler-$version.tar.xz)
   10 
   11 build() {
   12     cmake -S $name-$version -B build \
   13         -DCMAKE_INSTALL_PREFIX=/usr \
   14         -DCMAKE_INSTALL_LIBDIR=/usr/lib \
   15         -DENABLE_UNSTABLE_API_ABI_HEADERS=ON \
   16         -DENABLE_UTILS=ON \
   17         -DENABLE_SPLASH=ON \
   18         -DENABLE_CPP=ON \
   19         -DENABLE_GLIB=OFF \
   20         -DENABLE_QT5=OFF \
   21         -DENABLE_ZLIB=ON \
   22         -DENABLE_CMS=lcms2 \
   23         -DENABLE_LIBOPENJPEG=none \
   24         -DWITH_NSS3=OFF
   25 
   26     cmake --build build
   27     DESTDIR=$PKG cmake --install build
   28 }

Generated by cgit