Skip to content

Commit

Permalink
add guetzli (#3)
Browse files Browse the repository at this point in the history
  • Loading branch information
wolfv authored Dec 6, 2024
1 parent 9d4338f commit 14abd47
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions recipes/guetzli/recipe.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
context:
version: "1.0.1"

package:
name: guetzli
version: ${{ version }}

source:
- url: https://github.com/google/guetzli/archive/refs/tags/v${{ version }}.tar.gz
sha256: e52eb417a5c0fb5a3b08a858c8d10fa797627ada5373e203c196162d6a313697
- url: https://github.com/google/guetzli/releases/download/v1.0/bees.png
target_directory: test-image
sha256: 2c1784bf4efb90c57f00a3ab4898ac8ec4784c60d7a0f70d2ba2c00af910520b

build:
skip: win
script:
- make
- install -Dm755 bin/Release/guetzli $PREFIX/bin/guetzli

requirements:
build:
- ${{ compiler('cxx') }}
- make
- pkg-config
- coreutils
host:
- libpng
- zlib
ignore_run_exports:
from_package:
- zlib

tests:
- script:
# compress test image
- guetzli test-image/bees.png bees.jpg
files:
source:
- test-image/

about:
homepage: https://github.com/google/guetzli
license: Apache-2.0
summary: Perceptual JPEG encoder

0 comments on commit 14abd47

Please sign in to comment.