From: Michał Górny Date: Mon, 12 Jun 2017 21:41:07 +0000 (+0200) Subject: media-video/mpv: Simplify REQUIRED_USE X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=d988d53ab67a23609b7d4f180431211a9be7215b;p=gentoo.git 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. --- 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 )