milis/talimatname/genel/poppler/talimat

47 lines
1.1 KiB
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.

# Description: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
# URL: http://poppler.freedesktop.org/
# Packager: milisarge
# Depends on: xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms2
dataversion=0.4.7
name=poppler
version=0.46.0
release=1
source=(
http://poppler.freedesktop.org/$name-$version.tar.xz
http://poppler.freedesktop.org/poppler-data-$dataversion.tar.gz)
build() {
cd poppler-$version
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/
}