fix(openslide)

closes #3618
This commit is contained in:
Jacob Heider 2023-10-11 14:43:35 -04:00
parent a05cbca2da
commit 44ac3ac0dd
No known key found for this signature in database
GPG key ID: 51E3FD0EE62677B6

View file

@ -19,9 +19,13 @@ dependencies:
build:
dependencies:
freedesktop.org/pkg-config: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }} install
script:
# versions didn't get bumped in 4.0.0
- run: |
sed -i.bak -e 's/3\.4\.1/{{version}}/g' configure
rm configure.bak
- ./configure $ARGS
- make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix="{{prefix}}"
@ -35,4 +39,5 @@ test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
pkg-config --modversion openslide | grep {{version}}
- pkg-config --modversion openslide
- pkg-config --modversion openslide | grep {{version}}