libao: add pulseaudio and sndio options.

This commit is contained in:
Christian Neukirchen 2015-03-09 15:23:17 +01:00
parent 29d45f1f17
commit 51ad4f4a44

View file

@ -1,11 +1,13 @@
# Template file for 'libao' # Template file for 'libao'
pkgname=libao pkgname=libao
version=1.2.0 version=1.2.0
revision=1 revision=2
build_style=gnu-configure build_style=gnu-configure
configure_args="--enable-alsa-mmap" configure_args="--enable-alsa-mmap"
hostmakedepends="pkg-config" hostmakedepends="pkg-config"
makedepends="alsa-lib-devel pulseaudio-devel" makedepends="alsa-lib-devel
$(vopt_if pulseaudio pulseaudio-devel)
$(vopt_if sndio sndio-devel)"
conf_files="/etc/libao.conf" conf_files="/etc/libao.conf"
homepage="http://xiph.org/ao/" homepage="http://xiph.org/ao/"
short_desc="Cross-platform audio output library" short_desc="Cross-platform audio output library"
@ -14,6 +16,9 @@ license="GPL-2"
distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz" distfiles="http://downloads.xiph.org/releases/ao/${pkgname}-${version}.tar.gz"
checksum=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf checksum=03ad231ad1f9d64b52474392d63c31197b0bc7bd416e58b1c10a329a5ed89caf
build_options="pulseaudio sndio"
build_options_default="pulseaudio"
post_install() { post_install() {
vconf ${FILESDIR}/libao.conf vconf ${FILESDIR}/libao.conf
} }