2020-04-22 22:53:34 +10:00
|
|
|
# Description: Audio processing library for changing tempo, pitch and playback rates.
|
2023-03-02 19:29:43 -05:00
|
|
|
# URL: https://codeberg.org/soundtouch/soundtouch
|
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
# Depends on:
|
2020-04-22 22:53:34 +10:00
|
|
|
|
|
|
|
name=soundtouch
|
2022-11-12 11:29:13 +00:00
|
|
|
version=2.3.2
|
|
|
|
release=1
|
2023-03-02 19:29:43 -05:00
|
|
|
source=(https://codeberg.org/$name/$name/archive/$version.tar.gz)
|
|
|
|
renames=($name-$version.tar.gz)
|
2020-04-22 22:53:34 +10:00
|
|
|
|
|
|
|
build() {
|
2022-11-12 11:29:13 +00:00
|
|
|
cmake -S $name -B build -G Ninja \
|
2021-12-28 00:33:34 +11: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 22:53:34 +10:00
|
|
|
|
2023-03-02 19:29:43 -05:00
|
|
|
ninja -C build
|
|
|
|
DESTDIR=$PKG ninja -C build install
|
2020-04-22 22:53:34 +10:00
|
|
|
}
|