41 lines
1.1 KiB
Text
Executable file
41 lines
1.1 KiB
Text
Executable file
app=poppler
|
|
version=0.57.0
|
|
build=1sml
|
|
homepage="https://poppler.freedesktop.org/"
|
|
download="https://poppler.freedesktop.org/poppler-0.57.0.tar.xz"
|
|
desc="PDF rendering library aimed at centralised code maintenance"
|
|
requires="pkgconf gcc-libs libjpeg-turbo python3 curl lcms2 openjpeg icu cairo gtk2 gobject-introspection gtk3"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
applypatch $srcdir/poppler-segfault.patch
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--sysconfdir=/etc \
|
|
--enable-introspection=no \
|
|
--disable-gtk-test \
|
|
--disable-poppler-qt4 \
|
|
--disable-poppler-qt5 \
|
|
--enable-xpdf-headers \
|
|
--enable-zlib \
|
|
--disable-static
|
|
|
|
make
|
|
make install DESTDIR=$pkg
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
197a0bf51e7fd607db83144d771904e48f266ab9e1252c688f9e7700a5bdd239670cf0363e9d77137bafa9c08fb6ddb9d066cc78a74dac7dfd717662b25cac5f poppler-0.57.0.tar.xz
|
|
1f42a769becbf4873efa27c970e57b44bb46efc1029e6deecf0a8bfba047f189ec65ae4346ea79ce15eebd10771c74ece408fe1956e4b3d27a578a045aa2451f poppler-segfault.patch
|
|
"
|