forked from wolfi-dev/os
-
Notifications
You must be signed in to change notification settings - Fork 0
/
flac.yaml
89 lines (76 loc) · 1.95 KB
/
flac.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
# Generated from https://git.alpinelinux.org/aports/plain/main/flac/APKBUILD
package:
name: flac
version: 1.4.3
epoch: 3
description: Free Lossless Audio Codec
copyright:
- license: BSD-3-Clause AND GPL-2.0-or-later
environment:
contents:
packages:
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
- glibc-iconv
- libogg-dev
- openssf-compiler-options
- samurai
pipeline:
- uses: fetch
with:
expected-sha256: 6c58e69cd22348f441b861092b825e591d0b822e106de6eb0ee4d05d27205b70
uri: https://downloads.xiph.org/releases/flac/flac-${{package.version}}.tar.xz
- runs: |
export CFLAGS="$CFLAGS -O3"
export CXXFLAGS="$CXXFLAGS -O3"
cmake -B build -G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_BUILD_TYPE=None \
-DBUILD_TESTING=OFF \
-DBUILD_EXAMPLES=OFF \
-DBUILD_SHARED_LIBS=ON \
-DNDEBUG=ON
cmake --build build
DESTDIR="${{targets.destdir}}" cmake --install build
- uses: strip
subpackages:
- name: flac-dev
pipeline:
- uses: split/dev
description: flac dev
dependencies:
runtime:
- libogg-dev
test:
pipeline:
- uses: test/pkgconf
- name: libflac
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libFLAC.so.* ${{targets.subpkgdir}}/usr/lib
- name: libflac++
pipeline:
- runs: |
mkdir -p ${{targets.subpkgdir}}/usr/lib
mv ${{targets.destdir}}/usr/lib/libFLAC++.so.* ${{targets.subpkgdir}}/usr/lib
- name: flac-doc
pipeline:
- uses: split/manpages
description: flac manpages
update:
release-monitor:
identifier: 817
test:
pipeline:
# AUTOGENERATED
- runs: |
flac --version
metaflac --version
flac --help
metaflac --help