milis/talimatname/genel/poppler/talimat

47 lines
1.1 KiB
Plaintext
Raw Normal View History

2017-04-12 10:42:13 +02:00
# Description: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
# URL: http://poppler.freedesktop.org/
2016-04-28 12:02:38 +02:00
# Packager: milisarge
2016-02-24 01:27:23 +01:00
# Depends on: xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms2
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)
build() {
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/
}