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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A347139694 for ; Tue, 30 May 2017 21:25:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7E72421C08B; Tue, 30 May 2017 21:25:07 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5C31D21C08B for ; Tue, 30 May 2017 21:25:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5B0AB33BE19 for ; Tue, 30 May 2017 21:25:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BFAD17459 for ; Tue, 30 May 2017 21:25:04 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1496179500.1d5d25a78eb1981658d579de21f8569a4da58210.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/syncplay/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-video/syncplay/syncplay-9999.ebuild X-VCS-Directories: media-video/syncplay/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: 1d5d25a78eb1981658d579de21f8569a4da58210 X-VCS-Branch: master Date: Tue, 30 May 2017 21:25:04 +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-Archives-Salt: 4becf6e0-280a-4d28-8f6e-f93c1e57757f X-Archives-Hash: 110d3b4e62b1d343b7acf41ba44b6739 commit: 1d5d25a78eb1981658d579de21f8569a4da58210 Author: soredake krutt org> AuthorDate: Sun May 28 17:48:11 2017 +0000 Commit: Patrice Clement gentoo 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 +}