From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 35CA9158015 for ; Sun, 17 Dec 2023 23:08:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 5DAA12BC025; Sun, 17 Dec 2023 23:08:12 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 46ECC2BC025 for ; Sun, 17 Dec 2023 23:08:12 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7E88333BE19 for ; Sun, 17 Dec 2023 23:08:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 14DC91320 for ; Sun, 17 Dec 2023 23:08:10 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1702726921.f0b0b28a2ad1c1db2b9dd99d3ec2a4da8961b408.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/syncplay/ X-VCS-Repository: repo/proj/guru X-VCS-Files: media-video/syncplay/Manifest media-video/syncplay/syncplay-1.7.1.ebuild X-VCS-Directories: media-video/syncplay/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: f0b0b28a2ad1c1db2b9dd99d3ec2a4da8961b408 X-VCS-Branch: master Date: Sun, 17 Dec 2023 23:08:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 0a43ea13-724f-4402-a2c5-b530faa6d1a7 X-Archives-Hash: 552057c716e68be322051fd7d9541d61 commit: f0b0b28a2ad1c1db2b9dd99d3ec2a4da8961b408 Author: Nicola Smaniotto gmail com> AuthorDate: Sat Dec 16 11:24:07 2023 +0000 Commit: David Roman gmail com> CommitDate: Sat Dec 16 11:42:01 2023 +0000 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 0000000000..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 +}