libsamplerate-32: adopted port

This commit is contained in:
Tim Biermann 2023-09-16 10:25:22 +02:00
parent c19e743158
commit ea3f5b1545
Signed by untrusted user: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 5 additions and 7 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/compat-32.pub untrusted comment: verify with /etc/ports/compat-32.pub
RWSwxGo/zH7eXQf+2BHP9ZnYUNKNs4lc2ER3x2W1tPbcoXSb52017rp15MsCWRiTh3tlSgBn4vQo3083GbNNTmq4L4tynKAbXgo= RWSwxGo/zH7eXa31FvumepYoyHCpqmThdkQxmf5P8ENl8peoEQ/FwXbYReUDL8IPbxu2dnbiPlD7Z/fvmxLYngbXRjmktEBtPQQ=
SHA256 (Pkgfile) = 0469433f90b9e7b766e0bf0cba8bd53943d0f2b3f0e61cd70bd5b197809da5f8 SHA256 (Pkgfile) = a403a121b65893c42ebf372847c7535cc01b0b834a6a84fe6442e8c3b1ea2b62
SHA256 (.footprint) = 22ca3156b3c0ba6dec497d57e3f904cd1c1f3a5a116aff1d8733dceb727f5de9 SHA256 (.footprint) = 22ca3156b3c0ba6dec497d57e3f904cd1c1f3a5a116aff1d8733dceb727f5de9
SHA256 (libsamplerate-0.2.2.tar.xz) = 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893 SHA256 (libsamplerate-0.2.2.tar.xz) = 3258da280511d24b49d6b08615bbe824d0cacc9842b0e4caf11c52cf2b043893

View File

@ -1,6 +1,6 @@
# Description: Sound sample rate conversion library. # Description: Sound sample rate conversion library
# URL: https://libsndfile.github.io/libsamplerate/ # URL: https://libsndfile.github.io/libsamplerate/
# Maintainer: Danny Rawlins, crux at romster dot me # Maintainer: CRUX compat-32 Team, compat-32-ports at crux dot nu
# Depends on: cmake libsndfile-32 # Depends on: cmake libsndfile-32
name=libsamplerate-32 name=libsamplerate-32
@ -9,9 +9,7 @@ release=1
source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/libsamplerate-$version.tar.xz) source=(https://github.com/libsndfile/libsamplerate/releases/download/$version/libsamplerate-$version.tar.xz)
build() { build() {
prt-get isinst ninja && PKGMK_LSR+=' -G Ninja' cmake -S libsamplerate-$version -B build -G Ninja \
cmake -S libsamplerate-$version -B build $PKGMK_LSR \
-D CMAKE_INSTALL_PREFIX=/usr \ -D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_INSTALL_LIBDIR=lib32 \ -D CMAKE_INSTALL_LIBDIR=lib32 \
-D CMAKE_BUILD_TYPE=Release \ -D CMAKE_BUILD_TYPE=Release \