fix(gdal)

closes #4275
This commit is contained in:
Jacob Heider 2023-11-30 13:27:47 -05:00 committed by Jacob Heider
parent 233afacafa
commit a19a1446db

View file

@ -33,7 +33,7 @@ dependencies:
pcre.org/v2: '*' pcre.org/v2: '*'
poppler.freedesktop.org: '*' poppler.freedesktop.org: '*'
proj.org: '*' proj.org: '*'
python.org: ^3.11 python.org: ~3.11
qhull.org: '*' qhull.org: '*'
sqlite.org: '*' sqlite.org: '*'
unixodbc.org: '*' unixodbc.org: '*'
@ -50,12 +50,11 @@ dependencies:
github.com/util-linux/util-linux: '*' github.com/util-linux/util-linux: '*'
runtime: runtime:
env: env:
PYTHONPATH: "{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages/osgeo:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages/osgeo_utils:$PYTHONPATH" PYTHONPATH: '{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages/osgeo:{{prefix}}/lib/python{{deps.python.org.version.major}}/site-packages/osgeo_utils:$PYTHONPATH'
build: build:
dependencies: dependencies:
boost.org: '*' boost.org: '*'
cmake.org: '*' cmake.org: '*'
freedesktop.org/pkg-config: '*'
swig.org: '*' swig.org: '*'
doxygen.nl: '*' doxygen.nl: '*'
linux: linux:
@ -68,9 +67,9 @@ build:
sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" gdal-config sed -i.bak "s|{{prefix}}|\$(dirname \$0)/..|g" gdal-config
sed -i.bak "s|{{pkgx.prefix}}|\$(dirname \$0)/../../..|g" gdal-config sed -i.bak "s|{{pkgx.prefix}}|\$(dirname \$0)/../../..|g" gdal-config
rm ./*.bak rm ./*.bak
working-directory: "{{prefix}}/bin" working-directory: '{{prefix}}/bin'
- run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}} - run: ln -s python{{deps.python.org.version.marketing}} python{{deps.python.org.version.major}}
working-directory: "{{prefix}}/lib" working-directory: '{{prefix}}/lib'
env: env:
CC: clang CC: clang
CXX: clang++ CXX: clang++