milis/talimatname/genel/p/poppler/talimat

48 lines
1.1 KiB
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: milisarge
# Gerekler: xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms2
2018-07-31 14:12:34 +02:00
# Grup: kütüphane
2018-06-09 00:06:58 +02:00
datasurum=0.4.7
isim=poppler
surum=0.46.0
devir=1
kaynak=(
http://poppler.freedesktop.org/$isim-$surum.tar.xz
http://poppler.freedesktop.org/poppler-data-$dataversion.tar.gz)
derle() {
cd poppler-$surum
CXXFLAGS="-std=c++11"
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-build-type=release \
--enable-cmyk \
--enable-xpdf-headers
make
make DESTDIR=$PKG install
cd ../poppler-data-$dataversion
make prefix=/usr DESTDIR=$PKG install
rm -f $PKG/usr/lib/pkgconfig/poppler-{glib,qt4,qt5}.pc
rm -f $PKG/usr/lib/poppler-{glib*,qt4*,qt5*}
rm -f $PKG/usr/lib/libpoppler-{glib*,qt4*,qt5*}
rm -f $PKG/usr/bin/poppler-glib-demo
rm -rf $PKG/usr/include/poppler/glib/
rm -f $PKG/usr/bin/poppler-qt4-demo
rm -rf $PKG/usr/include/poppler/qt4/
rm -f $PKG/usr/bin/poppler-qt5-demo
rm -rf $PKG/usr/include/poppler/qt5/
}