blob: 5a02ba86d4edee391b5f1d6a2fea709a863303d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Maintainer: EliasofWaffle <eliascontato@protonmail.com>
pkgname=libspatialaudio
pkgver=0.4.1
pkgrel=1
pkgdesc="Spatial audio encoding/decoding and binauralization library"
license=('LGPLv2' 'Proprietary')
arch=('x86_64')
makedepends=(
'git'
'meson'
'gcc'
'libmysofa'
)
depends=('libmysofa')
source=( https://github.com/videolan/$pkgname/releases/download/$pkgver/$pkgname-$pkgver.tar.xz )
sha256sums=('215980432e3980d7733caa7d5051887f0d604cb8a265adf1311087c0fe7d3892')
prepare(){
cd libspatialaudio-0.4.1
mkdir -p build
}
build(){
arch-meson libspatialaudio-0.4.1 build
meson compile -C build
}
check() {
meson test -C build --print-errorlogs || true
}
package() {
DESTDIR="${pkgdir}" ninja $NINJAFLAGS -C build install
}
|