wavpack: adopted, new build system cmake/ninja

This commit is contained in:
John McQuah 2023-03-02 20:22:17 -05:00
parent 005280628c
commit 6633c9524d
3 changed files with 17 additions and 14 deletions

View File

@ -8,10 +8,7 @@ drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/wavpack/
-rw-r--r-- root/root usr/include/wavpack/wavpack.h
drwxr-xr-x root/root usr/lib/
-rwxr-xr-x root/root usr/lib/libwavpack.la
lrwxrwxrwx root/root usr/lib/libwavpack.so -> libwavpack.so.1.2.5
lrwxrwxrwx root/root usr/lib/libwavpack.so.1 -> libwavpack.so.1.2.5
-rwxr-xr-x root/root usr/lib/libwavpack.so.1.2.5
-rwxr-xr-x root/root usr/lib/libwavpack.so
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/wavpack.pc
drwxr-xr-x root/root usr/share/

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3wxt6ntNwBRsgWBHyumqKTqLN7VfigLxd0JL6NKP29Oc28cJWVYd2WqMpfkyecl67aLQ5R+b+XwIjtQ/kn3d9AI=
SHA256 (Pkgfile) = 53a3e4f172f9fe8d64f5ed1e825de4aaf2080feb32a0900a9b94887e08920e3c
SHA256 (.footprint) = e84880a117626e6b9c99b4bab97ecd591a058b5fa379e884f3d1ab168f73c553
RWSagIOpLGJF38l6sh/SsqFmsRRYKnbTNZZuz3GaNa7C9BEM9bpjDzJXbcD+KWerzmPlEfcJruuxquBikWhXkd4+Ctm05ZZBiAI=
SHA256 (Pkgfile) = c2d90863a86017acfb17a64b1e8ebd06e9cb98c18c90121f849df3a1f14af0b8
SHA256 (.footprint) = 89a370e32a3d8ce2268193f4be4410e216a83c6a2c9618d147f513370c2f8e47
SHA256 (wavpack-5.6.0.tar.xz) = af8035f457509c3d338b895875228a9b81de276c88c79bb2d3e31d9b605da9a9

View File

@ -1,6 +1,6 @@
# Description: Audio compression format with lossless, lossy and hybrid compression modes
# URL: https://www.wavpack.com/
# Maintainer: Danny Rawlins, crux at romster dot me
# Maintainer: John McQuah, jmcquah at disroot dot org
name=wavpack
version=5.6.0
@ -8,11 +8,17 @@ release=1
source=(https://github.com/dbry/WavPack/releases/download/$version/$name-$version.tar.xz)
build() {
cd $name-$version
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
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share/doc
ninja -j ${JOBS:-1}
DESTDIR=$PKG ninja install
}