From d988d53ab67a23609b7d4f180431211a9be7215b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 12 Jun 2017 23:41:07 +0200 Subject: [PATCH] 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. --- media-video/mpv/mpv-0.25.0-r1.ebuild | 2 +- media-video/mpv/mpv-9999.ebuild | 2 +- 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 ) -- 2.26.2