2020-04-22 14:53:34 +02:00
|
|
|
# Description: Audio processing library for changing tempo, pitch and playback rates.
|
2023-03-03 01:29:43 +01:00
|
|
|
# URL: https://codeberg.org/soundtouch/soundtouch
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on:
|
2020-04-22 14:53:34 +02:00
|
|
|
|
|
|
|
name=soundtouch
|
2022-11-12 12:29:13 +01:00
|
|
|
version=2.3.2
|
|
|
|
release=1
|
2023-03-03 01:29:43 +01:00
|
|
|
source=(https://codeberg.org/$name/$name/archive/$version.tar.gz)
|
|
|
|
renames=($name-$version.tar.gz)
|
2020-04-22 14:53:34 +02:00
|
|
|
|
|
|
|
build() {
|
2022-11-12 12:29:13 +01:00
|
|
|
cmake -S $name -B build -G Ninja \
|
2021-12-27 14:33:34 +01:00
|
|
|
-D CMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-D CMAKE_BUILD_TYPE=Release \
|
|
|
|
-D CMAKE_INSTALL_LIBDIR=lib \
|
|
|
|
-D BUILD_SHARED_LIBS=ON \
|
|
|
|
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG"
|
2020-04-22 14:53:34 +02:00
|
|
|
|
2023-03-03 01:29:43 +01:00
|
|
|
ninja -C build
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2020-04-22 14:53:34 +02:00
|
|
|
}
|