PKGNAME=libcanberra
PKGSEC=libs
PKGDEP="libvorbis libtool pulseaudio gstreamer-1-0 gtk-3"
PKGDEP__RETRO="libvorbis libtool pulseaudio gtk-3"
PKGDES="A small and lightweight implementation of the XDG Sound Theme Specification"

AUTOTOOLS_AFTER=(
	"--with-builtin=dso"
	"--enable-null"
	"--disable-oss"
	"--enable-alsa"
	"--enable-gstreamer"
	"--with-systemdsystemunitdir=/usr/lib/systemd/system"
	"--disable-gtk-doc"
)

AUTOTOOLS_AFTER__RETRO=(
	"${AUTOTOOLS_AFTER[@]}"
	"--disable-gstreamer"
)
# NOTE: requires automake-1.12.
RECONF=0
NOPARALLEL=1

# Needed by Afterglow, whereas FAIL_ARCH defaults to mainline-only.
FAIL_ARCH="!(mainline|retro)"
