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,7 +1,6 @@
distributable: distributable:
url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz
strip-components: 1 strip-components: 1
versions: versions:
github: webmproject/libwebp/tags # this is a mirror of the official repo github: webmproject/libwebp/tags # this is a mirror of the official repo
@ -13,38 +12,32 @@ dependencies:
simplesystems.org/libtiff: ^4 simplesystems.org/libtiff: ^4
build: build:
dependencies: - ./configure --prefix="{{prefix}}"
# gnu.org/autoconf: '*' - make --jobs {{ hw.concurrency }}
# gnu.org/automake: '*' - make install
# gnu.org/libtool.org: '*' - run: rm *.la
script: | working-directory: '{{prefix}}/lib'
./configure $ARGS
make --jobs {{ hw.concurrency }}
make install
env:
ARGS:
- --prefix="{{prefix}}"
provides: provides:
darwin: darwin:
- bin/cwebp - bin/cwebp
- bin/dwebp - bin/dwebp
- bin/gif2webp - bin/gif2webp
- bin/img2webp - bin/img2webp
- bin/vwebp - bin/vwebp
- bin/webpinfo - bin/webpinfo
- bin/webpmux - bin/webpmux
linux: linux:
- bin/cwebp - bin/cwebp
- bin/dwebp - bin/dwebp
- bin/gif2webp - bin/gif2webp
- bin/img2webp - bin/img2webp
- bin/webpinfo - bin/webpinfo
- bin/webpmux - bin/webpmux
test: test:
dependencies: dependencies:
gnu.org/wget: '*' gnu.org/wget: '*'
script: | script:
wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg - wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
img2webp Shoes-sRGB.jpg -o out.webp - img2webp Shoes-sRGB.jpg -o out.webp