blob: 2375bc06b8708e1a15d8c5e13786cc21e027d62f (
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
|
# Contributor:
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=openal-soft
pkgver=1.20.1
pkgrel=0
pkgdesc="software implementation of OpenAL API"
url="https://kcat.strangesoft.net/openal.html"
arch="all"
license="LGPL-2.0-or-later"
depends_dev="alsa-lib-dev"
makedepends="$depends_dev linux-headers cmake"
subpackages="$pkgname-dev"
source="http://kcat.strangesoft.net/openal-releases/openal-soft-$pkgver.tar.bz2"
options="!check"
builddir="$srcdir/$pkgname-$pkgver/build"
prepare() {
default_prepare
mkdir -p "$builddir"
}
build() {
local _cpuext_neon=
case "$CARCH" in
armhf) _cpuext_neon=-DALSOFT_CPUEXT_NEON=OFF;;
esac
cmake -DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
$_cpuext_neon \
..
make
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="a8a03a2162b5d35e66adc079e81d7fa075b83a3ee1cec3412cb40f7789263ed8bd005beefb7ef995f464dfa43aac22ea0f547b752dfc7533ed9120a95fb92513 openal-soft-1.20.1.tar.bz2"
|