forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaom.yaml
66 lines (58 loc) · 1.36 KB
/
aom.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
package:
name: aom
version: 3.6.0
epoch: 0
description: Alliance for Open Media (AOM) AV1 codec SDK
copyright:
- license: BSD-2-Clause AND custom
environment:
contents:
packages:
- busybox
- ca-certificates-bundle
- build-base
- automake
- autoconf
- cmake
- perl
- python3
- yasm
- samurai
- tree
pipeline:
- uses: git-checkout
with:
repository: https://aomedia.googlesource.com/aom
tag: v${{package.version}}
expected-commit: 3c65175b1972da4a1992c1dae2365b48d13f9a8d
destination: aom
- runs: |
cd aom
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_SHARED_LIBS=True \
-DCMAKE_BUILD_TYPE=Release \
-DENABLE_TESTS="OFF"
ninja -C build
DESTDIR=${{targets.destdir}} ninja -C build install
- uses: strip
- runs: tree ${{targets.destdir}}
subpackages:
- name: aom-dev
pipeline:
- uses: split/dev
dependencies:
runtime:
- aom
description: aom dev
- name: aom-libs
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libaom.so.* ${{targets.subpkgdir}}/usr/lib/
description: aom libs
update:
enabled: true
release-monitor:
identifier: 17628