25 lines
648 B
Plaintext
25 lines
648 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.6.0
|
|
release=1
|
|
source=(https://github.com/dbry/WavPack/releases/download/$version/$name-$version.tar.xz)
|
|
|
|
build() {
|
|
mkdir build && cd build
|
|
cmake -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 \
|
|
../$name-$version
|
|
|
|
ninja -j ${JOBS:-1}
|
|
DESTDIR=$PKG ninja install
|
|
}
|