From ad831edce2f3ec5fb7d83352386d5c27d495e8c2 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Tue, 16 Jul 2024 17:51:11 +1200 Subject: [PATCH] Bump GMT from 6.6.0.dev0+eec0fc5 to 6.6.0.dev1+708d76b (#292) * Bump GMT dev version from 6.6.0.dev0+eec0fc5 to 6.6.0.dev1+708d76b * Fix incorrect edits from yq Need to update bumpdevversion.yml script later. * Add libgdal-jp2openjpeg as runtime dependency Cherry-picked from 058b79f9fafb2ae2101577f08cdeb20ffe6ca253/#291 * Actually add libgdal-jp2openjpeg as a runtime dependency --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> --- recipe/meta.yaml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/recipe/meta.yaml b/recipe/meta.yaml index 61e81ae..9b2f377 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,17 +1,17 @@ package: name: gmt - version: 6.6.0.dev0+eec0fc5 + version: 6.6.0.dev1+708d76b source: git_url: https://github.com/GenericMappingTools/gmt.git - git_rev: eec0fc5b982ac9d721c2b99a7a15bc390da4379e + git_rev: 708d76b92bf152564cfc98c11b5547aef13ab169 build: - number: 1 + number: 0 skip: true # [ppc64le] requirements: build: - cmake - {{ compiler('c') }} - - {{ stdlib("c") }} + - {{ stdlib('c') }} - make # [not win] host: - libblas @@ -37,6 +37,7 @@ requirements: - {{ pin_compatible('gdal', max_pin='x.x') }} - geos - ghostscript + - libgdal-jp2openjpeg - libnetcdf - hdf5 - {{ pin_compatible('zlib', max_pin='x.x') }} @@ -57,6 +58,9 @@ test: - gmt-config --all # [not win] - gmt # [win] - gmt grdmath -Rg -I1 0 90 SDIST = dist_to_NP.nc -x2 + # Test reading/writing a JP2 file (S90E000.earth_relief_05m_p.jp2) + - gmt grdcut @earth_relief_05m -R-10/-9/3/5 -Greliefcut.jp2=gd:JP2OpenJPEG + - "[ -e 'reliefcut.jp2' ] && exit 0 || exit 1" about: home: https://www.generic-mapping-tools.org license: LGPL-3.0-or-later