contrib/soundtouch/Pkgfile

22 lines
598 B
Plaintext
Raw Normal View History

2020-04-22 14:53:34 +02:00
# 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
2020-04-22 14:53:34 +02:00
name=soundtouch
2021-09-09 12:51:30 +02:00
version=2.3.1
release=2
source=(https://www.surina.net/$name/$name-$version.tar.gz)
2020-04-22 14:53:34 +02:00
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"
2020-04-22 14:53:34 +02:00
cmake --build build
DESTDIR=$PKG cmake --install build
2020-04-22 14:53:34 +02:00
}