[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/files/

2021-05-24 Thread Andrew Ammerlaan
commit: c3f95c5c63a0177b8a54f356ec94d340020c81dc
Author: Andrew Ammerlaan  gentoo  org>
AuthorDate: Mon May 24 09:47:02 2021 +
Commit: Andrew Ammerlaan  gentoo  org>
CommitDate: Mon May 24 09:59:41 2021 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c3f95c5c

media-video/syncplay: strip header from patches

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andrew Ammerlaan  gentoo.org>

 .../syncplay/files/syncplay-change-alignment-operator.patch|  9 -
 .../syncplay-make-qpixmap-to-qicon-conversion-explicit.patch   |  9 -
 .../syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch  |  9 -
 .../files/syncplay-use-lambda-to-connect-behind-wrapper.patch  | 10 --
 4 files changed, 37 deletions(-)

diff --git 
a/media-video/syncplay/files/syncplay-change-alignment-operator.patch 
b/media-video/syncplay/files/syncplay-change-alignment-operator.patch
index bccdeeae4..80a6392fe 100644
--- a/media-video/syncplay/files/syncplay-change-alignment-operator.patch
+++ b/media-video/syncplay/files/syncplay-change-alignment-operator.patch
@@ -1,12 +1,3 @@
-From 61584550ca734d2f3fa3b811d73f2cebd2b7f30f Mon Sep 17 00:00:00 2001
-From: Andrew Ammerlaan 
-Date: Thu, 8 Oct 2020 08:37:58 +0200
-Subject: [PATCH] replace & with | in Alignment, visually identical
-

- syncplay/ui/GuiConfiguration.py | 6 +++---
- 1 file changed, 3 insertions(+), 3 deletions(-)
-
 diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py
 index 96915814..e0713adf 100755
 --- a/syncplay/ui/GuiConfiguration.py

diff --git 
a/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit.patch
 
b/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit.patch
index 830239924..b922f71ba 100644
--- 
a/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit.patch
+++ 
b/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit.patch
@@ -1,12 +1,3 @@
-From b0e018d0cda148ef8dba07857fcbe8d751800992 Mon Sep 17 00:00:00 2001
-From: Andrew Ammerlaan 
-Date: Thu, 8 Oct 2020 08:47:44 +0200
-Subject: [PATCH] make conversion from QPixmap to QIcon explicit
-

- syncplay/ui/gui.py | 106 ++---
- 1 file changed, 53 insertions(+), 53 deletions(-)
-
 diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py
 index c59c5697..2a4bd1a5 100755
 --- a/syncplay/ui/gui.py

diff --git 
a/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch
 
b/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch
index 561895069..70843d775 100644
--- 
a/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch
+++ 
b/media-video/syncplay/files/syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch
@@ -1,12 +1,3 @@
-From b0e018d0cda148ef8dba07857fcbe8d751800992 Mon Sep 17 00:00:00 2001
-From: Andrew Ammerlaan 
-Date: Thu, 8 Oct 2020 08:47:44 +0200
-Subject: [PATCH] make conversion from QPixmap to QIcon explicit
-

- syncplay/ui/gui.py | 106 ++---
- 1 file changed, 53 insertions(+), 53 deletions(-)
-
 diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py
 index c59c5697..2a4bd1a5 100755
 --- a/syncplay/ui/gui.py

diff --git 
a/media-video/syncplay/files/syncplay-use-lambda-to-connect-behind-wrapper.patch
 
b/media-video/syncplay/files/syncplay-use-lambda-to-connect-behind-wrapper.patch
index a88da5e00..bb70fb888 100644
--- 
a/media-video/syncplay/files/syncplay-use-lambda-to-connect-behind-wrapper.patch
+++ 
b/media-video/syncplay/files/syncplay-use-lambda-to-connect-behind-wrapper.patch
@@ -1,13 +1,3 @@
-From f880d4773238a31ac7046ff290910a4ff4920d53 Mon Sep 17 00:00:00 2001
-From: Andrew Ammerlaan 
-Date: Thu, 8 Oct 2020 11:41:41 +0200
-Subject: [PATCH] use lambda when connect() to function with @wrapper
-

- syncplay/ui/GuiConfiguration.py |  2 +-
- syncplay/ui/gui.py  | 40 -
- 2 files changed, 21 insertions(+), 21 deletions(-)
-
 diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py
 index e0713adf..9ce6a429 100755
 --- a/syncplay/ui/GuiConfiguration.py



[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/files/, media-video/syncplay/

2020-04-30 Thread Andrew Ammerlaan
commit: 354aafc5909fe905326f890b6d35589dc0cc8129
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Apr 30 18:25:11 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Apr 30 18:25:11 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=354aafc5

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  riseup.net>

 media-video/syncplay/files/syncplay-server-init-conf |  2 +-
 media-video/syncplay/syncplay-1.6.4_p1.ebuild| 11 ++-
 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 c07ef82..8c8e0e8 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 5e5fc87..3a46c75 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() {