blob: be21105856515d11a8ce7b86396e169e6b3c9c9e (
plain) (
tree)
|
|
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: Zach van Rijn <me@zv.io>
pkgname=openal-soft
pkgver=1.23.1
pkgrel=0
pkgdesc="Software implementation of OpenAL API"
url="https://openal-soft.org/"
arch="all"
options="!check" # No test suite.
license="LGPL-2.0+"
depends=""
depends_dev="alsa-lib-dev"
makedepends="$depends_dev cmake linux-headers pulseaudio-dev"
subpackages="$pkgname-dev"
source="https://openal-soft.org/openal-releases/${pkgname}-${pkgver}.tar.bz2"
build() {
_cpuext_neon=""
case "$CARCH" in
armhf) _cpuext_neon="-DALSOFT_CPUEXT_NEON=OFF" ;;
esac
cmake \
-DCMAKE_INSTALL_PREFIX="/usr" \
-DCMAKE_INSTALL_LIBDIR="lib" \
$_cpuext_neon \
-Bbuild
make -C build
}
package() {
make DESTDIR="$pkgdir" -C build install
}
sha512sums="0d40577cd27040dc8814c15bacc310a0ce1c98e084f0a37db9f66899265df42ea61ac672efba7445e495849c25b9ba5b086f43320a38965f6ee74081b2896819 openal-soft-1.23.1.tar.bz2"
|