33 lines
1007 B
Plaintext
33 lines
1007 B
Plaintext
# Description: Xpdf 3.0'a dayalı PDF işleme kütüphanesi
|
||
# URL: http://poppler.freedesktop.org/
|
||
# Packager: alihan-ozturk28@hotmail.com
|
||
# Depends on: poppler xorg-libxxf86vm libpng xorg-fontconfig libjpeg-turbo cairo libxml2 openjpeg lcms lcms2 qt5
|
||
|
||
name=poppler-qt5
|
||
version=0.46.0
|
||
release=1
|
||
|
||
source=(http://poppler.freedesktop.org/poppler-$version.tar.xz)
|
||
|
||
build() {
|
||
cd poppler-$version
|
||
|
||
CXXFLAGS="-std=c++11"
|
||
|
||
./configure --prefix=/usr \
|
||
--sysconfdir=/etc \
|
||
--disable-static \
|
||
--enable-cmyk \
|
||
--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.*
|
||
}
|