talimat 1007 B

123456789101112131415161718192021222324252627282930313233
  1. # Description: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
  2. # URL: http://poppler.freedesktop.org/
  3. # Packager: alihan-ozturk28@hotmail.com
  4. # Depends on: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
  5. name=poppler-qt5
  6. version=0.46.0
  7. release=1
  8. source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
  9. build() {
  10. cd poppler-$version
  11. CXXFLAGS="-std=c++11"
  12. ./configure --prefix=/usr \
  13. --sysconfdir=/etc \
  14. --disable-static \
  15. --enable-cmyk \
  16. --enable-qt5 \
  17. --disable-qt4 \
  18. --disable-glib \
  19. --enable-xpdf-headers
  20. make
  21. make -C poppler DESTDIR=$PKG install-libLTLIBRARIES
  22. make -C qt5 DESTDIR=$PKG install
  23. mkdir -p $PKG/usr/lib/pkgconfig
  24. install -m644 poppler-qt5.pc $PKG/usr/lib/pkgconfig/
  25. rm -f $PKG/usr/lib/libpoppler.*
  26. }