mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-09 15:13:31 -04:00
media-video/syncplay: only install initd/confd if use server
Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# This is the file that syncplay service loads settings from, it does not affect the binary itself
|
||||
# See https://syncplay.pl/guide/server/ for a list of available flags and description
|
||||
|
||||
#port="223"
|
||||
#port="8999"
|
||||
#isolate=False
|
||||
#password="yourpassword"
|
||||
#salt="RANDOMSALT"
|
||||
|
||||
@@ -36,13 +36,14 @@ S="${WORKDIR}/${PN}-${MYPV}"
|
||||
|
||||
python_install() {
|
||||
local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
|
||||
use client && \
|
||||
if use client; then
|
||||
emake "${MY_MAKEOPTS[@]}" install-client
|
||||
use server && \
|
||||
fi
|
||||
if use server; then
|
||||
emake "${MY_MAKEOPTS[@]}" install-server
|
||||
|
||||
newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
|
||||
newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
|
||||
newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
|
||||
Reference in New Issue
Block a user