commit: 0c09bd570b946c1c3285b7d7a820e410cd61df72 Author: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> AuthorDate: Thu May 7 09:28:12 2020 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Thu May 7 09:28:12 2020 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0c09bd57
media-video/syncplay: add more optfeature and IUSE Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Andrew Ammerlaan <andrewammerlaan <AT> riseup.net> media-video/syncplay/metadata.xml | 1 + media-video/syncplay/syncplay-1.6.4_p1.ebuild | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml index 0bac473..af8b590 100644 --- a/media-video/syncplay/metadata.xml +++ b/media-video/syncplay/metadata.xml @@ -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> diff --git a/media-video/syncplay/syncplay-1.6.4_p1.ebuild b/media-video/syncplay/syncplay-1.6.4_p1.ebuild index 3a46c75..95626f1 100644 --- a/media-video/syncplay/syncplay-1.6.4_p1.ebuild +++ b/media-video/syncplay/syncplay-1.6.4_p1.ebuild @@ -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 }