[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/, media-video/syncplay/files/
commit: d8ecc27f7dfd42ebc03de8c6563571da2e1efbe8 Author: Julien Roy jroy ca> AuthorDate: Wed May 15 16:39:12 2024 + Commit: Julien Roy jroy ca> CommitDate: Wed May 15 16:55:16 2024 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=d8ecc27f media-video/syncplay: drop 1.6.9, 1.7.1 Closes: https://bugs.gentoo.org/931467 Signed-off-by: Julien Roy jroy.ca> media-video/syncplay/Manifest | 2 - .../syncplay/files/syncplay-allow-PyQt5.patch | 88 --- .../files/syncplay-change-alignment-operator.patch | 32 ...make-qpixmap-to-qicon-conversion-explicit.patch | 150 -- ...ake-qpixmap-to-qicon-conversion-explicit2.patch | 167 - ...play-use-lambda-to-connect-behind-wrapper.patch | 158 --- media-video/syncplay/syncplay-1.6.9.ebuild | 75 - media-video/syncplay/syncplay-1.7.1.ebuild | 81 -- 8 files changed, 753 deletions(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 25f73e9386..6f3ec2dbc2 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1,3 +1 @@ -DIST syncplay-1.6.9.tar.gz 1900259 BLAKE2B d535f5057a790ac860e6d0ac376069565fa02076dbc0c1d9eb7f54f87f96bbf7aef85136c8c5b67f1a5cf64a5204a617db26e6931368ba490a3ea9128282e473 SHA512 317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65 -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/files/syncplay-allow-PyQt5.patch b/media-video/syncplay/files/syncplay-allow-PyQt5.patch deleted file mode 100644 index b922bdbb84..00 --- a/media-video/syncplay/files/syncplay-allow-PyQt5.patch +++ /dev/null @@ -1,88 +0,0 @@ -diff --git a/syncplay/ui/ConfigurationGetter.py b/syncplay/ui/ConfigurationGetter.py -index dd1d8ec..6d83c65 100755 a/syncplay/ui/ConfigurationGetter.py -+++ b/syncplay/ui/ConfigurationGetter.py -@@ -513,10 +513,10 @@ class ConfigurationGetter(object): - self._overrideConfigWithArgs(args) - if not self._config['noGui']: - try: --from syncplay.vendor.Qt import QtWidgets, IsPySide, IsPySide2 -+from syncplay.vendor.Qt import QtWidgets, IsPySide, IsPySide2, IsPyQt5 - from syncplay.vendor.Qt.QtCore import QCoreApplication - from syncplay.vendor import qt5reactor --if not (IsPySide2 or IsPySide): -+if not (IsPySide2 or IsPySide or IsPyQt5): - raise ImportError - if QCoreApplication.instance() is None: - self.app = QtWidgets.QApplication(sys.argv) -diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py -index 9ce6a42..1ad5bd7 100755 a/syncplay/ui/GuiConfiguration.py -+++ b/syncplay/ui/GuiConfiguration.py -@@ -11,7 +11,7 @@ from syncplay.players.playerFactory import PlayerFactory - from syncplay.utils import isBSD, isLinux, isMacOS, isWindows - from syncplay.utils import resourcespath, posixresourcespath - --from syncplay.vendor.Qt import QtCore, QtWidgets, QtGui, __binding__, IsPySide, IsPySide2 -+from syncplay.vendor.Qt import QtCore, QtWidgets, QtGui, __binding__, IsPySide, IsPySide2, IsPyQt5 - 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 -@@ -445,7 +445,7 @@ class ConfigDialog(QtWidgets.QDialog): - defaultdirectory = QDesktopServices.storageLocation(QDesktopServices.HomeLocation) - else: - defaultdirectory = "" --elif IsPySide2: -+elif IsPySide2 or IsPyQt5: - if self.config["mediaSearchDirectories"] and os.path.isdir(self.config["mediaSearchDirectories"][0]): - defaultdirectory = self.config["mediaSearchDirectories"][0] - elif os.path.isdir(self.mediadirectory): -diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py -index b7a9a9f..d2ad6e5 100755 a/syncplay/ui/gui.py -+++ b/syncplay/ui/gui.py -@@ -19,7 +19,7 @@ from syncplay.utils
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: 0398b4b0fb6754e92314ee715734171e47519bed Author: Nicola Smaniotto gmail com> AuthorDate: Mon May 13 08:55:04 2024 + Commit: Nicola Smaniotto gmail com> 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:dev commit in: media-video/syncplay/
commit: f0b0b28a2ad1c1db2b9dd99d3ec2a4da8961b408 Author: Nicola Smaniotto gmail com> AuthorDate: Sat Dec 16 11:24:07 2023 + Commit: Nicola Smaniotto 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:dev commit in: media-video/syncplay/
commit: 1bedae9ffc9bde50ab50fe8249453a55343ea394 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon May 1 19:04:42 2023 + Commit: Anna Vyalkova sysrq in> CommitDate: Mon May 1 19:04:42 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1bedae9f media-video/syncplay: drop 1.6.7-r1 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> media-video/syncplay/Manifest | 1 - media-video/syncplay/syncplay-1.6.7-r1.ebuild | 75 --- 2 files changed, 76 deletions(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 5be4ce6de..145ef7627 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1,3 +1,2 @@ -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.6.7-r1.ebuild b/media-video/syncplay/syncplay-1.6.7-r1.ebuild deleted file mode 100644 index 035dddab4..0 --- a/media-video/syncplay/syncplay-1.6.7-r1.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_9 ) -DISTUTILS_USE_SETUPTOOLS=rdepend -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 ~x86" - -IUSE="+client +server" -REQUIRED_USE="|| ( client server )" - -RDEPEND=" - $( python_gen_cond_dep \ - 'dev-python/certifi[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}]' - ) - client? ( - $( python_gen_cond_dep \ - 'dev-python/QtPy[${PYTHON_USEDEP},gui]' - ) - || ( - media-video/vlc[lua] - media-video/mpv[lua] - media-video/mplayer - ) - ) -" - -PATCHES=( - "${FILESDIR}/${PN}-change-alignment-operator.patch" - "${FILESDIR}/${PN}-make-qpixmap-to-qicon-conversion-explicit.patch" - "${FILESDIR}/${PN}-make-qpixmap-to-qicon-conversion-explicit2.patch" - "${FILESDIR}/${PN}-use-lambda-to-connect-behind-wrapper.patch" - "${FILESDIR}/${PN}-allow-PyQt5.patch" -) - -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 client; then - python_newscript syncplayClient.py syncplay - domenu syncplay/resources/syncplay.desktop - fi - if use server; then - 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 -} - -pkg_postinst() { - xdg_pkg_postinst - - if use client; then - elog "Syncplay supports the following media 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: cae32058cf39e3c31c8dde26c1b98ef67538f407 Author: Nicola Smaniotto gmail com> AuthorDate: Sun Apr 16 09:44:59 2023 + Commit: Nicola Smaniotto gmail com> 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:dev commit in: media-video/syncplay/
commit: 3d2bfa2bf714d94e1dd5d03fc65c72451dc8a1d8 Author: Nicola Smaniotto gmail com> AuthorDate: Tue Nov 29 14:08:05 2022 + Commit: Nicola Smaniotto gmail com> 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:dev commit in: media-video/syncplay/
commit: 19534635c198644ab0d4956d0fc2f63e9607c77d Author: Anna navirc com> AuthorDate: Tue Nov 29 14:00:42 2022 + Commit: Nicola Smaniotto gmail com> 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:dev commit in: media-video/syncplay/
commit: 455f3d8b4103de3906d2bebc9b2813bcf4acdda4 Author: Nicola Smaniotto gmail com> AuthorDate: Wed Jul 13 21:25:06 2022 + Commit: Nicola Smaniotto gmail com> CommitDate: Wed Jul 13 21:33:06 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=455f3d8b media-video/syncplay: add 1.6.9 This new version drops support for PyQt5, depending instead only on PySide2 as does upstream. The patches for PyQt5 are still available for 1.6.7-r1, and I may reintroduce them in the future. Signed-off-by: Nicola Smaniotto gmail.com> media-video/syncplay/Manifest | 1 + media-video/syncplay/syncplay-1.6.9.ebuild | 66 ++ 2 files changed, 67 insertions(+) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 77603bf87..344ca6451 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1 +1,2 @@ DIST syncplay-1.6.7.tar.gz 1898354 BLAKE2B bc33ad13d5cc455a593979ca08c3a0d8cb64a44610d5d245920c9978859624fa655cdd953361e82dc3505dd785c6a06bc17641bea0e78d5fdf922975fe813b48 SHA512 9b4757befd56569b9061493227931df99ac59ffee91f14c5d0ae932b1744ab7314d4ba4082323781294a70adecdf68a01e1511fbbb1aa9becff0f6c20945ad90 +DIST syncplay-1.6.9.tar.gz 1900259 BLAKE2B d535f5057a790ac860e6d0ac376069565fa02076dbc0c1d9eb7f54f87f96bbf7aef85136c8c5b67f1a5cf64a5204a617db26e6931368ba490a3ea9128282e473 SHA512 317e7cc966182259e552898ae05e620caf0f8e0ae0b6917235c391bcae1ef9679f1e97cfb46f6d8c6edcd9a5c573e5ab4ff5e27b5e203980a99ade065d9a6b65 diff --git a/media-video/syncplay/syncplay-1.6.9.ebuild b/media-video/syncplay/syncplay-1.6.9.ebuild new file mode 100644 index 0..889f7ce1b --- /dev/null +++ b/media-video/syncplay/syncplay-1.6.9.ebuild @@ -0,0 +1,66 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{8..10} ) +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" +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]' + ) + client? ( + $( 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 + 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 client; then + python_newscript syncplayClient.py syncplay + domenu syncplay/resources/syncplay.desktop + fi + if use server; then + 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 +} + +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:dev commit in: media-video/syncplay/
commit: f326e68d801f881f2400243fcaedd006e12ac056 Author: Nicola Smaniotto gmail com> AuthorDate: Wed Jul 13 21:24:42 2022 + Commit: Nicola Smaniotto gmail com> CommitDate: Wed Jul 13 21:33:06 2022 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f326e68d media-video/syncplay: add myself as a maintainer Signed-off-by: Nicola Smaniotto gmail.com> media-video/syncplay/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml index 870cfc18e..0edc198e2 100644 --- a/media-video/syncplay/metadata.xml +++ b/media-video/syncplay/metadata.xml @@ -2,7 +2,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + + smaniotto.nic...@gmail.com + Nicola Smaniotto + Install the Syncplay client Install the Syncplay server
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/files/
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/
commit: 69f98b291a7c8ba9738667aa3a7b3e219db5e34a Author: Andrew Ammerlaan gentoo org> AuthorDate: Mon May 24 09:25:54 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Mon May 24 09:59:37 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=69f98b29 media-video/syncplay: Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Andrew Ammerlaan gentoo.org> media-video/syncplay/metadata.xml | 5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml index 70e1a55fb..870cfc18e 100644 --- a/media-video/syncplay/metadata.xml +++ b/media-video/syncplay/metadata.xml @@ -2,10 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - - andrewammerl...@gentoo.org - Andrew Ammerlaan - + Install the Syncplay client Install the Syncplay server
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/, games-util/NotEnoughProduction/, dev-python/outcome/, ...
commit: b4bf92563dffc1969e9d193db1a489ff4ffb7500 Author: Andrew Ammerlaan gentoo org> AuthorDate: Wed May 19 20:32:14 2021 + Commit: Andrew Ammerlaan gentoo org> CommitDate: Wed May 19 20:32:14 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b4bf9256 */*: update my email address Signed-off-by: Andrew Ammerlaan gentoo.org> app-misc/brightness-control/metadata.xml| 2 +- app-misc/ddcui/metadata.xml | 2 +- dev-python/curio/metadata.xml | 2 +- dev-python/devtools/metadata.xml| 2 +- dev-python/hstspreload/metadata.xml | 2 +- dev-python/jupyter-sphinx/metadata.xml | 2 +- dev-python/markdown-include/metadata.xml| 2 +- dev-python/mkdocs-exclude/metadata.xml | 2 +- dev-python/outcome/metadata.xml | 2 +- dev-python/pydbus/metadata.xml | 2 +- dev-python/pygsl/metadata.xml | 2 +- dev-python/pytest-isort/metadata.xml| 2 +- dev-python/pytest-marks/metadata.xml| 2 +- dev-python/pytest-toolbox/metadata.xml | 2 +- dev-python/python-mpv/metadata.xml | 2 +- dev-python/python-vlc/metadata.xml | 2 +- dev-python/sphinx-autodoc-typehints/metadata.xml| 2 +- dev-python/sphinxcontrib-trio/metadata.xml | 2 +- dev-python/sphobjinv/metadata.xml | 2 +- dev-python/spotipy/metadata.xml | 2 +- dev-python/stdio-mgr/metadata.xml | 2 +- dev-python/tekore/metadata.xml | 2 +- dev-python/trio/metadata.xml| 2 +- dev-python/watchgod/metadata.xml| 2 +- games-action/ATLauncher/metadata.xml| 2 +- games-action/minecraft-launcher/metadata.xml| 2 +- games-action/multimc/metadata.xml | 2 +- games-action/technic-launcher/metadata.xml | 2 +- games-util/NotEnoughProduction/metadata.xml | 2 +- kde-misc/skanpage/metadata.xml | 2 +- media-tv/droidcam/metadata.xml | 2 +- media-video/syncplay/files/syncplay-change-alignment-operator.patch | 2 +- .../files/syncplay-make-qpixmap-to-qicon-conversion-explicit.patch | 2 +- .../files/syncplay-make-qpixmap-to-qicon-conversion-explicit2.patch | 2 +- .../syncplay/files/syncplay-use-lambda-to-connect-behind-wrapper.patch | 2 +- media-video/syncplay/metadata.xml | 2 +- media-video/vidify-audiosync/metadata.xml | 2 +- media-video/vidify/metadata.xml | 2 +- net-im/rocketchat-desktop-bin/metadata.xml | 2 +- net-im/ruqola/metadata.xml | 2 +- net-im/whatsapp-desktop-bin/metadata.xml| 2 +- net-im/whatsapp-for-linux/metadata.xml | 2 +- net-misc/lyrics-in-terminal/metadata.xml| 2 +- net-misc/lyricwikia/metadata.xml| 2 +- net-vpn/riseup-vpn/metadata.xml | 2 +- profiles/package.mask | 2 +- scripts/check-duplicates.sh | 2 +- scripts/setup-and-run-repoman.sh| 2 +- scripts/setup-master-gentoo.sh | 2 +- 49 files changed, 49 insertions(+), 49 deletions(-) diff --git a/app-misc/brightness-control/metadata.xml b/app-misc/brightness-control/metadata.xml index 1210e7ebc..287879405 100644 --- a/app-misc/brightness-control/metadata.xml +++ b/app-misc/brightness-control/metadata.xml @@ -2,7 +2,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - andrewammerl...@riseup.net + andrewammerl...@gentoo.org Andrew Ammerlaan diff --git a/app-misc/ddcui/metadata.xml b/app-misc/ddcui/metadata.xml index 1210e7ebc..287879405 100644 --- a/app-misc/ddcui/metadata.xml +++ b/app-misc/ddcui/metadata.xml @@ -2,7 +2,7 @@
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: 7c42b3e976a4afaf0f711abbeb76de550737e15f Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Jan 15 08:24:46 2021 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Jan 15 08:24:46 2021 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7c42b3e9 media-video/syncplay: properly install python modules and scripts now we use the dedicated python_do* functions instead of the shipped make install, this ensures that syncplay is run with the version of python that is enabled with PYTHON_TARGETS also set DISTUTILS_SINGLE_IMPL because there is no need to install this for more than one python version Closes: https://bugs.gentoo.org/765484 Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> ...cplay-1.6.7.ebuild => syncplay-1.6.7-r1.ebuild} | 27 +++--- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/media-video/syncplay/syncplay-1.6.7.ebuild b/media-video/syncplay/syncplay-1.6.7-r1.ebuild similarity index 67% rename from media-video/syncplay/syncplay-1.6.7.ebuild rename to media-video/syncplay/syncplay-1.6.7-r1.ebuild index 6c85c3d3..0454f956 100644 --- a/media-video/syncplay/syncplay-1.6.7.ebuild +++ b/media-video/syncplay/syncplay-1.6.7-r1.ebuild @@ -1,12 +1,13 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend +DISTUTILS_SINGLE_IMPL=1 -inherit distutils-r1 optfeature xdg +inherit desktop distutils-r1 optfeature xdg DESCRIPTION="Client/server to synchronize media playback" HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl; @@ -17,12 +18,17 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="+client +server" +REQUIRED_USE="|| ( client server )" RDEPEND=" - dev-python/certifi[${PYTHON_USEDEP}] - dev-python/twisted[${PYTHON_USEDEP}] + $( python_gen_cond_dep \ + 'dev-python/certifi[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}]' + ) client? ( - dev-python/QtPy[${PYTHON_USEDEP},gui] + $( python_gen_cond_dep \ + 'dev-python/QtPy[${PYTHON_USEDEP},gui]' + ) || ( media-video/vlc[lua] media-video/mpv[lua] @@ -40,12 +46,17 @@ PATCHES=( ) python_install() { - local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr ) + 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 client; then - emake "${MY_MAKEOPTS[@]}" install-client + python_newscript syncplayClient.py syncplay + domenu syncplay/resources/syncplay.desktop fi if use server; then - emake "${MY_MAKEOPTS[@]}" install-server + 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:dev commit in: media-video/syncplay/
commit: 5898499c38a7758606aab64cc060d827e4b5c389 Author: Andrew Ammerlaan riseup net> AuthorDate: Fri Dec 18 14:31:15 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Fri Dec 18 14:31:15 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=5898499c media-video/syncplay: version bump 1.6.7 Package-Manager: Portage-3.0.12, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/Manifest | 2 +- media-video/syncplay/{syncplay-1.6.6.ebuild => syncplay-1.6.7.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 673b479f..77603bf8 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1 +1 @@ -DIST syncplay-1.6.6.tar.gz 1842916 BLAKE2B 99db5862879046d6bc516590b2b7afb5092db887a86ab6f4d253b5eb34ae909020e2678e950719af8bb5665201b36cae9643ab796b942959fcd2b04bf995ad6d SHA512 bb91829434002b87834c373908f43629ef74e4db31b3ed06c5cb30bf7ca43326bc40fbe627dca89d7b7d45db72ca80f57de114c5613b9e3f63db4bcd4827430f +DIST syncplay-1.6.7.tar.gz 1898354 BLAKE2B bc33ad13d5cc455a593979ca08c3a0d8cb64a44610d5d245920c9978859624fa655cdd953361e82dc3505dd785c6a06bc17641bea0e78d5fdf922975fe813b48 SHA512 9b4757befd56569b9061493227931df99ac59ffee91f14c5d0ae932b1744ab7314d4ba4082323781294a70adecdf68a01e1511fbbb1aa9becff0f6c20945ad90 diff --git a/media-video/syncplay/syncplay-1.6.6.ebuild b/media-video/syncplay/syncplay-1.6.7.ebuild similarity index 100% rename from media-video/syncplay/syncplay-1.6.6.ebuild rename to media-video/syncplay/syncplay-1.6.7.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/, media-video/syncplay/files/
commit: 692c9c79a58ebf689314a5174f46615597c9d121 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Oct 22 13:50:28 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Oct 22 13:50:28 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=692c9c79 media-video/syncplay: beta to stable split up patch file cause that makes repoman happy Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/Manifest | 2 +- ...make-qpixmap-to-qicon-conversion-explicit.patch | 163 --- ...ake-qpixmap-to-qicon-conversion-explicit2.patch | 176 + ...ay-1.6.6_beta2.ebuild => syncplay-1.6.6.ebuild} | 7 +- 4 files changed, 179 insertions(+), 169 deletions(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index bfc202ab..673b479f 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1 +1 @@ -DIST syncplay-1.6.6_beta2.tar.gz 1843024 BLAKE2B d5c1e9e4c7b220722fef263f96749af22965bd26b82d41b913660d8b5c70bb6fe82727d7b16492408db661cf77eed4602c201cf90b05b3ee01a51dbfb7f3ee10 SHA512 c9ec87632418dd18b62fe392458a56a23c6eb2bae33c5a6be6daa94bfc30153fb371b9fa524452bdf2329442eb073f8f77418da823eac49273e8611d404d2f8e +DIST syncplay-1.6.6.tar.gz 1842916 BLAKE2B 99db5862879046d6bc516590b2b7afb5092db887a86ab6f4d253b5eb34ae909020e2678e950719af8bb5665201b36cae9643ab796b942959fcd2b04bf995ad6d SHA512 bb91829434002b87834c373908f43629ef74e4db31b3ed06c5cb30bf7ca43326bc40fbe627dca89d7b7d45db72ca80f57de114c5613b9e3f63db4bcd4827430f 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 2ff08f7e..8caef495 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 @@ -157,166 +157,3 @@ index c59c5697..2a4bd1a5 100755 getMessage("joinroom-label")) window.roomButton.pressed.connect(self.joinRoom) window.roomButton.setFixedWidth(window.roomButton.sizeHint().width()+3) -@@ -1620,24 +1620,24 @@ def addPlaybackLayout(self, window): - window.playbackFrame.setLayout(window.playbackLayout) - window.seekInput = QtWidgets.QLineEdit() - window.seekInput.returnPressed.connect(self.seekFromButton) --window.seekButton = QtWidgets.QPushButton(QtGui.QPixmap(resourcespath + 'clock_go.png'), "") -+window.seekButton = QtWidgets.QPushButton(QtGui.QIcon(QtGui.QPixmap(resourcespath + 'clock_go.png')), "") - window.seekButton.setToolTip(getMessage("seektime-menu-label")) - window.seekButton.pressed.connect(self.seekFromButton) - window.seekInput.setText("0:00") - window.seekInput.setFixedWidth(60) - window.playbackLayout.addWidget(window.seekInput) - window.playbackLayout.addWidget(window.seekButton) --window.unseekButton = QtWidgets.QPushButton(QtGui.QPixmap(resourcespath + 'arrow_undo.png'), "") -+window.unseekButton = QtWidgets.QPushButton(QtGui.QIcon(QtGui.QPixmap(resourcespath + 'arrow_undo.png')), "") - window.unseekButton.setToolTip(getMessage("undoseek-menu-label")) - window.unseekButton.pressed.connect(self.undoSeek) - - window.miscLayout = QtWidgets.QHBoxLayout() - window.playbackLayout.addWidget(window.unseekButton) --window.playButton = QtWidgets.QPushButton(QtGui.QPixmap(resourcespath + 'control_play_blue.png'), "") -+window.playButton = QtWidgets.QPushButton(QtGui.QIcon(QtGui.QPixmap(resourcespath + 'control_play_blue.png')), "") - window.playButton.setToolTip(getMessage("play-menu-label")) - window.playButton.pressed.connect(self.play) - window.playbackLayout.addWidget(window.playButton) --window.pauseButton = QtWidgets.QPushButton(QtGui.QPixmap(resourcespath + 'control_pause_blue.png'), "") -+window.pauseButton = QtWidgets.QPushButton(QtGui.QIcon(QtGui.QPixmap(resourcespath + 'control_pause_blue.png')), "") - window.pauseButton.setToolTip(getMessage("pause-menu-label")) - window.pauseButton.pressed.connect(self.pause) - window.playbackLayout.addWidget(window.pauseButton) -@@ -1657,13 +1657,13 @@ def populateMenubar(self, window): - # File menu - - window.fileMenu = QtWidgets.QMenu(getMessage("file-menu-label"), self) --window.openAction = window.fileMenu.addAction(QtGui.QPixmap(resourcespath + 'folder_explore.png'), -+window.openAction = window.fileMenu.addAction(QtGui.QIcon(QtGui.QPixmap(resourcespath + 'folder_explore.png')), - getMessage("openmedia-menu-label")) -
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: 9d282211138a5c1afdc33732409538f6e070c60f Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Oct 14 16:37:17 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Oct 14 16:37:17 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9d282211 media-video/syncplay: version bump 1.6.6_beta2 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/Manifest | 2 +- .../{syncplay-1.6.6_beta1.ebuild => syncplay-1.6.6_beta2.ebuild}| 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 54b04a06..bfc202ab 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1 +1 @@ -DIST syncplay-1.6.6_beta1.tar.gz 1843061 BLAKE2B 2b940596d96ac6ea859bb27bfc3f987ef52b2be7f1d50976d6c205d3a4d0fed92f29dc530336bb92c0d67bd9661719720e0181331e549af648868104c2b21c63 SHA512 0d75d9505adfa50aaa56bd4e99f62ee5fa77a7085dd3933a5a4a886d8e898eddac887ae42ac8d133bda048ef14ae22402ced368f75fdf234e35a697ea2cb4443 +DIST syncplay-1.6.6_beta2.tar.gz 1843024 BLAKE2B d5c1e9e4c7b220722fef263f96749af22965bd26b82d41b913660d8b5c70bb6fe82727d7b16492408db661cf77eed4602c201cf90b05b3ee01a51dbfb7f3ee10 SHA512 c9ec87632418dd18b62fe392458a56a23c6eb2bae33c5a6be6daa94bfc30153fb371b9fa524452bdf2329442eb073f8f77418da823eac49273e8611d404d2f8e diff --git a/media-video/syncplay/syncplay-1.6.6_beta1.ebuild b/media-video/syncplay/syncplay-1.6.6_beta2.ebuild similarity index 100% rename from media-video/syncplay/syncplay-1.6.6_beta1.ebuild rename to media-video/syncplay/syncplay-1.6.6_beta2.ebuild
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/, media-video/syncplay/files/
commit: 705539c86962a41740499bc7197fb44ccb255764 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Oct 7 12:27:13 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Oct 7 12:27:13 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=705539c8 media-video/syncplay: patch gui to work with PyQt5 Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> .../syncplay/files/syncplay-allow-PyQt5.patch | 474 + ...cplay-1.6.5.ebuild => syncplay-1.6.5-r1.ebuild} | 7 +- 2 files changed, 476 insertions(+), 5 deletions(-) diff --git a/media-video/syncplay/files/syncplay-allow-PyQt5.patch b/media-video/syncplay/files/syncplay-allow-PyQt5.patch new file mode 100644 index ..89c9de33 --- /dev/null +++ b/media-video/syncplay/files/syncplay-allow-PyQt5.patch @@ -0,0 +1,474 @@ +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 +--- a/syncplay/ui/ConfigurationGetter.py b/syncplay/ui/ConfigurationGetter.py +@@ -513,10 +513,10 @@ def getConfiguration(self): + self._overrideConfigWithArgs(args) + if not self._config['noGui']: + try: +-from syncplay.vendor.Qt import QtWidgets, IsPySide, IsPySide2 ++from syncplay.vendor.Qt import QtWidgets, IsPySide, IsPySide2, IsPyQt5 + from syncplay.vendor.Qt.QtCore import QCoreApplication + from syncplay.vendor import qt5reactor +-if not (IsPySide2 or IsPySide): ++if not (IsPySide2 or IsPySide or IsPyQt5): + raise ImportError + 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 +--- a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py +@@ -11,7 +11,7 @@ + from syncplay.utils import isBSD, isLinux, isMacOS, isWindows + from syncplay.utils import resourcespath, posixresourcespath + +-from syncplay.vendor.Qt import QtCore, QtWidgets, QtGui, __binding__, IsPySide, IsPySide2 ++from syncplay.vendor.Qt import QtCore, QtWidgets, QtGui, __binding__, IsPySide, IsPySide2, IsPyQt5 + 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): + defaultdirectory = QDesktopServices.storageLocation(QDesktopServices.HomeLocation) + else: + defaultdirectory = "" +-elif IsPySide2: ++elif IsPySide2 or IsPyQt5: + 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.displaySettingsLayout.setAlignment(Qt.AlignTop & Qt.AlignLeft) ++self.displaySettingsLayout.setAlignment(Qt.AlignTop | Qt.AlignLeft) + self.displaySettingsFrame = QtWidgets.QFrame() + + self.showDurationNotificationCheckbox = QCheckBox(getMessage("showdurationnotification-label")) +@@ -1193,7 +1195,7 @@ def addMessageTab(self): + self.languageLayout.setContentsMargins(0, 0, 0, 0) + self.languageFrame.setLayout(self.languageLayout) + self.languageFrame.setSizePolicy(QtWidgets.QSizePolicy.Minimum, QtWidgets.QSizePolicy.Minimum) +-self.languageLayout.setAlignment(Qt.AlignTop & Qt.AlignLeft) ++self.languageLayout.setAlignment(Qt.AlignTop | Qt.AlignLeft) + self.languageLabel = QLabel(getMessage("language-label"), self) + self.languageCombobox = QtWidgets.QComboBox(self) +
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: da1686ed7bb6629656a96c54aa7c4726141ffee1 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Sep 24 12:39:44 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Sep 24 12:39:44 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da1686ed media-video/syncplay: bump python targets eutils --> optfeature Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/syncplay-1.6.5.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-video/syncplay/syncplay-1.6.5.ebuild b/media-video/syncplay/syncplay-1.6.5.ebuild index b7dfc1c6..fe57aa04 100644 --- a/media-video/syncplay/syncplay-1.6.5.ebuild +++ b/media-video/syncplay/syncplay-1.6.5.ebuild @@ -3,10 +3,10 @@ EAPI=7 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{7,8,9} ) DISTUTILS_USE_SETUPTOOLS=rdepend -inherit distutils-r1 eutils xdg +inherit distutils-r1 optfeature xdg DESCRIPTION="Client/server to synchronize media playback" HOMEPAGE="https://github.com/Syncplay/syncplay https://syncplay.pl;
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: 42305600f87251b35b89e90ac46b4556f81ccb02 Author: Andrew Ammerlaan riseup net> AuthorDate: Wed Jun 24 15:05:26 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Wed Jun 24 15:05:26 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=42305600 media-video/syncplay: version bump Package-Manager: Portage-2.3.102, Repoman-2.3.23 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/Manifest | 3 +- ...cplay-1.6.4_p1.ebuild => syncplay-1.6.5.ebuild} | 6 +- media-video/syncplay/syncplay-1.6.5_beta1.ebuild | 67 -- 3 files changed, 2 insertions(+), 74 deletions(-) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest index 50f13a3..2a6da87 100644 --- a/media-video/syncplay/Manifest +++ b/media-video/syncplay/Manifest @@ -1,2 +1 @@ -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 +DIST syncplay-1.6.5.tar.gz 1849668 BLAKE2B ec0d9037b68adbedac3ae107fc2b7650cfa20f5361d256f839a54dfd3fd73d3ae76c01f4e0b703efcb2c1cac39364208d3bed5ec341e38f1ab3036d91c53bad8 SHA512 c3dba4211e7b57a84cc967a8d2c4827e814287dde866bfd9830d8b3c07af472f1532d0dae35e393fce39b35f586d0765de2c23fc473c41ae277a079f6f3a6db0 diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.5.ebuild similarity index 92% rename from media-video/syncplay/syncplay-1.6.4_p1.ebuild rename to media-video/syncplay/syncplay-1.6.5.ebuild index 95626f1..b7dfc1c 100644 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild +++ b/media-video/syncplay/syncplay-1.6.5.ebuild @@ -8,11 +8,9 @@ DISTUTILS_USE_SETUPTOOLS=rdepend inherit distutils-r1 eutils xdg -MYPV="${PV/_p1/a}" - 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" +SRC_URI="https://github.com/${PN^}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" LICENSE="Apache-2.0" SLOT="0" @@ -38,8 +36,6 @@ RDEPEND=" # 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 diff --git a/media-video/syncplay/syncplay-1.6.5_beta1.ebuild b/media-video/syncplay/syncplay-1.6.5_beta1.ebuild deleted file mode 100644 index d04acac..000 --- a/media-video/syncplay/syncplay-1.6.5_beta1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# 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,
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: 0c09bd570b946c1c3285b7d7a820e410cd61df72 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu May 7 09:28:12 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu May 7 09:28:12 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c09bd57 media-video/syncplay: add more optfeature and IUSE Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/metadata.xml | 1 + media-video/syncplay/syncplay-1.6.4_p1.ebuild | 15 --- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml index 0bac473..af8b590 100644 --- a/media-video/syncplay/metadata.xml +++ b/media-video/syncplay/metadata.xml @@ -11,5 +11,6 @@ Install the Syncplay server Pull in VLC with the lua flag Pull in MPV with the lua flag + Pull in MPlayer diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild index 3a46c75..95626f1 100644 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild @@ -18,14 +18,20 @@ LICENSE="Apache-2.0" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="+client +server vlc mpv" -REQUIRED_USE="vlc? ( client ) mpv? ( client )" +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 @@ -53,6 +59,9 @@ pkg_postinst() { if use client; then elog "Syncplay supports the following players:" - elog "media-video/mpv, media-video/mplayer2, media-video/vlc" + 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 }
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/files/, media-video/syncplay/
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() {
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/, media-video/syncplay/files/
commit: 508464ed92376afc7f9e7f4a2779f82960cc8cf4 Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 30 18:14:59 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 30 18:15:14 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=508464ed media-video/syncplay: add initd script and confd conf Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/files/syncplay-server-init| 65 ++ .../syncplay/files/syncplay-server-init-conf | 14 + media-video/syncplay/syncplay-1.6.4_p1.ebuild | 3 + 3 files changed, 82 insertions(+) diff --git a/media-video/syncplay/files/syncplay-server-init b/media-video/syncplay/files/syncplay-server-init new file mode 100644 index 000..3018075 --- /dev/null +++ b/media-video/syncplay/files/syncplay-server-init @@ -0,0 +1,65 @@ +#!/sbin/openrc-run +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +command="/usr/bin/python" +command_args="/usr/bin/syncplay-server" +name="syncplay server" +pidfile="/run/syncplay-server.pid" + +description="Syncplay Server to synchronize media playback" + +start() { + ebegin "Starting ${name}" + + args=() + + if [[ ${port} ]]; then + args+=" --port=${port}" + fi + + if [[ ${isolate} == True ]]; then + args+=" --isolate-rooms" + fi + + if [[ ${password} ]]; then + args+=" --password=${password}" + fi + + if [[ ${salt} ]]; then + args+=" --salt=${salt}" + fi + + if [[ ${motd} ]]; then + args+=" --motd-file=${motd}" + fi + + if [[ ${noReady} == True ]]; then + args+=" --disable-ready" + fi + + if [[ ${noChat} == True ]]; then + args+=" --disable-chat" + fi + + if [[ ${maxChatLength} ]]; then + args+=" --max-chat-message-length=${maxChatLength}" + fi + + if [[ ${usernameLength} ]]; then + args+=" --max-username-length=${usernameLength}" + fi + + if [[ ${statsFile} ]]; then + args+=" --stats-db-file=${statsFile}" + fi + + if [[ ${tls} ]]; then + args+=" --tls=${tls}" + fi + + start-stop-daemon --start --background --make-pid --pidfile="${pidfile}" \ + --exec "${command}" -- "${command_args}" ${args} + + eend $? +} diff --git a/media-video/syncplay/files/syncplay-server-init-conf b/media-video/syncplay/files/syncplay-server-init-conf new file mode 100644 index 000..c07ef82 --- /dev/null +++ b/media-video/syncplay/files/syncplay-server-init-conf @@ -0,0 +1,14 @@ +# 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" +#isolate=False +#password="yourpassword" +#salt="RANDOMSALT" +#motd="/etc/syncplay/motd" +#noReady=False +#noChat=False +#maxChatLength="500" +#usernameLength="20" +#statsFile="/etc/syncplay/stats.db" +#tls="/etc/letsencrypt/live/syncplay.example.com/" diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild index 773ee01..5e5fc87 100644 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild @@ -40,6 +40,9 @@ python_install() { emake "${MY_MAKEOPTS[@]}" install-client use server && \ emake "${MY_MAKEOPTS[@]}" install-server + + newinitd "${FILESDIR}/${PN}-server-init" "${PN}" + newconfd "${FILESDIR}/${PN}-server-init-conf" "${PN}" } pkg_postinst() {
[gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
commit: bfe7fabcc821ed198e423f557c938e10c0a375fc Author: Andrew Ammerlaan riseup net> AuthorDate: Thu Apr 30 13:41:26 2020 + Commit: Andrew Ammerlaan riseup net> CommitDate: Thu Apr 30 13:41:53 2020 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bfe7fabc media-video/syncplay: Client/server to synchronize media playback need dev-python/pyside2 for the gui, but should also provide full functionality without the gui Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan riseup.net> media-video/syncplay/Manifest | 1 + media-video/syncplay/metadata.xml | 15 media-video/syncplay/syncplay-1.6.4_p1.ebuild | 54 +++ 3 files changed, 70 insertions(+) diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest new file mode 100644 index 000..77f72fd --- /dev/null +++ b/media-video/syncplay/Manifest @@ -0,0 +1 @@ +DIST syncplay-1.6.4_p1.tar.gz 1791803 BLAKE2B ac309c224ad61c94712f18b3cc7216b9a2fe431251feb2d26b1db3d728bd97b89e6aa362b7b64992152b41a25ac107428f910c24ec0ba88e7c6f042ae1628c07 SHA512 7cf41088462b3140836ba5c2d0376fcae78263255280dfb63575ab8015f21953c78c01d0a2e22c5c09902679cb8ae2f1fdbb5d9fbe4150c5ed8d3d4b8edb49e0 diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml new file mode 100644 index 000..0bac473 --- /dev/null +++ b/media-video/syncplay/metadata.xml @@ -0,0 +1,15 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + + andrewammerl...@riseup.net + Andrew Ammerlaan + + + Install the Syncplay client + Install the Syncplay server + Pull in VLC with the lua flag + Pull in MPV with the lua flag + + diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild new file mode 100644 index 000..773ee01 --- /dev/null +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild @@ -0,0 +1,54 @@ +# 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/_p1/a}" + +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" +REQUIRED_USE="vlc? ( client ) mpv? ( client )" + +RDEPEND=" + dev-python/certifi[${PYTHON_USEDEP}] + dev-python/twisted[${PYTHON_USEDEP}] + vlc? ( media-video/vlc[lua] ) + mpv? ( media-video/mpv[lua] ) +" + +# 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 ) + use client && \ + emake "${MY_MAKEOPTS[@]}" install-client + use server && \ + emake "${MY_MAKEOPTS[@]}" install-server +} + +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/mplayer2, media-video/vlc" + fi +}