community/gdal to 3.6.0-1

This commit is contained in:
Kevin Mihelich 2022-11-24 23:16:06 +00:00
parent aabd0815ac
commit 79aaebc46f
2 changed files with 26 additions and 15 deletions

View file

@ -10,8 +10,8 @@
pkgbase=gdal
pkgname=(gdal python-gdal)
pkgver=3.5.3
pkgrel=3
pkgver=3.6.0
pkgrel=1
pkgdesc="A translator library for raster and vector geospatial data formats"
arch=(x86_64)
url="https://gdal.org/"
@ -26,7 +26,7 @@ makedepends=(cmake opencl-headers python-setuptools python-numpy
# ogdi
changelog=$pkgbase.changelog
source=(https://download.osgeo.org/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.xz)
sha256sums=('d32223ddf145aafbbaec5ccfa5dbc164147fb3348a3413057f9b1600bb5b3890')
b2sums=('f57b57bb460bf4cb3d601f981e3315b164bcf2f6da1f1b7e72f9ce771e58e4c88619833ca366b6a7c70ed1032bcf3c959f81d60254e136b40fb715937a7e5a59')
build() {
cmake -B build -S $pkgbase-$pkgver \
@ -79,18 +79,23 @@ build() {
package_gdal () {
depends=(proj blosc crypto++ curl libdeflate expat libfreexl geos libgeotiff
giflib libjpeg-turbo json-c xz libxml2 lz4 unixodbc ocl-icd openssl
pcre2 libpng qhull libspatialite sqlite libtiff xerces-c zlib zstd)
optdepends=('cfitsio: FITS support'
'hdf5: HDF5 support'
'libheif: HEIF support'
'mariadb-libs: MySQL support'
'netcdf: netCDF support'
'openexr: EXR support'
'openjpeg2: JP2 support'
'podofo: PDF support'
'poppler: PDF support'
'postgresql-libs: PostgreSQL support'
'libwebp: WebP support')
pcre2 libpng qhull libspatialite sqlite libtiff xerces-c zlib zstd
# https://github.com/OSGeo/gdal/issues/6281
# optdepends should be either hard deps or split package
# due to upstream design choice - hard dep for the moment
cfitsio hdf5 libheif mariadb-libs netcdf openexr openjpeg2
podofo poppler postgresql-libs libwebp)
# optdepends=('cfitsio: FITS support'
# 'hdf5: HDF5 support'
# 'libheif: HEIF support'
# 'mariadb-libs: MySQL support'
# 'netcdf: netCDF support'
# 'openexr: EXR support'
# 'openjpeg2: JP2 support'
# 'podofo: PDF support'
# 'poppler: PDF support'
# 'postgresql-libs: PostgreSQL support'
# 'libwebp: WebP support')
make -C build DESTDIR="${pkgdir}" install
install -Dm644 ${pkgname}-${pkgver}/LICENSE.TXT -t "${pkgdir}"/usr/share/licenses/$pkgbase/

View file

@ -1,3 +1,9 @@
2022-11-24 Konstantin Gizdov <arch@kge.pw>
* gdal 3.6.0-1
* FS#75749 - upstream plugin architecture requires hard dependencies (implemented) or splitting plugins into a separate package
* FS#76649 - recompile with latest arrow
* use b2sums
2021-07-22 Bruno Pagani <archange@archlinux.org>
* gdal 3.3.1-1
* update url