public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/syncplay/
Date: Tue, 30 May 2017 21:25:04 +0000 (UTC)	[thread overview]
Message-ID: <1496179500.1d5d25a78eb1981658d579de21f8569a4da58210.monsieurp@gentoo> (raw)

commit:     1d5d25a78eb1981658d579de21f8569a4da58210
Author:     soredake <fdsfgs <AT> krutt <DOT> org>
AuthorDate: Sun May 28 17:48:11 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Tue May 30 21:25:00 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1d5d25a7

media-video/syncplay: add live version.

Closes: https://github.com/gentoo/gentoo/pull/4787

 media-video/syncplay/syncplay-9999.ebuild | 60 +++++++++++++++++++++++++++++++
 1 file changed, 60 insertions(+)

diff --git a/media-video/syncplay/syncplay-9999.ebuild b/media-video/syncplay/syncplay-9999.ebuild
new file mode 100644
index 00000000000..eec07d40d08
--- /dev/null
+++ b/media-video/syncplay/syncplay-9999.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit git-r3 python-r1
+
+MY_PV=${PV/_rc/-RC}
+
+DESCRIPTION="Client/server to synchronize media playback"
+HOMEPAGE="http://syncplay.pl"
+EGIT_REPO_URI="https://github.com/Syncplay/${PN}.git"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+IUSE="+client +server gui vlc"
+REQUIRED_USE="vlc? ( client )
+	gui? ( client )
+	${PYTHON_REQUIRED_USE}"
+
+DEPEND=""
+RDEPEND="${PYTHON_DEPS}
+	|| (
+		>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
+		dev-python/twisted-core[${PYTHON_USEDEP}]
+	)
+	gui? ( dev-python/pyside[${PYTHON_USEDEP}] )
+	vlc? ( media-video/vlc[lua] )"
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+src_prepare() {
+	default
+	if ! use gui; then
+		sed -i 's/"noGui": False,/"noGui": True,/' \
+			syncplay/ui/ConfigurationGetter.py \
+		|| die "Failed to patch ConfigurationGetter.py"
+	fi
+}
+
+src_compile() {
+	:
+}
+
+src_install() {
+	local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr )
+	use client && \
+		emake "${MY_MAKEOPTS[@]}" VLC_SUPPORT=$(usex vlc true false) install-client
+	use server && \
+		emake "${MY_MAKEOPTS[@]}" install-server
+}
+
+pkg_postinst() {
+	if use client; then
+		einfo "Syncplay supports the following players:"
+		einfo "media-video/mpv, media-video/mplayer2, media-video/vlc"
+	fi
+}


             reply	other threads:[~2017-05-30 21:25 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-30 21:25 Patrice Clement [this message]
  -- strict thread matches above, loose matches on Subject: below --
2017-10-26 18:54 [gentoo-commits] repo/gentoo:master commit in: media-video/syncplay/ Thomas Deutschmann
2017-11-20 14:11 Manuel Rüger
2017-11-22 23:07 Patrice Clement
2018-01-30 22:19 Patrice Clement
2018-01-30 22:19 Patrice Clement
2018-04-23 14:50 Aaron Bauman
2018-05-20  0:16 Aaron Bauman
2018-08-26 11:51 Michał Górny
2020-03-26 17:36 Michał Górny
2020-04-27  8:03 Mikle Kolyada

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=1496179500.1d5d25a78eb1981658d579de21f8569a4da58210.monsieurp@gentoo \
    --to=monsieurp@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