mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-08-17 09:20:28 +03: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:
parent
96180fc2d9
commit
709f0a2ab3
Notes:
sideshowbarker
2024-07-17 16:23:55 +09:00
Author: https://github.com/kleinesfilmroellchen Commit: https://github.com/SerenityOS/serenity/commit/709f0a2ab3 Pull-request: https://github.com/SerenityOS/serenity/pull/14306 Reviewed-by: https://github.com/alimpfard Reviewed-by: https://github.com/linusg Reviewed-by: https://github.com/timschumi ✅
@ -170,6 +170,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
|
||||
| [`opentyrian`](opentyrian/) | OpenTyrian | 84b820f | https://github.com/opentyrian/opentyrian |
|
||||
| [`opentyrian-data`](opentyrian-data/) | OpenTyrian graphics and audio | 1.0.0 | https://camanis.net/tyrian/tyrian21.zip |
|
||||
| [`opfor`](opfor/) | Half-Life: Opposing Force | 2022.05.01 | https://github.com/FWGS/hlsdk-xash3d |
|
||||
| [`optipng`](optipng/) | OptiPNG | 0.7.7 | http://optipng.sourceforge.net/ |
|
||||
| [`p7zip`](p7zip/) | p7zip | 17.04 | https://github.com/jinfeihan57/p7zip |
|
||||
| [`patch`](patch/) | patch (GNU) | 2.7.6 | https://savannah.gnu.org/projects/patch/ |
|
||||
| [`pcre`](pcre/) | Perl-compatible Regular Expressions (PCRE) | 8.45 | https://www.pcre.org/ |
|
||||
|
11
Ports/optipng/package.sh
Executable file
11
Ports/optipng/package.sh
Executable 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
|
||||
}
|
Loading…
Reference in New Issue
Block a user