Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/files/, media-video/syncplay/
Date: Thu, 30 Apr 2020 18:25:23
Message-Id: 1588271111.354aafc5909fe905326f890b6d35589dc0cc8129.andrewammerlaan@gentoo
1 commit: 354aafc5909fe905326f890b6d35589dc0cc8129
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu Apr 30 18:25:11 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu Apr 30 18:25:11 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=354aafc5
7
8 media-video/syncplay: only install initd/confd if use server
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 media-video/syncplay/files/syncplay-server-init-conf | 2 +-
14 media-video/syncplay/syncplay-1.6.4_p1.ebuild | 11 ++++++-----
15 2 files changed, 7 insertions(+), 6 deletions(-)
16
17 diff --git a/media-video/syncplay/files/syncplay-server-init-conf b/media-video/syncplay/files/syncplay-server-init-conf
18 index c07ef82..8c8e0e8 100644
19 --- a/media-video/syncplay/files/syncplay-server-init-conf
20 +++ b/media-video/syncplay/files/syncplay-server-init-conf
21 @@ -1,7 +1,7 @@
22 # This is the file that syncplay service loads settings from, it does not affect the binary itself
23 # See https://syncplay.pl/guide/server/ for a list of available flags and description
24
25 -#port="223"
26 +#port="8999"
27 #isolate=False
28 #password="yourpassword"
29 #salt="RANDOMSALT"
30
31 diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
32 index 5e5fc87..3a46c75 100644
33 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild
34 +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
35 @@ -36,13 +36,14 @@ S="${WORKDIR}/${PN}-${MYPV}"
36
37 python_install() {
38 local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
39 - use client && \
40 + if use client; then
41 emake "${MY_MAKEOPTS[@]}" install-client
42 - use server && \
43 + fi
44 + if use server; then
45 emake "${MY_MAKEOPTS[@]}" install-server
46 -
47 - newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
48 - newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
49 + newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
50 + newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
51 + fi
52 }
53
54 pkg_postinst() {