1 |
commit: c3795d031a4b2bec97212a6a65a88390759b544a |
2 |
Author: Mykyta Holubakha <hilobakho <AT> gmail <DOT> com> |
3 |
AuthorDate: Thu Jan 25 22:11:30 2018 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 30 22:18:58 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3795d03 |
7 |
|
8 |
media-video/syncplay: version bump to 1.5.1. |
9 |
|
10 |
Closes: https://github.com/gentoo/gentoo/pull/6963 |
11 |
|
12 |
media-video/syncplay/Manifest | 1 + |
13 |
media-video/syncplay/syncplay-1.5.1.ebuild | 59 ++++++++++++++++++++++++++++++ |
14 |
2 files changed, 60 insertions(+) |
15 |
|
16 |
diff --git a/media-video/syncplay/Manifest b/media-video/syncplay/Manifest |
17 |
index 489af39aaaf..4bbe1ba2982 100644 |
18 |
--- a/media-video/syncplay/Manifest |
19 |
+++ b/media-video/syncplay/Manifest |
20 |
@@ -1,2 +1,3 @@ |
21 |
DIST syncplay-1.4.0.tar.gz 539743 BLAKE2B 52eeb80480783c827538aa9c7bde1bf9516ae1219600e6be42eb8e0477c2b6377e6b2d0e950bd83367cca55d8aad47bb756d820b795d3354465e3e4989aec1ea SHA512 2266ffafe3b15730a43e3ddd8aa24e99c65ce5a4e95d05bcac745262d310cb846c84c6e5bb061ebb96e89faa0f10e22aacee286db6cbe53cd5f521cb2e5eee1a |
22 |
DIST syncplay-1.5.0.tar.gz 1588514 BLAKE2B 0f2bddf3500758c3081bdba993b21fe60a0d3af7081c5edd0f684e1d60a2a95edce133a597e79747350e681dd40768226226f0b26e295850a8c218107b1da3e9 SHA512 8a57add8a845c041c02147415fc4b7941a41edfb80fc037c3af4e246d9ca6391be9f3886407470b1b51b8783ad6306e42bb34991e7cbb08eea87e781e3cd2200 |
23 |
+DIST syncplay-1.5.1.tar.gz 1603524 BLAKE2B 0d7edb0c2129f67ce457cffb57f5600d0c0d6bee017119efc866d748f63e6e984becd21f88324e19dcac3f0ce52e2e2f1bf65326aab6237ea41b04bdecf26334 SHA512 8d7f99132b49148003dcdc83b5afc3158ebd7ad0b8a161229f8f576e7683e3c432d09793db071239e6344490f6e08d01c9061a32556b5bce6dcd68823b47a0cf |
24 |
|
25 |
diff --git a/media-video/syncplay/syncplay-1.5.1.ebuild b/media-video/syncplay/syncplay-1.5.1.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..00a24344bbf |
28 |
--- /dev/null |
29 |
+++ b/media-video/syncplay/syncplay-1.5.1.ebuild |
30 |
@@ -0,0 +1,59 @@ |
31 |
+# Copyright 1999-2018 Gentoo Foundation |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI=6 |
35 |
+ |
36 |
+PYTHON_COMPAT=( python2_7 ) |
37 |
+ |
38 |
+inherit python-r1 |
39 |
+ |
40 |
+DESCRIPTION="Client/server to synchronize media playback" |
41 |
+HOMEPAGE="http://syncplay.pl" |
42 |
+SRC_URI="https://github.com/Syncplay/syncplay/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="Apache-2.0" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 x86" |
47 |
+IUSE="+client +server gui vlc" |
48 |
+REQUIRED_USE="vlc? ( client ) |
49 |
+ gui? ( client ) |
50 |
+ ${PYTHON_REQUIRED_USE}" |
51 |
+ |
52 |
+DEPEND="" |
53 |
+# TODO: investigate the possibility of enabling PyQt5 gui |
54 |
+# possible licensing concerns |
55 |
+RDEPEND="${PYTHON_DEPS} |
56 |
+ || ( |
57 |
+ >=dev-python/twisted-16.0.0[${PYTHON_USEDEP}] |
58 |
+ dev-python/twisted-core[${PYTHON_USEDEP}] |
59 |
+ ) |
60 |
+ gui? ( dev-python/pyside[${PYTHON_USEDEP}] ) |
61 |
+ vlc? ( media-video/vlc[lua] )" |
62 |
+ |
63 |
+src_prepare() { |
64 |
+ default |
65 |
+ if ! use gui; then |
66 |
+ sed -i 's/"noGui": False,/"noGui": True,/' \ |
67 |
+ syncplay/ui/ConfigurationGetter.py \ |
68 |
+ || die "Failed to patch ConfigurationGetter.py" |
69 |
+ fi |
70 |
+} |
71 |
+ |
72 |
+src_compile() { |
73 |
+ : |
74 |
+} |
75 |
+ |
76 |
+src_install() { |
77 |
+ local MY_MAKEOPTS=( DESTDIR="${D}" PREFIX=/usr ) |
78 |
+ use client && \ |
79 |
+ emake "${MY_MAKEOPTS[@]}" VLC_SUPPORT=$(usex vlc true false) install-client |
80 |
+ use server && \ |
81 |
+ emake "${MY_MAKEOPTS[@]}" install-server |
82 |
+} |
83 |
+ |
84 |
+pkg_postinst() { |
85 |
+ if use client; then |
86 |
+ einfo "Syncplay supports the following players:" |
87 |
+ einfo "media-video/mpv, media-video/mplayer2, media-video/vlc" |
88 |
+ fi |
89 |
+} |