2023-03-03 03:28:36 +03:00
|
|
|
distributable:
|
2024-06-06 17:31:12 +03:00
|
|
|
url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
2023-03-03 03:28:36 +03:00
|
|
|
|
|
|
|
versions:
|
|
|
|
github: webmproject/libwebp/tags # this is a mirror of the official repo
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
giflib.sourceforge.io: ^5
|
|
|
|
libjpeg-turbo.org: ^2
|
|
|
|
libpng.org: ^1
|
|
|
|
simplesystems.org/libtiff: ^4
|
|
|
|
|
|
|
|
build:
|
2024-06-06 17:31:12 +03:00
|
|
|
- ./configure --prefix="{{prefix}}"
|
|
|
|
- make --jobs {{ hw.concurrency }}
|
|
|
|
- make install
|
|
|
|
- run: rm *.la
|
|
|
|
working-directory: '{{prefix}}/lib'
|
2023-03-03 03:28:36 +03:00
|
|
|
|
|
|
|
provides:
|
2023-04-17 16:32:09 +03:00
|
|
|
darwin:
|
2024-06-06 17:31:12 +03:00
|
|
|
- bin/cwebp
|
|
|
|
- bin/dwebp
|
|
|
|
- bin/gif2webp
|
|
|
|
- bin/img2webp
|
|
|
|
- bin/vwebp
|
|
|
|
- bin/webpinfo
|
|
|
|
- bin/webpmux
|
2023-04-17 16:32:09 +03:00
|
|
|
linux:
|
2024-06-06 17:31:12 +03:00
|
|
|
- bin/cwebp
|
|
|
|
- bin/dwebp
|
|
|
|
- bin/gif2webp
|
|
|
|
- bin/img2webp
|
|
|
|
- bin/webpinfo
|
|
|
|
- bin/webpmux
|
2023-03-03 03:28:36 +03:00
|
|
|
|
|
|
|
test:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/wget: '*'
|
2024-06-06 17:31:12 +03:00
|
|
|
script:
|
|
|
|
- wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
|
|
|
|
- img2webp Shoes-sRGB.jpg -o out.webp
|