-
Notifications
You must be signed in to change notification settings - Fork 312
/
Copy pathaom.yaml
89 lines (80 loc) · 1.97 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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
# source is googlesource so we can't use github updates to get expected commit
# let's still auto create the PR, it will fail as expected commit will be wrong
# however it will be easy to fix
#nolint:git-checkout-must-use-github-updates
package:
name: aom
version: "3.12.0"
epoch: 1
description: Alliance for Open Media (AOM) AV1 codec SDK
copyright:
- license: BSD-2-Clause
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
# gcc-14 hits ICE on arm64
- gcc~13
- perl
- samurai
- tree
- yasm
pipeline:
- uses: git-checkout
with:
repository: https://aomedia.googlesource.com/aom
tag: v${{package.version}}
expected-commit: 3b624af45b86646a20b11a9ff803aeae588cdee6
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
test:
pipeline:
- uses: test/pkgconf
- uses: test/tw/ldd-check
with:
packages: aom-dev
- name: aom-libs
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libaom.so.* ${{targets.subpkgdir}}/usr/lib/
test:
pipeline:
- uses: test/ldd-check
with:
packages: $(basename ${{targets.contextdir}})
description: aom libs
update:
enabled: true
release-monitor:
identifier: 17628
test:
pipeline:
# AUTOGENERATED
- runs: |
aomdec --help
aomenc --help