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
Notes: sideshowbarker 2024-07-17 03:59:29 +09:00
2 changed files with 38 additions and 0 deletions

View file

@ -275,6 +275,7 @@ This list is also available at [ports.serenityos.net](https://ports.serenityos.n
| [`RetroArch`](RetroArch/) | RetroArch | 1.12.0 | https://www.retroarch.com |
| [`RISCVEmu`](RISCVEmu/) | A Basic C++ RISC-V Emulator | ad8ad6a | https://github.com/IdanHo/RISCVEmu |
| [`rsync`](rsync/) | rsync | 3.1.3 | https://rsync.samba.org/ |
| [`rubberband`](rubberband/) | Rubberband | 3.3.0 | https://breakfastquay.com/rubberband/ |
| [`ruby`](ruby/) | Ruby | 3.2.2 | https://www.ruby-lang.org/ |
| [`rvvm`](rvvm/) | RVVM - The RISC-V Virtual Machine | 0.5 | https://github.com/LekKit/RVVM |
| [`sam`](sam/) | Software Automatic Mouth (SAM) | c86ea39 | https://github.com/vidarh/SAM |

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
}