extra/gdal to 3.8.1-1

This commit is contained in:
David Beauchamp 2023-12-02 20:05:55 -05:00
parent 699cedb379
commit f86e4a967e
2 changed files with 9 additions and 23 deletions

View file

@ -1,7 +1,7 @@
pkgbase = gdal
pkgdesc = A translator library for raster and vector geospatial data formats
pkgver = 3.8.0
pkgrel = 3
pkgver = 3.8.1
pkgrel = 1
url = https://gdal.org/
changelog = gdal.changelog
arch = x86_64
@ -52,12 +52,8 @@ pkgbase = gdal
makedepends = zlib
makedepends = zstd
makedepends = libaec
source = https://download.osgeo.org/gdal/3.8.0/gdal-3.8.0.tar.xz
source = https://github.com/OSGeo/gdal/commit/cbed9fc9.patch
source = https://github.com/OSGeo/gdal/commit/ec33f6d6.patch
b2sums = 646aa91283e7228a054221d120bddb456c8b898f9155edd289f2b2e0bf8706fa3045a98d26e4cf5ba5dba6d8c1c7f0a7f4aaaded9457481a65910c2d313c8f9d
b2sums = e75eb8edb5507450ded3bca618a03a283ba49791df416b0a7732f859d93124704e8508fcd11271bbbeef299d05d3ad2df9e03bd805580445407cb6b8c003a98e
b2sums = 5c0abcfcfbb0ca2a96156abb4c7daaf4860fa30d553228172eb8def8b2f95e93bae9217974fba9621dcf9921e906a5ada9b710b1c0b29e7e580191a0a56a76e2
source = https://download.osgeo.org/gdal/3.8.1/gdal-3.8.1.tar.xz
b2sums = ccf2f84d561b66a220b5f3798cc6dceb6ef0c64e5bd1f12034aaead534cc9f5faa0174485a5c2be62e709eb4403883c959771fd7af197a2683c28ce4d47cea7c
pkgname = gdal
depends = proj
@ -104,5 +100,5 @@ pkgname = gdal
pkgname = python-gdal
pkgdesc = Python bindings for GDAL
depends = gdal=3.8.0
depends = gdal=3.8.1
depends = python-numpy

View file

@ -10,8 +10,8 @@
pkgbase=gdal
pkgname=(gdal python-gdal)
pkgver=3.8.0
pkgrel=3
pkgver=3.8.1
pkgrel=1
pkgdesc="A translator library for raster and vector geospatial data formats"
arch=(x86_64)
url="https://gdal.org/"
@ -25,18 +25,8 @@ makedepends=(cmake opencl-headers python-setuptools python-numpy
# armadillo basisu brunsli lerc libkml qb3 rasterlite2 sfcgal tiledb
# ogdi
changelog=$pkgbase.changelog
source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz
https://github.com/OSGeo/gdal/commit/cbed9fc9.patch
https://github.com/OSGeo/gdal/commit/ec33f6d6.patch)
b2sums=('646aa91283e7228a054221d120bddb456c8b898f9155edd289f2b2e0bf8706fa3045a98d26e4cf5ba5dba6d8c1c7f0a7f4aaaded9457481a65910c2d313c8f9d'
'e75eb8edb5507450ded3bca618a03a283ba49791df416b0a7732f859d93124704e8508fcd11271bbbeef299d05d3ad2df9e03bd805580445407cb6b8c003a98e'
'5c0abcfcfbb0ca2a96156abb4c7daaf4860fa30d553228172eb8def8b2f95e93bae9217974fba9621dcf9921e906a5ada9b710b1c0b29e7e580191a0a56a76e2')
prepare() {
# Fix build with libxml2 2.12
patch -d $pkgbase-$pkgver -p1 < cbed9fc9.patch
patch -d $pkgbase-$pkgver -p1 < ec33f6d6.patch
}
source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz)
b2sums=('ccf2f84d561b66a220b5f3798cc6dceb6ef0c64e5bd1f12034aaead534cc9f5faa0174485a5c2be62e709eb4403883c959771fd7af197a2683c28ce4d47cea7c')
build() {
cmake -B build -S $pkgbase-$pkgver \