talimat 968 B

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