blob: ac9d082ce4ed5705c38d290d4a74fe393bacf237 (
plain)
1 # Description: High quality, one-dimensional sample-rate conversion library
2 # URL: https://sourceforge.net/p/soxr/wiki/Home/
3 # Maintainer: Danny Rawlins, crux at romster dot me
4 # Depends on: cmake ffmpeg
5
6 name=libsoxr
7 version=0.1.3
8 release=1
9 source=(https://downloads.sourceforge.net/soxr/soxr-$version-Source.tar.xz)
10
11 build() {
12 cmake -Hsoxr-$version-Source -Bbuild \
13 -DCMAKE_BUILD_TYPE=Release \
14 -DCMAKE_INSTALL_PREFIX=/usr \
15 -DBUILD_EXAMPLES='OFF' \
16 -DBUILD_SHARED_LIBS='ON' \
17 -DWITH_AVFFT='ON' \
18 -DWITH_LSR_BINDINGS='ON' \
19 -DWITH_OPENMP='ON' \
20 -DWITH_PFFFT='ON'
21
22 cmake --build build
23 DESTDIR=$PKG cmake --install build
24
25 rm -r $PKG/usr/share/doc
26 }
|