media-sound/shairport-sync: bump to 3.3.8
Package-Manager: Portage-3.0.18, Repoman-3.0.2
This commit is contained in:
parent
7d83ee3205
commit
c56853d147
3 changed files with 27 additions and 6 deletions
|
|
@ -1,50 +0,0 @@
|
|||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools user
|
||||
|
||||
DESCRIPTION="Emulates an AirPort Express to stream music from i-devices"
|
||||
HOMEPAGE="https://github.com/mikebrady/shairport-sync"
|
||||
SRC_URI="https://github.com/mikebrady/${PN}/archive/${PV}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
IUSE="avahi ao soxr"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
media-libs/alsa-lib
|
||||
dev-libs/libdaemon
|
||||
dev-libs/popt
|
||||
dev-libs/libconfig
|
||||
avahi? ( net-dns/avahi )
|
||||
ao? ( media-libs/libao )
|
||||
soxr? ( media-libs/soxr )"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser shairport-sync -1 -1 -1 audio
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf
|
||||
if use avahi ; then
|
||||
myconf+=" --with-avahi"
|
||||
fi
|
||||
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