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: alihan-ozturk28@hotmail.com
|
|
|
|
|
# Gerekler: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt4
|
2018-07-31 14:13:35 +02:00
|
|
|
|
# Grup: kütüphane
|
2018-06-09 00:06:58 +02:00
|
|
|
|
|
|
|
|
|
isim=poppler-qt4
|
|
|
|
|
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-qt4 \
|
|
|
|
|
--disable-qt5 \
|
|
|
|
|
--disable-glib \
|
|
|
|
|
--enable-xpdf-headers
|
|
|
|
|
make
|
|
|
|
|
make -C poppler DESTDIR=$PKG install-libLTLIBRARIES
|
|
|
|
|
make -C qt4 DESTDIR=$PKG install
|
|
|
|
|
|
|
|
|
|
mkdir -p $PKG/usr/lib/pkgconfig
|
|
|
|
|
install -m644 poppler-qt4.pc $PKG/usr/lib/pkgconfig/
|
|
|
|
|
rm -f $PKG/usr/lib/libpoppler.*
|
|
|
|
|
}
|