forked from ports/contrib
22 lines
598 B
Plaintext
22 lines
598 B
Plaintext
# Description: Audio processing library for changing tempo, pitch and playback rates.
|
|
# URL: https://www.surina.net/soundtouch/
|
|
# Maintainer: Danny Rawlins, crux at romster dot me
|
|
# Depends on: cmake ninja
|
|
|
|
name=soundtouch
|
|
version=2.3.1
|
|
release=2
|
|
source=(https://www.surina.net/$name/$name-$version.tar.gz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
-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"
|
|
|
|
cmake --build build
|
|
DESTDIR=$PKG cmake --install build
|
|
}
|