add optional libao to shairport-sync

This commit is contained in:
Anton Schubert 2016-06-04 18:06:16 +02:00
parent b4c588af42
commit 974ca0610a
2 changed files with 6 additions and 2 deletions

View file

@ -12,7 +12,7 @@ SRC_URI="https://github.com/mikebrady/${PN}/archive/${PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="avahi soxr"
IUSE="avahi ao soxr"
DEPEND="dev-libs/openssl
media-libs/alsa-lib
@ -20,6 +20,7 @@ DEPEND="dev-libs/openssl
dev-libs/popt
dev-libs/libconfig
avahi? ( net-dns/avahi )
ao? ( media-libs/libao )
soxr? ( media-libs/soxr )"
RDEPEND="${DEPEND}"
@ -40,6 +41,9 @@ src_configure() {
if use soxr ; then
myconf+=" --with-soxr"
fi
if use ao ; then
myconf+=" --with-ao"
fi
econf ${myconf} \
--with-ssl=openssl \
--with-alsa