pantry/projects/openslide.org/package.yml
Jacob Heider 44ac3ac0dd
fix(openslide)
closes #3618
2023-10-11 14:43:35 -04:00

43 lines
No EOL
999 B
YAML

distributable:
url: https://github.com/openslide/openslide/releases/download/v3.4.1/openslide-3.4.1.tar.xz
strip-components: 1
versions:
github: openslide/openslide
dependencies:
cairographics.org: '*'
gnome.org/gdk-pixbuf: '*'
gnome.org/glib: '*'
libjpeg-turbo.org: '*'
libpng.org: '*'
simplesystems.org/libtiff: '*'
gnome.org/libxml2: '*'
openjpeg.org: '*'
sqlite.org: '*'
build:
dependencies:
freedesktop.org/pkg-config: '*'
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}}"
provides:
- bin/openslide-quickhash1sum
- bin/openslide-show-properties
- bin/openslide-write-png
test:
dependencies:
freedesktop.org/pkg-config: '*'
script:
- pkg-config --modversion openslide
- pkg-config --modversion openslide | grep {{version}}