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

33 lines
992 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: alihan-ozturk28@hotmail.com
# Gerekler: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
isim=poppler-qt5
surum=0.46.0
devir=1
kaynak=(http://poppler.freedesktop.org/poppler-$surum.tar.xz)
derle() {
cd poppler-$surum
CXXFLAGS="-std=c++11"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-cmyk \
--enable-qt5 \
--disable-qt4 \
--disable-glib \
--enable-xpdf-headers
make
make -C poppler DESTDIR=$PKG install-libLTLIBRARIES
make -C qt5 DESTDIR=$PKG install
mkdir -p $PKG/usr/lib/pkgconfig
install -m644 poppler-qt5.pc $PKG/usr/lib/pkgconfig/
rm -f $PKG/usr/lib/libpoppler.*
}