media-sound/shairport-sync: fix user install
Package-Manager: Portage-3.0.30, Repoman-3.0.3
This commit is contained in:
parent
c017f8d988
commit
d51353747e
4 changed files with 39 additions and 19 deletions
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
EAPI="7"
|
||||
|
||||
inherit autotools user git-r3
|
||||
inherit autotools git-r3
|
||||
|
||||
DESCRIPTION="Emulates an AirPort Express to stream music from i-devices"
|
||||
HOMEPAGE="https://github.com/mikebrady/shairport-sync"
|
||||
|
|
@ -30,14 +30,16 @@ DEPEND="dev-libs/openssl
|
|||
soxr? ( media-libs/soxr )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
pipewire? ( media-video/pipewire )"
|
||||
RDEPEND="${DEPEND}"
|
||||
RDEPEND="${DEPEND}
|
||||
acct-group/shairport-sync
|
||||
acct-user/shairport-sync"
|
||||
|
||||
pkg_setup() {
|
||||
enewuser shairport-sync -1 -1 -1 audio
|
||||
}
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-skip-creating-users.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
eapply_user
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue