summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2017-06-12 23:41:07 +0200
committerMichał Górny <mgorny@gentoo.org>2017-06-21 21:02:29 +0200
commitd988d53ab67a23609b7d4f180431211a9be7215b (patch)
treec63600ad025513a0aa9b7c0ff3538995d0c0208b /media-video
parentmate-base/mate-session-manager: Set IUSE="+xtrans", #621358 (diff)
downloadgentoo-d988d53ab67a23609b7d4f180431211a9be7215b.tar.gz
gentoo-d988d53ab67a23609b7d4f180431211a9be7215b.tar.bz2
gentoo-d988d53ab67a23609b7d4f180431211a9be7215b.zip
media-video/mpv: Simplify REQUIRED_USE
Replace the redundant '!cli? ( libmpv )' inside ||. Per the initial '|| ( cli libmpv )', if the cli flag is disabled, libmpv is always enabled. It is therefore unnecessary to check both flags. Removing USE-conditional groups from || makes it possible for the REQUIRED_USE to be solved and verified using a simpler algorithm.
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mpv/mpv-0.25.0-r1.ebuild2
-rw-r--r--media-video/mpv/mpv-9999.ebuild2
2 files changed, 2 insertions, 2 deletions
diff --git a/media-video/mpv/mpv-0.25.0-r1.ebuild b/media-video/mpv/mpv-0.25.0-r1.ebuild
index 0bab14bcdf56..6030435b78e9 100644
--- a/media-video/mpv/mpv-0.25.0-r1.ebuild
+++ b/media-video/mpv/mpv-0.25.0-r1.ebuild
@@ -45,7 +45,7 @@ REQUIRED_USE="
gbm? ( drm egl opengl )
lcms? ( opengl )
luajit? ( lua )
- opengl? ( || ( aqua egl X raspberry-pi !cli? ( libmpv ) ) )
+ opengl? ( || ( aqua egl X raspberry-pi !cli ) )
raspberry-pi? ( opengl )
test? ( opengl )
tools? ( cli )
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index 51104143d760..495c3b58b025 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -41,7 +41,7 @@ REQUIRED_USE="
gbm? ( drm egl opengl )
lcms? ( opengl )
luajit? ( lua )
- opengl? ( || ( aqua egl X raspberry-pi !cli? ( libmpv ) ) )
+ opengl? ( || ( aqua egl X raspberry-pi !cli ) )
raspberry-pi? ( opengl )
test? ( opengl )
tools? ( cli )