forked from SerenityOS/serenity
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.sh
More file actions
executable file
·37 lines (34 loc) · 785 Bytes
/
package.sh
File metadata and controls
executable file
·37 lines (34 loc) · 785 Bytes
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
#!/usr/bin/env -S bash ../.port_include.sh
port='rubberband'
version='3.3.0'
depends=(
'libfftw3'
'libopus'
'libsamplerate'
'libsndfile'
)
useconfigure='true'
configopts=(
"--cross-file=${SERENITY_BUILD_DIR}/meson-cross-file.txt"
'-Dfft=fftw'
'-Dresampler=libsamplerate'
'-Djni=disabled'
'-Dvamp=disabled'
'-Dladspa=disabled'
'-Dlv2=disabled'
'-Dtests=disabled'
'-Ddefault_library=shared'
)
files=(
"https://breakfastquay.com/files/releases/rubberband-${version}.tar.bz2#d9ef89e2b8ef9f85b13ac3c2faec30e20acf2c9f3a9c8c45ce637f2bc95e576c"
)
configure() {
run meson setup build "${configopts[@]}"
}
build() {
run ninja -C build
}
install() {
export DESTDIR="${SERENITY_INSTALL_ROOT}"
run ninja -C build install
}