From 97654dd09df54da12c361561710612ef139edffe Mon Sep 17 00:00:00 2001 From: Jacob Heider Date: Thu, 6 Jun 2024 10:31:12 -0400 Subject: [PATCH] fix(webp) --- projects/google.com/webp/package.yml | 53 ++++++++++++---------------- 1 file changed, 23 insertions(+), 30 deletions(-) diff --git a/projects/google.com/webp/package.yml b/projects/google.com/webp/package.yml index dbe96031..a3e39737 100644 --- a/projects/google.com/webp/package.yml +++ b/projects/google.com/webp/package.yml @@ -1,7 +1,6 @@ - distributable: - url: https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-{{version}}.tar.gz - strip-components: 1 + 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 @@ -13,38 +12,32 @@ 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: - - bin/cwebp - - bin/dwebp - - bin/gif2webp - - bin/img2webp - - bin/vwebp - - bin/webpinfo - - bin/webpmux + - bin/cwebp + - bin/dwebp + - bin/gif2webp + - bin/img2webp + - bin/vwebp + - bin/webpinfo + - bin/webpmux linux: - - bin/cwebp - - bin/dwebp - - bin/gif2webp - - bin/img2webp - - bin/webpinfo - - bin/webpmux + - bin/cwebp + - bin/dwebp + - bin/gif2webp + - bin/img2webp + - 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 + script: + - wget https://webkit.org/blog-files/color-gamut/Shoes-sRGB.jpg + - img2webp Shoes-sRGB.jpg -o out.webp