gis/gdal: Use podofo.

Fixes build failure with poppler-0.41.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-03-17 15:16:03 +00:00 committed by Willy Sudiarto Raharjo
parent f683207484
commit 130b1340a9
2 changed files with 8 additions and 2 deletions

View file

@ -114,6 +114,13 @@ fi
# Thanks to the people at Arch for this:
patch -p0 <$CWD/gdal-python-install.patch
# poppler-0.41 broke the build again, so we're going to use podofo. This is
# really an optional dependency that most people don't need, but podofo doesn't
# have a .pc file for us to autodetect, and pdf support with poppler was
# included by default in previous gdal builds, so we're going to pretend podofo
# is a mandatory dep. See also http://www.gdal.org/frmt_pdf.html
WITHLIST+=" --with-podofo"
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
@ -134,7 +141,6 @@ CXXFLAGS="$SLKCFLAGS" \
--with-static-proj4 \
--with-mysql \
--with-python \
--with-poppler \
--with-libtiff=internal \
--with-rename-internal-libtiff-symbols=yes \
--with-geotiff=internal \

View file

@ -5,6 +5,6 @@ DOWNLOAD="http://download.osgeo.org/gdal/1.11.4/gdal-1.11.4.tar.xz"
MD5SUM="39d5125f8bf41179db0b450c8db9e1ee"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="geos proj"
REQUIRES="geos proj podofo"
MAINTAINER="David Spencer"
EMAIL="baildon.research@googlemail.com"