milis/talimatname/genel/p/poppler/talimat

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-10-27 20:46:27 +02:00
# Tanım: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
2017-04-12 10:42:13 +02:00
# URL: http://poppler.freedesktop.org/
2017-10-27 20:46:27 +02:00
# Paketçi: milisarge
# Gerekler: xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms2
2016-02-24 01:27:23 +01:00
dataversion=0.4.7
name=poppler
2016-07-29 11:31:54 +02:00
version=0.46.0
2016-02-24 01:27:23 +01:00
release=1
source=(
http://poppler.freedesktop.org/$name-$version.tar.xz
http://poppler.freedesktop.org/poppler-data-$dataversion.tar.gz)
2017-10-27 23:59:41 +02:00
derle() {
2016-02-24 01:27:23 +01:00
cd poppler-$version
2016-07-29 11:31:54 +02:00
CXXFLAGS="-std=c++11"
2016-02-24 01:27:23 +01:00
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-static \
--enable-build-type=release \
2016-07-29 11:31:54 +02:00
--enable-cmyk \
2016-02-24 01:27:23 +01:00
--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*}
2016-07-28 18:15:46 +02:00
rm -f $PKG/usr/lib/libpoppler-{glib*,qt4*,qt5*}
2016-02-24 01:27:23 +01:00
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/
}