fix(webp)

This commit is contained in:
Jacob Heider 2024-06-06 10:31:12 -04:00 committed by Jacob Heider
parent 048593dde3
commit 97654dd09d

View file

@ -1,4 +1,3 @@
distributable:
url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz
strip-components: 1
@ -13,17 +12,11 @@ dependencies:
simplesystems.org/libtiff: ^4
build:
dependencies:
# gnu.org/autoconf: '*'
# gnu.org/automake: '*'
# gnu.org/libtool.org: '*'
script: |
./configure $ARGS
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
- --prefix="{{prefix}}"
- ./configure --prefix="{{prefix}}"
- make --jobs {{ hw.concurrency }}
- make install
- run: rm *.la
working-directory: '{{prefix}}/lib'
provides:
darwin:
@ -45,6 +38,6 @@ provides:
test:
dependencies:
gnu.org/wget: '*'
script: |
wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
img2webp Shoes-sRGB.jpg -o out.webp
script:
- wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
- img2webp Shoes-sRGB.jpg -o out.webp