From 5a414cf125b135c3d7f14ed32be630fddade4cd0 Mon Sep 17 00:00:00 2001 From: kth5 Date: Mon, 3 Mar 2025 16:01:35 +0100 Subject: [PATCH] * update netcdf to 4.9.3-2 --- netcdf/.SRCINFO | 8 ++++---- netcdf/PKGBUILD | 15 ++++++++------- 2 files changed, 12 insertions(+), 11 deletions(-) diff --git a/netcdf/.SRCINFO b/netcdf/.SRCINFO index ce65b4002d..7826f9a2ab 100644 --- a/netcdf/.SRCINFO +++ b/netcdf/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = netcdf pkgdesc = network Common Data Form interface for array-oriented data access and corresponding library - pkgver = 4.9.2 - pkgrel = 6 + pkgver = 4.9.3 + pkgrel = 2 url = https://www.unidata.ucar.edu/software/netcdf/ arch = x86_64 arch = powerpc64le @@ -22,7 +22,7 @@ pkgbase = netcdf optdepends = netcdf-fortran: fortran bindings optdepends = netcdf-cxx: c++ bindings options = !makeflags - source = https://github.com/Unidata/netcdf-c/archive/v4.9.2/netcdf-4.9.2.tar.gz - sha256sums = bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7 + source = https://github.com/Unidata/netcdf-c/archive/v4.9.3/netcdf-4.9.3.tar.gz + sha256sums = 990f46d49525d6ab5dc4249f8684c6deeaf54de6fec63a187e9fb382cc0ffdff pkgname = netcdf diff --git a/netcdf/PKGBUILD b/netcdf/PKGBUILD index 652c4ef7ce..19f46d90e1 100644 --- a/netcdf/PKGBUILD +++ b/netcdf/PKGBUILD @@ -4,8 +4,8 @@ # Contributor: damir pkgname=netcdf -pkgver=4.9.2 -pkgrel=6 +pkgver=4.9.3 +pkgrel=2 pkgdesc="network Common Data Form interface for array-oriented data access and corresponding library" arch=(x86_64 powerpc64le powerpc64 powerpc riscv64) url="https://www.unidata.ucar.edu/software/netcdf/" @@ -16,7 +16,7 @@ optdepends=('netcdf-fortran: fortran bindings' 'netcdf-cxx: c++ bindings') options=(!makeflags) license=(custom) source=(https://github.com/Unidata/netcdf-c/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz) -sha256sums=('bc104d101278c68b303359b3dc4192f81592ae8640f1aee486921138f7f88cb7') +sha256sums=('990f46d49525d6ab5dc4249f8684c6deeaf54de6fec63a187e9fb382cc0ffdff') prepare() { # https://github.com/Unidata/netcdf-c/issues/2188 https://github.com/Unidata/netcdf-c/issues/2242 @@ -37,13 +37,12 @@ build() { -DNETCDF_GENERATE_NCGEN=ON ) ;; - esac + esac cmake -B build -S ${pkgname}-c-${pkgver} \ -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_BUILD_TYPE=Release \ - -DPLUGIN_INSTALL_DIR=/usr/lib/netcdf/plugin \ + -DNETCDF_WITH_PLUGIN_DIR=/usr/lib/netcdf/plugin \ -DENABLE_BYTERANGE=ON \ -DENABLE_DAP_LONG_TESTS=ON \ -DENABLE_DAP_REMOTE_TESTS=ON \ @@ -51,7 +50,9 @@ build() { -DENABLE_EXTRA_TESTS=ON \ -DENABLE_FILTER_TESTING=ON \ -DENABLE_LARGE_FILE_TESTS=ON \ - -DENABLE_UNIT_TESTS=ON ${cmake_options[@]} + -DENABLE_UNIT_TESTS=ON \ + -DNETCDF_ENABLE_LOGGING=ON \ + -DENABLE_PLUGIN_INSTALL=ON ${cmake_options[@]} make -C build }