-
Notifications
You must be signed in to change notification settings - Fork 290
/
Copy pathlibsndfile.yaml
78 lines (66 loc) · 1.85 KB
/
libsndfile.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
# Generated from https://git.alpinelinux.org/aports/plain/main/libsndfile/APKBUILD
package:
name: libsndfile
version: 1.2.0
epoch: 1
description: C library for reading and writing files containing sampled sound
copyright:
- license: LGPL-2.1-or-later
environment:
contents:
packages:
- alsa-lib-dev
- autoconf
- automake
- build-base
- busybox
- ca-certificates-bundle
- cmake
- flac-dev
- libogg-dev
- libvorbis-dev
- linux-headers
- opus
- opus-dev
- python3
- samurai
- speexdsp-dev
pipeline:
- uses: fetch
with:
expected-sha256: 0e30e7072f83dc84863e2e55f299175c7e04a5902ae79cfb99d4249ee8f6d60a
uri: https://github.com/libsndfile/libsndfile/releases/download/${{package.version}}/libsndfile-${{package.version}}.tar.xz
- runs: |
cmake -B build-shared -G Ninja \
-DBUILD_SHARED_LIBS=ON \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build-shared
cmake -B build-static -G Ninja \
-DBUILD_SHARED_LIBS=OFF \
-DCMAKE_BUILD_TYPE=MinSizeRel \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DBUILD_TESTING="OFF"
cmake --build build-static
DESTDIR="${{targets.destdir}}" cmake --install build-static
DESTDIR="${{targets.destdir}}" cmake --install build-shared
- uses: strip
subpackages:
- name: libsndfile-static
pipeline:
- uses: split/static
description: libsndfile static
- name: libsndfile-dev
pipeline:
- uses: split/dev
description: libsndfile dev
- name: libsndfile-doc
pipeline:
- uses: split/manpages
description: libsndfile manpages
update:
release-monitor:
identifier: 13277