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

2024-05-13 Thread Julien Roy
commit: 0398b4b0fb6754e92314ee715734171e47519bed
Author: Nicola Smaniotto  gmail  com>
AuthorDate: Mon May 13 08:55:04 2024 +
Commit: Julien Roy  jroy  ca>
CommitDate: Mon May 13 09:00:05 2024 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0398b4b0

media-video/syncplay: add 1.7.3, drop 1.7.0

Signed-off-by: Nicola Smaniotto  gmail.com>

 media-video/syncplay/Manifest |  2 +-
 .../syncplay/{syncplay-1.7.0.ebuild => syncplay-1.7.3.ebuild} | 11 ---
 2 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest
index d1b3ece60e..25f73e9386 100644
--- a/media-video/syncplay/Manifest
+++ b/media-video/syncplay/Manifest
@@ -1,3 +1,3 @@
 DIST syncplay-1.6.9.tar.gz 1900259 BLAKE2B 
d535f5057a790ac860e6d0ac376069565fa02076dbc0c1d9eb7f54f87f96bbf7aef85136c8c5b67f1a5cf64a5204a617db26e6931368ba490a3ea9128282e473
 SHA512 
317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65
-DIST syncplay-1.7.0.tar.gz 1982509 BLAKE2B 
e3e22c78244c62addd236f84a9acfac86f1f08359b495f475df3ec29a1bf89564177bda14eca6145c0a637b75f45c31d786c5c58efe49ddd19ba755f9ab7c472
 SHA512 
f8fd57ca14daeeb7b9f1dc36dd49c1674e86548c2fcf8c3db27c76e54d5d64b40e5c56ecd49e591c3c1084c0efe5a10b1fed50fd8e28e42913d05d100c6952f2
 DIST syncplay-1.7.1.tar.gz 1983931 BLAKE2B 
510a3da1f0d52d8033b744b66b87916411051d8f1fdbebd2f098e11e1cf58b2ab81bb491bb3b4aa68d630b53d4b85ad7440bc0b4715a7d9aa23a1c6728bf674c
 SHA512 
aca2eb0503ab853175414663301813f1bc7ebfd38836d3f67d072c4721dc84aa9c4559ef00377641ec25e842ee479af31771ef004fc57f466c0c92df31940276
+DIST syncplay-1.7.3.tar.gz 1986541 BLAKE2B 
204874b02fdb4d889b1718173fb34bd715ce6f66d051cfa5be102f93d4b8ae209af64b0f8096c146e6f439f9f9bf0c92bb6849324c0d067c90784c4a60b2f089
 SHA512 
144c9b4de9272943f7e3624f602e5d36a18871f78588b60f22d699465ecf3b1c63e733441b9fdd26d6e05db032e7a090e544ce7861532377a34bbc9183e3ce10

diff --git a/media-video/syncplay/syncplay-1.7.0.ebuild 
b/media-video/syncplay/syncplay-1.7.3.ebuild
similarity index 87%
rename from media-video/syncplay/syncplay-1.7.0.ebuild
rename to media-video/syncplay/syncplay-1.7.3.ebuild
index c11934ec75..5a6696368e 100644
--- a/media-video/syncplay/syncplay-1.7.0.ebuild
+++ b/media-video/syncplay/syncplay-1.7.3.ebuild
@@ -1,9 +1,9 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
 
@@ -29,7 +29,12 @@ RDEPEND="
client? (
gui? (
$( python_gen_cond_dep \
-   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]' 
\
+   python3_{10,11}
+   )
+   $( python_gen_cond_dep \
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside6]' 
\
+   python3_12
)
)
|| (



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

2023-12-17 Thread David Roman
commit: f0b0b28a2ad1c1db2b9dd99d3ec2a4da8961b408
Author: Nicola Smaniotto  gmail  com>
AuthorDate: Sat Dec 16 11:24:07 2023 +
Commit: David Roman  gmail  com>
CommitDate: Sat Dec 16 11:42:01 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f0b0b28a

media-video/syncplay: add 1.7.1

Signed-off-by: Nicola Smaniotto  gmail.com>

 media-video/syncplay/Manifest  |  1 +
 media-video/syncplay/syncplay-1.7.1.ebuild | 81 ++
 2 files changed, 82 insertions(+)

diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest
index 145ef76278..d1b3ece60e 100644
--- a/media-video/syncplay/Manifest
+++ b/media-video/syncplay/Manifest
@@ -1,2 +1,3 @@
 DIST syncplay-1.6.9.tar.gz 1900259 BLAKE2B 
d535f5057a790ac860e6d0ac376069565fa02076dbc0c1d9eb7f54f87f96bbf7aef85136c8c5b67f1a5cf64a5204a617db26e6931368ba490a3ea9128282e473
 SHA512 
317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65
 DIST syncplay-1.7.0.tar.gz 1982509 BLAKE2B 
e3e22c78244c62addd236f84a9acfac86f1f08359b495f475df3ec29a1bf89564177bda14eca6145c0a637b75f45c31d786c5c58efe49ddd19ba755f9ab7c472
 SHA512 
f8fd57ca14daeeb7b9f1dc36dd49c1674e86548c2fcf8c3db27c76e54d5d64b40e5c56ecd49e591c3c1084c0efe5a10b1fed50fd8e28e42913d05d100c6952f2
+DIST syncplay-1.7.1.tar.gz 1983931 BLAKE2B 
510a3da1f0d52d8033b744b66b87916411051d8f1fdbebd2f098e11e1cf58b2ab81bb491bb3b4aa68d630b53d4b85ad7440bc0b4715a7d9aa23a1c6728bf674c
 SHA512 
aca2eb0503ab853175414663301813f1bc7ebfd38836d3f67d072c4721dc84aa9c4559ef00377641ec25e842ee479af31771ef004fc57f466c0c92df31940276

diff --git a/media-video/syncplay/syncplay-1.7.1.ebuild 
b/media-video/syncplay/syncplay-1.7.1.ebuild
new file mode 100644
index 00..5a6696368e
--- /dev/null
+++ b/media-video/syncplay/syncplay-1.7.1.ebuild
@@ -0,0 +1,81 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit desktop distutils-r1 optfeature xdg
+
+DESCRIPTION="Client/server to synchronize media playback"
+HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl";
+SRC_URI="https://github.com/${PN^}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+client server +gui"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   $( python_gen_cond_dep \
+   '>=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
+   >=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]
+   >=dev-python/pem-21.2.0[${PYTHON_USEDEP}]'
+   )
+   client? (
+   gui? (
+   $( python_gen_cond_dep \
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]' 
\
+   python3_{10,11}
+   )
+   $( python_gen_cond_dep \
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside6]' 
\
+   python3_12
+   )
+   )
+   || (
+   media-video/vlc[lua]
+   media-video/mpv[lua]
+   media-video/mplayer
+   )
+   )
+"
+
+python_install() {
+   python_domodule syncplay
+
+   if use gui; then
+   for size in 256 128 96 64 48 32 24 16; do
+   doicon -s ${size} 
"${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
+   done
+   fi
+   if use client; then
+   python_newscript syncplayClient.py syncplay
+   if use gui; then
+   domenu syncplay/resources/syncplay.desktop
+   fi
+   fi
+   if use server; then
+   if use gui; then
+   domenu syncplay/resources/syncplay-server.desktop
+   fi
+   python_newscript syncplayServer.py syncplay-server
+   newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
+   newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
+   fi
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   if use client; then
+   optfeature_header "Syncplay is compatible with the following 
players, install:"
+   optfeature "VLC support" media-video/vlc[lua]
+   optfeature "MPV support" media-video/mpv[lua]
+   optfeature "MPlayer support" media-video/mplayer
+   fi
+}



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

2023-04-17 Thread Florian Schmaus
commit: cae32058cf39e3c31c8dde26c1b98ef67538f407
Author: Nicola Smaniotto  gmail  com>
AuthorDate: Sun Apr 16 09:44:59 2023 +
Commit: Florian Schmaus  gentoo  org>
CommitDate: Sun Apr 16 09:46:40 2023 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cae32058

media-video/syncplay: add 1.7.0

Signed-off-by: Nicola Smaniotto  gmail.com>

 media-video/syncplay/Manifest  |  1 +
 media-video/syncplay/syncplay-1.7.0.ebuild | 76 ++
 2 files changed, 77 insertions(+)

diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest
index 344ca6451..5be4ce6de 100644
--- a/media-video/syncplay/Manifest
+++ b/media-video/syncplay/Manifest
@@ -1,2 +1,3 @@
 DIST syncplay-1.6.7.tar.gz 1898354 BLAKE2B 
bc33ad13d5cc455a593979ca08c3a0d8cb64a44610d5d245920c9978859624fa655cdd953361e82dc3505dd785c6a06bc17641bea0e78d5fdf922975fe813b48
 SHA512 
9b4757befd56569b9061493227931df99ac59ffee91f14c5d0ae932b1744ab7314d4ba4082323781294a70adecdf68a01e1511fbbb1aa9becff0f6c20945ad90
 DIST syncplay-1.6.9.tar.gz 1900259 BLAKE2B 
d535f5057a790ac860e6d0ac376069565fa02076dbc0c1d9eb7f54f87f96bbf7aef85136c8c5b67f1a5cf64a5204a617db26e6931368ba490a3ea9128282e473
 SHA512 
317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65
+DIST syncplay-1.7.0.tar.gz 1982509 BLAKE2B 
e3e22c78244c62addd236f84a9acfac86f1f08359b495f475df3ec29a1bf89564177bda14eca6145c0a637b75f45c31d786c5c58efe49ddd19ba755f9ab7c472
 SHA512 
f8fd57ca14daeeb7b9f1dc36dd49c1674e86548c2fcf8c3db27c76e54d5d64b40e5c56ecd49e591c3c1084c0efe5a10b1fed50fd8e28e42913d05d100c6952f2

diff --git a/media-video/syncplay/syncplay-1.7.0.ebuild 
b/media-video/syncplay/syncplay-1.7.0.ebuild
new file mode 100644
index 0..c77007f83
--- /dev/null
+++ b/media-video/syncplay/syncplay-1.7.0.ebuild
@@ -0,0 +1,76 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} )
+DISTUTILS_USE_PEP517=setuptools
+DISTUTILS_SINGLE_IMPL=1
+
+inherit desktop distutils-r1 optfeature xdg
+
+DESCRIPTION="Client/server to synchronize media playback"
+HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl";
+SRC_URI="https://github.com/${PN^}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="+client server +gui"
+REQUIRED_USE="|| ( client server )"
+
+RDEPEND="
+   $( python_gen_cond_dep \
+   '>=dev-python/certifi-2018.11.29[${PYTHON_USEDEP}]
+   >=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]
+   >=dev-python/pem-21.2.0[${PYTHON_USEDEP}]'
+   )
+   client? (
+   gui? (
+   $( python_gen_cond_dep \
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+   )
+   )
+   || (
+   media-video/vlc[lua]
+   media-video/mpv[lua]
+   media-video/mplayer
+   )
+   )
+"
+
+python_install() {
+   python_domodule syncplay
+
+   if use gui; then
+   for size in 256 128 96 64 48 32 24 16; do
+   doicon -s ${size} 
"${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
+   done
+   fi
+   if use client; then
+   python_newscript syncplayClient.py syncplay
+   if use gui; then
+   domenu syncplay/resources/syncplay.desktop
+   fi
+   fi
+   if use server; then
+   if use gui; then
+   domenu syncplay/resources/syncplay-server.desktop
+   fi
+   python_newscript syncplayServer.py syncplay-server
+   newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
+   newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
+   fi
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   if use client; then
+   optfeature_header "Syncplay is compatible with the following 
players, install:"
+   optfeature "VLC support" media-video/vlc[lua]
+   optfeature "MPV support" media-video/mpv[lua]
+   optfeature "MPlayer support" media-video/mplayer
+   fi
+}



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

2022-11-30 Thread Haelwenn Monnier
commit: 19534635c198644ab0d4956d0fc2f63e9607c77d
Author: Anna  navirc  com>
AuthorDate: Tue Nov 29 14:00:42 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Nov 29 14:06:44 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=19534635

media-video/syncplay: allow the removal of qt5 gui

Author: Anna  navirc.com>
Closes: https://bugs.gentoo.org/882565
Signed-off-by: Nicola Smaniotto  gmail.com>

 media-video/syncplay/syncplay-1.6.9.ebuild | 25 +
 1 file changed, 17 insertions(+), 8 deletions(-)

diff --git a/media-video/syncplay/syncplay-1.6.9.ebuild 
b/media-video/syncplay/syncplay-1.6.9.ebuild
index 889f7ce1b..f6b74ab52 100644
--- a/media-video/syncplay/syncplay-1.6.9.ebuild
+++ b/media-video/syncplay/syncplay-1.6.9.ebuild
@@ -17,7 +17,7 @@ LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64"
 
-IUSE="+client server"
+IUSE="+client server +gui"
 REQUIRED_USE="|| ( client server )"
 
 RDEPEND="
@@ -26,8 +26,10 @@ RDEPEND="
>=dev-python/twisted-16.4.0[${PYTHON_USEDEP},ssl]'
)
client? (
-   $( python_gen_cond_dep \
-   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+   gui? (
+   $( python_gen_cond_dep \
+   'dev-python/QtPy[${PYTHON_USEDEP},gui,pyside2]'
+   )
)
|| (
media-video/vlc[lua]
@@ -39,16 +41,23 @@ RDEPEND="
 
 python_install() {
python_domodule syncplay
-   for size in 256 128 96 64 48 32 24 16; do
-   doicon -s ${size} 
"${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
-   done
+
+   if use gui; then
+   for size in 256 128 96 64 48 32 24 16; do
+   doicon -s ${size} 
"${PN}/resources/hicolor/${size}x${size}/apps/syncplay.png"
+   done
+   fi
if use client; then
python_newscript syncplayClient.py syncplay
-   domenu syncplay/resources/syncplay.desktop
+   if use gui; then
+   domenu syncplay/resources/syncplay.desktop
+   fi
fi
if use server; then
+   if use gui; then
+   domenu syncplay/resources/syncplay-server.desktop
+   fi
python_newscript syncplayServer.py syncplay-server
-   domenu syncplay/resources/syncplay-server.desktop
newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
fi



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

2022-11-30 Thread Haelwenn Monnier
commit: 3d2bfa2bf714d94e1dd5d03fc65c72451dc8a1d8
Author: Nicola Smaniotto  gmail  com>
AuthorDate: Tue Nov 29 14:08:05 2022 +
Commit: Haelwenn Monnier  hacktivis  me>
CommitDate: Tue Nov 29 14:08:05 2022 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3d2bfa2b

media-video/syncplay: enable py3.11

Signed-off-by: Nicola Smaniotto  gmail.com>

 media-video/syncplay/syncplay-1.6.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/syncplay/syncplay-1.6.9.ebuild 
b/media-video/syncplay/syncplay-1.6.9.ebuild
index f6b74ab52..4adffbbfe 100644
--- a/media-video/syncplay/syncplay-1.6.9.ebuild
+++ b/media-video/syncplay/syncplay-1.6.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 DISTUTILS_USE_PEP517=setuptools
 DISTUTILS_SINGLE_IMPL=1
 



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

2020-10-08 Thread Andrew Ammerlaan
commit: 49ec078717b4228f64ab42d6957e078ad03091f0
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Thu Oct  8 18:20:10 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Thu Oct  8 18:20:10 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=49ec0787

media-video/syncplay: version bump 1.6.6_beta1

Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Andrew Ammerlaan  riseup.net>

 media-video/syncplay/Manifest  |   2 +-
 .../syncplay/files/syncplay-allow-PyQt5.patch  | 412 +
 .../files/syncplay-change-alignment-operator.patch |  41 ++
 ...ake-qpixmap-to-qicon-conversion-explicit.patch} | 216 ++-
 ...play-use-lambda-to-connect-behind-wrapper.patch | 168 +
 media-video/syncplay/metadata.xml  |   3 -
 ...1.6.5-r1.ebuild => syncplay-1.6.6_beta1.ebuild} |  35 +-
 7 files changed, 276 insertions(+), 601 deletions(-)

diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest
index 2a6da87b..54b04a06 100644
--- a/media-video/syncplay/Manifest
+++ b/media-video/syncplay/Manifest
@@ -1 +1 @@
-DIST syncplay-1.6.5.tar.gz 1849668 BLAKE2B 
ec0d9037b68adbedac3ae107fc2b7650cfa20f5361d256f839a54dfd3fd73d3ae76c01f4e0b703efcb2c1cac39364208d3bed5ec341e38f1ab3036d91c53bad8
 SHA512 
c3dba4211e7b57a84cc967a8d2c4827e814287dde866bfd9830d8b3c07af472f1532d0dae35e393fce39b35f586d0765de2c23fc473c41ae277a079f6f3a6db0
+DIST syncplay-1.6.6_beta1.tar.gz 1843061 BLAKE2B 
2b940596d96ac6ea859bb27bfc3f987ef52b2be7f1d50976d6c205d3a4d0fed92f29dc530336bb92c0d67bd9661719720e0181331e549af648868104c2b21c63
 SHA512 
0d75d9505adfa50aaa56bd4e99f62ee5fa77a7085dd3933a5a4a886d8e898eddac887ae42ac8d133bda048ef14ae22402ced368f75fdf234e35a697ea2cb4443

diff --git a/media-video/syncplay/files/syncplay-allow-PyQt5.patch 
b/media-video/syncplay/files/syncplay-allow-PyQt5.patch
index 89c9de33..b922bdbb 100644
--- a/media-video/syncplay/files/syncplay-allow-PyQt5.patch
+++ b/media-video/syncplay/files/syncplay-allow-PyQt5.patch
@@ -1,19 +1,8 @@
-From c759525889f303195e677f9341cf325decf74809 Mon Sep 17 00:00:00 2001
-From: Andrew Ammerlaan 
-Date: Wed, 7 Oct 2020 13:31:46 +0200
-Subject: [PATCH] PyQt5 compatability
-

- syncplay/ui/ConfigurationGetter.py |   4 +-
- syncplay/ui/GuiConfiguration.py|  16 ++--
- syncplay/ui/gui.py | 130 -
- 3 files changed, 82 insertions(+), 68 deletions(-)
-
 diff --git a/syncplay/ui/ConfigurationGetter.py 
b/syncplay/ui/ConfigurationGetter.py
-index dd1d8ec0..6d83c650 100755
+index dd1d8ec..6d83c65 100755
 --- a/syncplay/ui/ConfigurationGetter.py
 +++ b/syncplay/ui/ConfigurationGetter.py
-@@ -513,10 +513,10 @@ def getConfiguration(self):
+@@ -513,10 +513,10 @@ class ConfigurationGetter(object):
  self._overrideConfigWithArgs(args)
  if not self._config['noGui']:
  try:
@@ -27,10 +16,10 @@ index dd1d8ec0..6d83c650 100755
  if QCoreApplication.instance() is None:
  self.app = QtWidgets.QApplication(sys.argv)
 diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py
-index 96915814..cfe51b26 100755
+index 9ce6a42..1ad5bd7 100755
 --- a/syncplay/ui/GuiConfiguration.py
 +++ b/syncplay/ui/GuiConfiguration.py
-@@ -11,7 +11,7 @@
+@@ -11,7 +11,7 @@ from syncplay.players.playerFactory import PlayerFactory
  from syncplay.utils import isBSD, isLinux, isMacOS, isWindows
  from syncplay.utils import resourcespath, posixresourcespath
 
@@ -39,16 +28,7 @@ index 96915814..cfe51b26 100755
  from syncplay.vendor.Qt.QtCore import Qt, QSettings, QCoreApplication, QSize, 
QPoint, QUrl, QLine, QEventLoop, Signal
  from syncplay.vendor.Qt.QtWidgets import QApplication, QLineEdit, QLabel, 
QCheckBox, QButtonGroup, QRadioButton, QDoubleSpinBox, QPlainTextEdit
  from syncplay.vendor.Qt.QtGui import QCursor, QIcon, QImage, QDesktopServices
-@@ -21,6 +21,8 @@
- QtWidgets.QApplication.setAttribute(QtCore.Qt.AA_UseHighDpiPixmaps, True)
- if IsPySide2:
- from PySide2.QtCore import QStandardPaths
-+elif IsPyQt5:
-+from PyQt5.QtCore import QStandardPaths
-
-
- class GuiConfiguration:
-@@ -445,7 +447,7 @@ def browseMediapath(self):
+@@ -445,7 +445,7 @@ class ConfigDialog(QtWidgets.QDialog):
  defaultdirectory = 
QDesktopServices.storageLocation(QDesktopServices.HomeLocation)
  else:
  defaultdirectory = ""
@@ -57,205 +37,29 @@ index 96915814..cfe51b26 100755
  if self.config["mediaSearchDirectories"] and 
os.path.isdir(self.config["mediaSearchDirectories"][0]):
  defaultdirectory = self.config["mediaSearchDirectories"][0]
  elif os.path.isdir(self.mediadirectory):
-@@ -1181,7 +1183,7 @@ def addMessageTab(self):
-
- self.displaySettingsGroup = 
QtWidgets.QGroupBox(getMessage("messages-other-title"))
- self.displaySettingsLayout = QtWidgets.QVBoxLayout()
--self.dis

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

2020-06-07 Thread Andrew Ammerlaan
commit: d24dc7068d4dc77d4c9756dcc7a1e2b03735596d
Author: Andrew Ammerlaan  riseup  net>
AuthorDate: Sun Jun  7 13:11:01 2020 +
Commit: Andrew Ammerlaan  riseup  net>
CommitDate: Sun Jun  7 13:11:01 2020 +
URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d24dc706

media-video/syncplay: add beta version

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan  riseup.net>

 media-video/syncplay/Manifest|  1 +
 media-video/syncplay/syncplay-1.6.5_beta1.ebuild | 67 
 2 files changed, 68 insertions(+)

diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest
index 77f72fd..50f13a3 100644
--- a/media-video/syncplay/Manifest
+++ b/media-video/syncplay/Manifest
@@ -1 +1,2 @@
 DIST syncplay-1.6.4_p1.tar.gz 1791803 BLAKE2B 
ac309c224ad61c94712f18b3cc7216b9a2fe431251feb2d26b1db3d728bd97b89e6aa362b7b64992152b41a25ac107428f910c24ec0ba88e7c6f042ae1628c07
 SHA512 
7cf41088462b3140836ba5c2d0376fcae78263255280dfb63575ab8015f21953c78c01d0a2e22c5c09902679cb8ae2f1fdbb5d9fbe4150c5ed8d3d4b8edb49e0
+DIST syncplay-1.6.5_beta1.tar.gz 1838573 BLAKE2B 
11567daf6a2a6e5163775f8346bcac49f57984aa36f361eb9d2aaa52143260aade69ac98ed035803d269419a512919f07495bfb331ff1010e148f24e46a0d74e
 SHA512 
ee83aaeba8c46d63e22db6f804807d71ed467a4ca510ececc7e5b2ad9410626331e58aa22ee9f6c4e24b9df4aee67067a1ed0a9f26404ab0a4ad4b1b9a381955

diff --git a/media-video/syncplay/syncplay-1.6.5_beta1.ebuild 
b/media-video/syncplay/syncplay-1.6.5_beta1.ebuild
new file mode 100644
index 000..d04acac
--- /dev/null
+++ b/media-video/syncplay/syncplay-1.6.5_beta1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6,7} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1 eutils xdg
+
+MYPV="${PV/_beta1/-Beta1}"
+
+DESCRIPTION="Client/server to synchronize media playback"
+HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl";
+SRC_URI="https://github.com/${PN^}/${PN}/archive/v${MYPV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+client +server vlc mpv mplayer"
+REQUIRED_USE="
+   vlc? ( client )
+   mpv? ( client )
+   mplayer? ( client )
+   client? ( || ( vlc mpv mplayer ) )
+"
+
+RDEPEND="
+   dev-python/certifi[${PYTHON_USEDEP}]
+   dev-python/twisted[${PYTHON_USEDEP}]
+   vlc? ( media-video/vlc[lua] )
+   mpv? ( media-video/mpv[lua] )
+   mplayer? ( media-video/mplayer )
+"
+
+# RDEPEND on PySide2 for gui, but not packaged here at the moment
+# It is a too big and complex package for me to maintain
+# You can find PySide2 in the ::raiagent overlay
+
+S="${WORKDIR}/${PN}-${MYPV}"
+
+python_install() {
+   local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
+   if use client; then
+   emake "${MY_MAKEOPTS[@]}" install-client
+   fi
+   if use server; then
+   emake "${MY_MAKEOPTS[@]}" install-server
+   newinitd "${FILESDIR}/${PN}-server-init" "${PN}"
+   newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}"
+   fi
+}
+
+pkg_postinst() {
+   xdg_pkg_postinst
+
+   optfeature "using the GUI (you can find it in the raiagent overlay)\n" 
dev-python/pyside2
+
+   if use client; then
+   elog "Syncplay supports the following players:"
+   elog "media-video/mpv, media-video/mplayer, media-video/vlc\n"
+   optfeature "using Syncplay with VLC" media-video/vlc[lua]
+   optfeature "using Syncplay with MPV" media-video/mpv[lua]
+   optfeature "using Syncplay with MPlayer" media-video/mplayer
+   fi
+}