add optional libao to shairport-sync
This commit is contained in:
parent
b4c588af42
commit
974ca0610a
2 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue