libopenal: enable sndio support

This commit is contained in:
Christian Buschau 2019-01-21 01:48:15 +01:00 committed by maxice8
parent 38439daa28
commit 325053f56b
1 changed files with 7 additions and 3 deletions

View File

@ -1,19 +1,23 @@
# Template file for 'libopenal'
pkgname=libopenal
version=1.19.1
revision=1
revision=2
wrksrc="openal-soft-${version}"
build_style=cmake
configure_args="-DALSOFT_EXAMPLES=OFF -DALSOFT_TESTS=OFF"
hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel SDL2-devel ffmpeg-devel jack-devel"
short_desc="A cross-platform 3D audio library"
makedepends="alsa-lib-devel pulseaudio-devel SDL2-devel ffmpeg-devel jack-devel
$(vopt_if sndio sndio-devel)"
short_desc="Cross-platform 3D audio library"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://openal-soft.org/"
distfiles="http://openal-soft.org/openal-releases/openal-soft-${version}.tar.bz2"
checksum=5c2f87ff5188b95e0dc4769719a9d89ce435b8322b4478b95dd4b427fe84b2e9
build_options="sndio"
build_options_default="sndio"
pre_configure() {
case "$XBPS_TARGET_MACHINE" in
arm*) # Hack to not compile (broken) arm_neon.h inlining of indirect function calls