media-video/syncplay: add more optfeature and IUSE

Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Andrew Ammerlaan <andrewammerlaan@riseup.net>
This commit is contained in:
Andrew Ammerlaan
2020-05-07 11:28:12 +02:00
parent 460d2153b5
commit 0c09bd570b
2 changed files with 13 additions and 3 deletions

View File

@@ -11,5 +11,6 @@
<flag name="server">Install the Syncplay server</flag>
<flag name="vlc">Pull in VLC with the lua flag</flag>
<flag name="mpv">Pull in MPV with the lua flag</flag>
<flag name="mplayer">Pull in MPlayer</flag>
</use>
</pkgmetadata>

View File

@@ -18,14 +18,20 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+client +server vlc mpv"
REQUIRED_USE="vlc? ( client ) mpv? ( client )"
IUSE="+client +server vlc mpv mplayer"
REQUIRED_USE="
vlc? ( client )
mpv? ( client )
mplayer? ( client )
client? ( || ( vlc mpv mplayer ) )
"
RDEPEND="
dev-python/certifi[${PYTHON_USEDEP}]
dev-python/twisted[${PYTHON_USEDEP}]
vlc? ( media-video/vlc[lua] )
mpv? ( media-video/mpv[lua] )
mplayer? ( media-video/mplayer )
"
# RDEPEND on PySide2 for gui, but not packaged here at the moment
@@ -53,6 +59,9 @@ pkg_postinst() {
if use client; then
elog "Syncplay supports the following players:"
elog "media-video/mpv, media-video/mplayer2, media-video/vlc"
elog "media-video/mpv, media-video/mplayer, media-video/vlc\n"
optfeature "using Syncplay with VLC" media-video/vlc[lua]
optfeature "using Syncplay with MPV" media-video/mpv[lua]
optfeature "using Syncplay with MPlayer" media-video/mplayer
fi
}