mirror of
https://github.com/ivabus/pantry
synced 2024-11-14 04:25:08 +03:00
add libwebp
This commit is contained in:
parent
4ab3dc7e2e
commit
458375c8ef
1 changed files with 44 additions and 0 deletions
44
projects/google.com/webp/package.yml
Normal file
44
projects/google.com/webp/package.yml
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
|
||||||
|
distributable:
|
||||||
|
url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz
|
||||||
|
strip-components: 1
|
||||||
|
|
||||||
|
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:
|
||||||
|
dependencies:
|
||||||
|
tea.xyz/gx/cc: c99
|
||||||
|
tea.xyz/gx/make: '*'
|
||||||
|
# gnu.org/autoconf: '*'
|
||||||
|
# gnu.org/automake: '*'
|
||||||
|
# gnu.org/libtool.org: '*'
|
||||||
|
script: |
|
||||||
|
./configure $ARGS
|
||||||
|
make --jobs {{ hw.concurrency }}
|
||||||
|
make install
|
||||||
|
env:
|
||||||
|
ARGS:
|
||||||
|
- --prefix="{{prefix}}"
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/cwebp
|
||||||
|
- bin/dwebp
|
||||||
|
- bin/gif2webp
|
||||||
|
- bin/img2webp
|
||||||
|
- bin/vwebp
|
||||||
|
- bin/webpinfo
|
||||||
|
- bin/webpmux
|
||||||
|
|
||||||
|
test:
|
||||||
|
dependencies:
|
||||||
|
gnu.org/wget: '*'
|
||||||
|
script: |
|
||||||
|
wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg
|
||||||
|
img2webp Shoes-sRGB.jpg -o out.webp
|
Loading…
Reference in a new issue