talimat 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # Description: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
  2. # URL: http://poppler.freedesktop.org/
  3. # Packager: milisarge
  4. # Depends on: xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms2
  5. dataversion=0.4.7
  6. name=poppler
  7. version=0.46.0
  8. release=1
  9. source=(
  10. http://poppler.freedesktop.org/$name-$version.tar.xz
  11. http://poppler.freedesktop.org/poppler-data-$dataversion.tar.gz)
  12. build() {
  13. cd poppler-$version
  14. CXXFLAGS="-std=c++11"
  15. ./configure --prefix=/usr \
  16. --sysconfdir=/etc \
  17. --disable-static \
  18. --enable-build-type=release \
  19. --enable-cmyk \
  20. --enable-xpdf-headers
  21. make
  22. make DESTDIR=$PKG install
  23. cd ../poppler-data-$dataversion
  24. make prefix=/usr DESTDIR=$PKG install
  25. rm -f $PKG/usr/lib/pkgconfig/poppler-{glib,qt4,qt5}.pc
  26. rm -f $PKG/usr/lib/poppler-{glib*,qt4*,qt5*}
  27. rm -f $PKG/usr/lib/libpoppler-{glib*,qt4*,qt5*}
  28. rm -f $PKG/usr/bin/poppler-glib-demo
  29. rm -rf $PKG/usr/include/poppler/glib/
  30. rm -f $PKG/usr/bin/poppler-qt4-demo
  31. rm -rf $PKG/usr/include/poppler/qt4/
  32. rm -f $PKG/usr/bin/poppler-qt5-demo
  33. rm -rf $PKG/usr/include/poppler/qt5/
  34. }