media-sound/shairport-sync: add 9999 ebuild
Package-Manager: Portage-3.0.20, Repoman-3.0.3
This commit is contained in:
parent
f0e95cc1ab
commit
c017f8d988
3 changed files with 71 additions and 1 deletions
|
|
@ -1,3 +1,4 @@
|
|||
DIST 3.3.8.tar.gz 425524 BLAKE2B adaaef3a65d3ffccda2ba3ed324312fe5e95db00f2ae2c67afd49a43e6e5c8517d7eeb751f0b663a1e75a470f1cfcd9547e26bd11fa095565ba048d98465dcd8 SHA512 fc3b625f3ad04352feb89111499f3aa6e862e80d1d12bdfe544d5a4e4c9a3b380e523f637fe675c68180f3ee465b09088c9f4f630729c7384bafefc6e7f8fbf8
|
||||
EBUILD shairport-sync-3.3.8.ebuild 1131 BLAKE2B d37fd244ee90948e9b3fac4d52facbe9814e428174bbfe0a4e98528d86c7b5e14364eb8f42fcc0d2a0f1deba3ab386468d23dc6686b1d9a4cb20a050d0472e12 SHA512 55a7a42b0e29d826da4f9e6818eacb760b7df4add9a6ef09b781eda2a6937cd5dbdb787397c2b4a01f8e37e1ea79d88237752fa973991a4b67db5a197daf09c6
|
||||
MISC metadata.xml 388 BLAKE2B 26059953d3ec0f4cdd392b16a3ca80f7f9a87585dece326732e83abd44e6fbaae71fd4b1428cfefac4831dd755ff54207af6bb9e96ac88ef63317607e3dde96e SHA512 5f96b0aea46da95da378b149cb7f6297737dcf8a144e0acd1943883490ac4e99ae0272b3200599aa8b123c4a69f3ffed2238f55299a6f7801ca44092bdae1d61
|
||||
EBUILD shairport-sync-9999.ebuild 1369 BLAKE2B e915a1767b31b791a6ccdc89f355e6e72c6f09ab8fea955cf561f5c1a934ca163a3e79ffa688364669e46c035655eb821fed17b6392a536469cf7e8431b587fe SHA512 c0766ba3b3d0a2c1d10df30f6eca1079f11426f387fbae64d71da2b62584664fa6efc36841f63f5013d572c3caeeda79030f9fbb86b45b3b73c87d76e374083b
|
||||
MISC metadata.xml 461 BLAKE2B d42cdf983fb2246ba1bb65d27b8923e7d06424e90779fb70054be4ff9a2c9228de2fa470d11559c80ceb8a88736c696879dcea58ed524ee471c22ffc0de9ee52 SHA512 f403de22d7b722d4051319c6fdf03a22802f7b01e5d47738a2be401ec74764d02eed83dad44d9688ef97cf58da767c86963cbaa62365e01e6b8f45c2fe5b902b
|
||||
|
|
|
|||
|
|
@ -8,5 +8,6 @@
|
|||
<use>
|
||||
<flag name="soxr">Enables resampling support using libsoxr</flag>
|
||||
<flag name="avahi">Enables Avahi mdns backend</flag>
|
||||
<flag name="pipewire">Enables support for pipewire audio output</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
68
media-sound/shairport-sync/shairport-sync-9999.ebuild
Normal file
68
media-sound/shairport-sync/shairport-sync-9999.ebuild
Normal file
|
|
@ -0,0 +1,68 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit autotools user git-r3
|
||||
|
||||
DESCRIPTION="Emulates an AirPort Express to stream music from i-devices"
|
||||
HOMEPAGE="https://github.com/mikebrady/shairport-sync"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
EGIT_REPO_URI="https://github.com/mikebrady/shairport-sync.git"
|
||||
EGIT_BRANCH="development"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="https://github.com/mikebrady/${PN}/archive/${PV}.tar.gz"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS=""
|
||||
IUSE="avahi ao soxr systemd pulseaudio pipewire"
|
||||
|
||||
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 )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
pipewire? ( media-video/pipewire )"
|
||||
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
|
||||
if use pulseaudio ; then
|
||||
myconf+=" --with-pa"
|
||||
fi
|
||||
if use systemd ; then
|
||||
myconf+=" --with-systemd"
|
||||
fi
|
||||
if use pipewire ; then
|
||||
myconf+=" --with-pw"
|
||||
fi
|
||||
econf ${myconf} \
|
||||
--with-ssl=openssl \
|
||||
--with-configfiles \
|
||||
--with-alsa
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue