-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathgiflib.yaml
82 lines (72 loc) · 1.98 KB
/
giflib.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
package:
name: giflib
version: 5.2.2
epoch: 4
description: "A library for reading and writing GIF images"
copyright:
- license: MIT
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- coreutils
- docbook-xml
- libtool
- wolfi-base
- xmlto
pipeline:
- uses: git-checkout
with:
repository: https://git.code.sf.net/p/giflib/code
tag: ${{package.version}}
expected-commit: 7cad0c7f5aaf5723b814549c024cac8c7d735077
# The giflib build will try to convert the filesize on this gif file, but we can't add `convert` as a build dependency as it already depends on giflib.
# We overlay the gif file anyways as part of the build, and this pacifies make so that it doesn't try to convert the file.
- runs: |
touch doc/giflib-logo.gif
- uses: autoconf/make
- runs: |
make DESTDIR="${{targets.destdir}}" PREFIX=/usr install
rm -f "${{targets.destdir}}"/usr/lib/*.a
- uses: strip
subpackages:
- name: "giflib-dev"
description: "headers for giflib"
pipeline:
- uses: split/dev
dependencies:
runtime:
- giflib
- name: "giflib-doc"
description: "giflib documentation"
pipeline:
- uses: split/manpages
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/share/doc/giflib
mv doc/* "${{targets.subpkgdir}}"/usr/share/doc/giflib
test:
pipeline:
- uses: test/docs
- name: "giflib-utils"
description: "Programs for manipulating GIF format image files"
pipeline:
- runs: |
mkdir -p "${{targets.subpkgdir}}"/usr/bin
mv "${{targets.destdir}}"/usr/bin/* "${{targets.subpkgdir}}"/usr/bin
test:
pipeline:
- runs: |
gif2rgb -h
gifbuild -v
gifbuild -h
gifclrmp -h
giffix -h
giftext -h
update:
enabled: true
release-monitor:
identifier: 1158