milis/talimatname/genel/p/poppler-qt5/talimat

27 lines
733 B
Plaintext
Raw Normal View History

2018-06-09 00:06:58 +02:00
# Tanım: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
# URL: http://poppler.freedesktop.org/
# Paketçi: Cihan_Alkan
# Gerekler: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
# Grup: kütüphane
isim=poppler-qt5
surum=0.61.1
devir=1
kaynak=(http://poppler.freedesktop.org/poppler-$surum.tar.xz)
derle() {
mkdir build
cd build
cmake ../poppler-$surum \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DCMAKE_INSTALL_LIBDIR=/usr/lib \
-DENABLE_XPDF_HEADERS=ON \
-DENABLE_GTK_DOC=ON
make
make -C qt5 DESTDIR="${PKG}" install
install -m755 -d "${PKG}/usr/lib/pkgconfig"
install -m644 poppler-qt5.pc "${PKG}/usr/lib/pkgconfig/"
}