public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Florian Schmaus" <flow@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: media-video/syncplay/
Date: Mon, 17 Apr 2023 09:22:24 +0000 (UTC)	[thread overview]
Message-ID: <1681638400.cae32058cf39e3c31c8dde26c1b98ef67538f407.flow@gentoo> (raw)

commit:     cae32058cf39e3c31c8dde26c1b98ef67538f407
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Sun Apr 16 09:44:59 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 09:46:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cae32058

media-video/syncplay: add 1.7.0

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> 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 000000000..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
+}


             reply	other threads:[~2023-04-17  9:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-04-17  9:22 Florian Schmaus [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  0:39 [gentoo-commits] repo/proj/guru:master commit in: media-video/syncplay/ Julien Roy
2024-11-26  0:39 Julien Roy
2024-05-13 17:48 Julien Roy
2023-12-17 23:08 David Roman
2022-12-01  3:59 Haelwenn Monnier
2022-12-01  3:59 Haelwenn Monnier
2021-05-24 11:06 Andrew Ammerlaan
2021-01-15  8:25 Andrew Ammerlaan
2020-12-18 14:31 Andrew Ammerlaan
2020-10-14 16:37 Andrew Ammerlaan
2020-09-24 12:50 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-09-24 13:01 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-24 15:05 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-06-25  7:29 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan
2020-06-07 13:25 Andrew Ammerlaan
2020-05-07  9:28 [gentoo-commits] repo/proj/guru:dev " Andrew Ammerlaan
2020-05-07 11:13 ` [gentoo-commits] repo/proj/guru:master " Andrew Ammerlaan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1681638400.cae32058cf39e3c31c8dde26c1b98ef67538f407.flow@gentoo \
    --to=flow@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox