2020-06-12 18:47:56 +10:00
|
|
|
# Description: Audio compression format with lossless, lossy and hybrid compression modes
|
2020-07-21 22:34:00 +10:00
|
|
|
# URL: https://www.wavpack.com/
|
2023-03-02 20:22:17 -05:00
|
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
2006-12-10 20:25:43 +11:00
|
|
|
|
|
|
|
name=wavpack
|
2022-11-29 21:17:06 +00:00
|
|
|
version=5.6.0
|
2006-12-10 20:25:43 +11:00
|
|
|
release=1
|
2021-01-24 20:19:00 +11:00
|
|
|
source=(https://github.com/dbry/WavPack/releases/download/$version/$name-$version.tar.xz)
|
2006-12-10 20:25:43 +11:00
|
|
|
|
|
|
|
build() {
|
2023-03-02 20:22:17 -05:00
|
|
|
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
|
2008-06-18 05:36:09 +10:00
|
|
|
|
2023-03-02 20:22:17 -05:00
|
|
|
ninja -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG ninja install
|
2006-12-10 20:25:43 +11:00
|
|
|
}
|