aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-30 20:25:11 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-04-30 20:25:11 +0200
commit354aafc5909fe905326f890b6d35589dc0cc8129 (patch)
tree35fc220b9c49c89936395a59d10736db1ba46ecc /media-video
parentmedia-video/syncplay: add initd script and confd conf (diff)
downloadguru-354aafc5909fe905326f890b6d35589dc0cc8129.tar.gz
guru-354aafc5909fe905326f890b6d35589dc0cc8129.tar.bz2
guru-354aafc5909fe905326f890b6d35589dc0cc8129.zip
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>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/syncplay/files/syncplay-server-init-conf2
-rw-r--r--media-video/syncplay/syncplay-1.6.4_p1.ebuild11
2 files changed, 7 insertions, 6 deletions
diff --git a/media-video/syncplay/files/syncplay-server-init-conf b/media-video/syncplay/files/syncplay-server-init-conf
index c07ef82b7..8c8e0e8fa 100644
--- a/media-video/syncplay/files/syncplay-server-init-conf
+++ b/media-video/syncplay/files/syncplay-server-init-conf
@@ -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"
diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
index 5e5fc8747..3a46c7575 100644
--- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild
+++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
@@ -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() {