2023-02-13 20:36:21 +03:00
|
|
|
distributable:
|
|
|
|
url: https://downloads.sourceforge.net/project/giflib/giflib-{{version}}.tar.gz
|
|
|
|
strip-components: 1
|
|
|
|
|
|
|
|
versions:
|
2023-05-01 20:14:59 +03:00
|
|
|
url: https://sourceforge.net/projects/giflib/files
|
|
|
|
match: /giflib-\d+\.\d+\.\d+\.tar\.gz/
|
|
|
|
strip:
|
|
|
|
- /giflib-/
|
|
|
|
- /\.tar\.gz/
|
2023-02-13 20:36:21 +03:00
|
|
|
|
|
|
|
build:
|
|
|
|
dependencies:
|
|
|
|
gnu.org/patch: '*'
|
2024-02-22 00:31:15 +03:00
|
|
|
imagemagick.org: '*' # needs `convert`
|
|
|
|
script:
|
|
|
|
# the appears to be applied in 5.2.2
|
|
|
|
- run: |
|
|
|
|
if test {{ hw.platform }} = "darwin"; then
|
|
|
|
# needed to work on macOS
|
|
|
|
patch -p0 < props/Makefile.patch
|
|
|
|
fi
|
|
|
|
if: <5.2.2
|
2023-02-13 20:36:21 +03:00
|
|
|
|
2024-02-22 00:31:15 +03:00
|
|
|
- make --jobs {{ hw.concurrency }} all
|
|
|
|
- make install PREFIX="{{ prefix }}"
|
2023-02-13 20:36:21 +03:00
|
|
|
|
2024-02-22 00:31:15 +03:00
|
|
|
test: giftext fixture.gif
|
2023-02-13 20:36:21 +03:00
|
|
|
|
|
|
|
provides:
|
|
|
|
- bin/gif2rgb
|
|
|
|
- bin/gifbuild
|
|
|
|
- bin/gifclrmp
|
|
|
|
- bin/giffix
|
|
|
|
- bin/giftext
|
|
|
|
- bin/giftool
|