mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
community/gdal to 1.11.2-2
This commit is contained in:
parent
e10e9ddc2e
commit
b414b64f97
2 changed files with 18 additions and 3 deletions
|
@ -9,7 +9,7 @@
|
|||
|
||||
pkgname=gdal
|
||||
pkgver=1.11.2
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="A translator library for raster geospatial data formats"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.gdal.org/"
|
||||
|
@ -21,13 +21,16 @@ optdepends=('postgresql: postgresql database support'
|
|||
'perl: perl binding support')
|
||||
changelog=$pkgname.changelog
|
||||
source=(http://download.osgeo.org/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz
|
||||
gdal-1.5.1-python-install.patch)
|
||||
gdal-1.5.1-python-install.patch
|
||||
poppler-0.31.patch)
|
||||
sha256sums=('66bc8192d24e314a66ed69285186d46e6999beb44fc97eeb9c76d82a117c0845'
|
||||
'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6')
|
||||
'55a0a961b2d1caddf80f18b6763a96690b0b6443fbd5a0c89e29503ded3bcea6'
|
||||
'4fc42bdb729cec92920236ef9f3302fab497069dbb7d41d81222e7e48a36e7a6')
|
||||
|
||||
prepare() {
|
||||
cd "${srcdir}"/$pkgname-$pkgver
|
||||
patch -Np0 -i "${srcdir}"/gdal-1.5.1-python-install.patch
|
||||
patch -Np1 -i "${srcdir}"/poppler-0.31.patch
|
||||
|
||||
# python2 fixes
|
||||
sed -i 's_python python1.5_python2 python python1.5_' configure
|
||||
|
|
12
community/gdal/poppler-0.31.patch
Normal file
12
community/gdal/poppler-0.31.patch
Normal file
|
@ -0,0 +1,12 @@
|
|||
diff -Nur gdal-1.11.2/frmts/pdf/pdfdataset.cpp gdal-1.11.2a/frmts/pdf/pdfdataset.cpp
|
||||
--- gdal-1.11.2/frmts/pdf/pdfdataset.cpp 2015-02-10 13:11:19.000000000 +0100
|
||||
+++ gdal-1.11.2a/frmts/pdf/pdfdataset.cpp 2015-03-02 18:38:25.170155277 +0100
|
||||
@@ -113,7 +113,7 @@
|
||||
GBool allowAntialiasA = gTrue) :
|
||||
SplashOutputDev(colorModeA, bitmapRowPadA,
|
||||
reverseVideoA, paperColorA,
|
||||
- bitmapTopDownA, allowAntialiasA),
|
||||
+ bitmapTopDownA),
|
||||
bEnableVector(TRUE),
|
||||
bEnableText(TRUE),
|
||||
bEnableBitmap(TRUE) {}
|
Loading…
Reference in a new issue