mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(webp)
This commit is contained in:
parent
048593dde3
commit
97654dd09d
1 changed files with 23 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue