aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-07 11:28:12 +0200
committerAndrew Ammerlaan <andrewammerlaan@riseup.net>2020-05-07 11:28:12 +0200
commit0c09bd570b946c1c3285b7d7a820e410cd61df72 (patch)
tree4ad0d1b88109184e2188a720a98a4a2f6294a43f /media-video
parentdev-R/CRAN-magrittr: new package (diff)
downloadguru-0c09bd570b946c1c3285b7d7a820e410cd61df72.tar.gz
guru-0c09bd570b946c1c3285b7d7a820e410cd61df72.tar.bz2
guru-0c09bd570b946c1c3285b7d7a820e410cd61df72.zip
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>
Diffstat (limited to 'media-video')
-rw-r--r--media-video/syncplay/metadata.xml1
-rw-r--r--media-video/syncplay/syncplay-1.6.4_p1.ebuild15
2 files changed, 13 insertions, 3 deletions
diff --git a/media-video/syncplay/metadata.xml b/media-video/syncplay/metadata.xml
index 0bac473b..af8b590f 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 3a46c757..95626f15 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
}