Gentoo Archives: gentoo-commits

From: Andrew Ammerlaan <andrewammerlaan@××××××.net>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/guru:dev commit in: media-video/syncplay/
Date: Thu, 07 May 2020 09:28:25
Message-Id: 1588843692.0c09bd570b946c1c3285b7d7a820e410cd61df72.andrewammerlaan@gentoo
1 commit: 0c09bd570b946c1c3285b7d7a820e410cd61df72
2 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
3 AuthorDate: Thu May 7 09:28:12 2020 +0000
4 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
5 CommitDate: Thu May 7 09:28:12 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c09bd57
7
8 media-video/syncplay: add more optfeature and IUSE
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net>
12
13 media-video/syncplay/metadata.xml | 1 +
14 media-video/syncplay/syncplay-1.6.4_p1.ebuild | 15 ++++++++++++---
15 2 files changed, 13 insertions(+), 3 deletions(-)
16
17 diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml
18 index 0bac473..af8b590 100644
19 --- a/media-video/syncplay/metadata.xml
20 +++ b/media-video/syncplay/metadata.xml
21 @@ -11,5 +11,6 @@
22 <flag name="server">Install the Syncplay server</flag>
23 <flag name="vlc">Pull in VLC with the lua flag</flag>
24 <flag name="mpv">Pull in MPV with the lua flag</flag>
25 + <flag name="mplayer">Pull in MPlayer</flag>
26 </use>
27 </pkgmetadata>
28
29 diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
30 index 3a46c75..95626f1 100644
31 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild
32 +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild
33 @@ -18,14 +18,20 @@ LICENSE="Apache-2.0"
34 SLOT="0"
35 KEYWORDS="~amd64 ~x86"
36
37 -IUSE="+client +server vlc mpv"
38 -REQUIRED_USE="vlc? ( client ) mpv? ( client )"
39 +IUSE="+client +server vlc mpv mplayer"
40 +REQUIRED_USE="
41 + vlc? ( client )
42 + mpv? ( client )
43 + mplayer? ( client )
44 + client? ( || ( vlc mpv mplayer ) )
45 +"
46
47 RDEPEND="
48 dev-python/certifi[${PYTHON_USEDEP}]
49 dev-python/twisted[${PYTHON_USEDEP}]
50 vlc? ( media-video/vlc[lua] )
51 mpv? ( media-video/mpv[lua] )
52 + mplayer? ( media-video/mplayer )
53 "
54
55 # RDEPEND on PySide2 for gui, but not packaged here at the moment
56 @@ -53,6 +59,9 @@ pkg_postinst() {
57
58 if use client; then
59 elog "Syncplay supports the following players:"
60 - elog "media-video/mpv, media-video/mplayer2, media-video/vlc"
61 + elog "media-video/mpv, media-video/mplayer, media-video/vlc\n"
62 + optfeature "using Syncplay with VLC" media-video/vlc[lua]
63 + optfeature "using Syncplay with MPV" media-video/mpv[lua]
64 + optfeature "using Syncplay with MPlayer" media-video/mplayer
65 fi
66 }