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

27 lines
733 B
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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/"
}