2022-08-05 23:22:53 +03:00
|
|
|
|
distributable:
|
|
|
|
|
url: https://cytranet.dl.sourceforge.net/project/libpng/libpng{{ version.major }}{{ version.minor }}/{{ version }}/libpng-{{ version }}.tar.xz
|
|
|
|
|
#FIXME our linux docker image TLS doesn’t like this URL
|
|
|
|
|
# url: https://downloads.sourceforge.net/project/libpng/libpng{{ version.major }}{{ version.minor }}/{{ version }}/libpng-{{ version }}.tar.xz
|
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
|
|
versions:
|
2022-12-08 03:26:18 +03:00
|
|
|
|
github: glennrp/libpng/tags
|
|
|
|
|
strip: /^v/
|
2022-08-05 23:22:53 +03:00
|
|
|
|
|
|
|
|
|
dependencies:
|
|
|
|
|
zlib.net: 1
|
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
script: |-
|
|
|
|
|
./configure \
|
|
|
|
|
--disable-dependency-tracking \
|
|
|
|
|
--disable-silent-rules \
|
|
|
|
|
--prefix {{ prefix }}
|
|
|
|
|
make --jobs {{ hw.concurrency }}
|
|
|
|
|
make install
|
|
|
|
|
|
|
|
|
|
test:
|
|
|
|
|
script: |
|
2022-08-31 21:05:21 +03:00
|
|
|
|
cc test.c -lpng
|
2022-08-05 23:22:53 +03:00
|
|
|
|
./a.out
|
2022-11-18 21:43:48 +03:00
|
|
|
|
|
|
|
|
|
provides:
|
|
|
|
|
- bin/libpng-config
|
|
|
|
|
- bin/libpng16-config
|
|
|
|
|
- bin/png-fix-itxt
|
|
|
|
|
- bin/pngfix
|