1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-30 02:47:35 +00:00

Ports: Add rubberband

This commit is contained in:
kleines Filmröllchen 2023-09-16 14:23:06 +02:00 committed by Tim Schumacher
parent 98fd21bf15
commit 68b4a75ad2
2 changed files with 38 additions and 0 deletions

37
Ports/rubberband/package.sh Executable file
View file

@ -0,0 +1,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
}