23 lines
697 B
Plaintext
23 lines
697 B
Plaintext
# Description: Audio compression format with lossless, lossy and hybrid compression modes
|
|
# URL: https://www.wavpack.com/
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
|
|
name=wavpack
|
|
version=5.7.0
|
|
release=1
|
|
source=(https://github.com/dbry/WavPack/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
cmake -S $name-$version -B build -G Ninja \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_CXX_FLAGS="$CXXFLAGS" \
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DCMAKE_INSTALL_LIBDIR=lib \
|
|
-DBUILD_SHARED_LIBS=ON \
|
|
-DBUILD_TESTING=OFF \
|
|
-DWAVPACK_INSTALL_CMAKE_MODULE=OFF
|
|
|
|
ninja -C build -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja -C build install
|
|
}
|