media-sound/snapcast: Minor fixes

* Forcing -d(aemon) by moving it from confd to initd
* Dropped global USE flag descriptions
* Removed CMakeList patch because upstream merged it

Signed-off-by: Christian Buchinger <cb-gentoo@guya.de>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10207
Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Christian Buchinger
2018-10-23 18:49:07 +02:00
committed by Michał Górny
parent ec614cb7b5
commit 70e12bfc0e
7 changed files with 4 additions and 9 deletions

View File

@@ -30,4 +30,4 @@
SNAPCLIENT_USER="--user snapclient:audio"
SNAPCLIENT_OPTS="-d"
SNAPCLIENT_OPTS=""

View File

@@ -4,7 +4,7 @@
name=snapclient
command="/usr/bin/snapclient"
command_args="$SNAPCLIENT_USER $SNAPCLIENT_OPTS"
command_args="-d $SNAPCLIENT_USER $SNAPCLIENT_OPTS"
pidfile="/run/snapclient/pid"
depend() {

View File

@@ -42,4 +42,4 @@
SNAPSERVER_USER="--user snapserver:snapserver"
SNAPSERVER_OPTS="-d -s pipe:///tmp/snapfifo?name=default"
SNAPSERVER_OPTS="-s pipe:///tmp/snapfifo?name=default"

View File

@@ -4,7 +4,7 @@
name=snapserver
command="/usr/bin/snapserver"
command_args="$SNAPSERVER_USER $SNAPSERVER_OPTS"
command_args="-d $SNAPSERVER_USER $SNAPSERVER_OPTS"
pidfile="/run/snapserver/pid"
depend() {

View File

@@ -10,12 +10,9 @@
<name>Proxy Maintainers</name>
</maintainer>
<use>
<flag name="avahi">Build with avahi support</flag>
<flag name="client">Build and install Snapcast client component</flag>
<flag name="flac">Build with FLAC compression support</flag>
<flag name="server">Build and install Snapcast server component</flag>
<flag name="tremor">Build with TREMOR version of vorbis</flag>
<flag name="vorbis">Build with libvorbis support</flag>
</use>
<upstream>
<maintainer status="active">

View File

@@ -35,8 +35,6 @@ DEPEND="${RDEPEND}
>=dev-cpp/asio-1.12.1
>=dev-cpp/popl-1.2.0"
PATCHES=( "${FILESDIR}/${PN}-options-for-use-flags.patch" )
pkg_setup() {
if use server ; then
enewgroup "snapserver"