pantry/projects/openslide.org/package.yml

43 lines
999 B
YAML
Raw Permalink Normal View History

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: '*'
2023-10-11 21:43:35 +03:00
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:
2023-10-11 21:43:35 +03:00
- pkg-config --modversion openslide
- pkg-config --modversion openslide | grep {{version}}