1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-29 14:27:35 +00:00

Ports: Add OptiPNG

OptiPNG is a neat little tool that optimizes PNG sizes to ridiculous
degrees. We like to use it to optimize PNGs before including them in
Serenity itself, so it's a nice port to have. OptiPNG is a very
cooperative POSIX C program, it compiles and works without any patching
on x86_64 and i686 :^)
This commit is contained in:
kleines Filmröllchen 2022-06-16 22:55:56 +02:00 committed by Linus Groh
parent 96180fc2d9
commit 709f0a2ab3
2 changed files with 12 additions and 0 deletions

11
Ports/optipng/package.sh Executable file
View file

@ -0,0 +1,11 @@
#!/usr/bin/env -S bash ../.port_include.sh
port='optipng'
version='0.7.7'
files="http://downloads.sourceforge.net/optipng/optipng-${version}.tar.gz optipng-${version}.tar.gz 4f32f233cef870b3f95d3ad6428bfe4224ef34908f1b42b0badf858216654452"
auth_type='sha256'
useconfigure='true'
configure() {
run ./configure
}