29 lines
711 B
TOML
29 lines
711 B
TOML
[build]
|
|
type = "autotools"
|
|
|
|
[build.flags]
|
|
configure = ["--disable-static"]
|
|
|
|
[dependencies]
|
|
runtime = [
|
|
"zlib-ng",
|
|
"sh",
|
|
]
|
|
|
|
[package]
|
|
description = "collection of routines used to create PNG format graphics files"
|
|
homepage = "http://www.libpng.org/pub/png/libpng.html"
|
|
license = "libpng-2.0"
|
|
name = "libpng"
|
|
version = "1.6.55"
|
|
|
|
[[source]]
|
|
extract_dir = "$name-$version"
|
|
url = "https://github.com/pnggroup/libpng.git#v$version"
|
|
post_extract = [ "autoreconf -fiv" ]
|
|
patches = [ "libpng-zlib-ng-test.patch" ]
|
|
|
|
[[manual_sources]]
|
|
file = "libpng-zlib-ng-test.patch"
|
|
sha256 = "b2:7270a8e8b32f993c4f3693c284cdb8106ed1697261eef557ec3a469cf91810f068194ae6509232fe45e7cb80509a20e3650c568511b4b7804f13082eda3b7594"
|