2016-02-24 01:27:23 +01:00
|
|
|
# Description: PDF rendering library based on xpdf 3.0
|
|
|
|
# URL: URL: http://poppler.freedesktop.org/
|
2016-07-22 21:00:36 +02:00
|
|
|
# Packager: alihan-ozturk28@hotmail.com
|
2016-02-24 01:27:23 +01:00
|
|
|
# Depends on: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
|
|
|
|
|
|
|
|
name=poppler-qt5
|
2016-07-23 11:51:09 +02:00
|
|
|
version=0.41.0
|
2016-02-24 01:27:23 +01:00
|
|
|
release=1
|
|
|
|
|
|
|
|
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd poppler-$version
|
|
|
|
./configure --prefix=/usr \
|
|
|
|
--sysconfdir=/etc \
|
|
|
|
--disable-static \
|
|
|
|
--enable-qt5 \
|
|
|
|
--disable-qt4 \
|
|
|
|
--disable-glib \
|
|
|
|
--enable-xpdf-headers
|
|
|
|
make
|
|
|
|
make -C poppler DESTDIR=$PKG install-libLTLIBRARIES
|
|
|
|
make -C qt5 DESTDIR=$PKG install
|
|
|
|
|
|
|
|
mkdir -p $PKG/usr/lib/pkgconfig
|
|
|
|
install -m644 poppler-qt5.pc $PKG/usr/lib/pkgconfig/
|
|
|
|
rm -f $PKG/usr/lib/libpoppler.*
|
|
|
|
}
|