1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 04:17:34 +00:00

Ports: Add libwebp

This library includes webp converter to other formats as well and could
be used as reference implementation for performance improvements.
This commit is contained in:
Liav A 2023-08-26 17:51:39 +03:00 committed by Tim Schumacher
parent 64bb5652a1
commit db2701f2e2
4 changed files with 115 additions and 0 deletions

15
Ports/libwebp/package.sh Executable file
View file

@ -0,0 +1,15 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='libwebp'
version='1.3.1'
useconfigure='true'
files=(
"https://storage.googleapis.com/downloads.webmproject.org/releases/webp/libwebp-${version}.tar.gz b3779627c2dfd31e3d8c4485962c2efe17785ef975e2be5c8c0c9e6cd3c4ef66"
)
depends=(
'libjpeg'
'libpng'
'libtiff'
)
configopts=(
"--with-pnglibdir=${SERENITY_INSTALL_ROOT}/usr/local/include"
)