1 |
commit: d988d53ab67a23609b7d4f180431211a9be7215b |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Jun 12 21:41:07 2017 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jun 21 19:02:29 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d988d53a |
7 |
|
8 |
media-video/mpv: Simplify REQUIRED_USE |
9 |
|
10 |
Replace the redundant '!cli? ( libmpv )' inside ||. Per the initial |
11 |
'|| ( cli libmpv )', if the cli flag is disabled, libmpv is always |
12 |
enabled. It is therefore unnecessary to check both flags. Removing |
13 |
USE-conditional groups from || makes it possible for the REQUIRED_USE |
14 |
to be solved and verified using a simpler algorithm. |
15 |
|
16 |
media-video/mpv/mpv-0.25.0-r1.ebuild | 2 +- |
17 |
media-video/mpv/mpv-9999.ebuild | 2 +- |
18 |
2 files changed, 2 insertions(+), 2 deletions(-) |
19 |
|
20 |
diff --git a/media-video/mpv/mpv-0.25.0-r1.ebuild b/media-video/mpv/mpv-0.25.0-r1.ebuild |
21 |
index 0bab14bcdf5..6030435b78e 100644 |
22 |
--- a/media-video/mpv/mpv-0.25.0-r1.ebuild |
23 |
+++ b/media-video/mpv/mpv-0.25.0-r1.ebuild |
24 |
@@ -45,7 +45,7 @@ REQUIRED_USE=" |
25 |
gbm? ( drm egl opengl ) |
26 |
lcms? ( opengl ) |
27 |
luajit? ( lua ) |
28 |
- opengl? ( || ( aqua egl X raspberry-pi !cli? ( libmpv ) ) ) |
29 |
+ opengl? ( || ( aqua egl X raspberry-pi !cli ) ) |
30 |
raspberry-pi? ( opengl ) |
31 |
test? ( opengl ) |
32 |
tools? ( cli ) |
33 |
|
34 |
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild |
35 |
index 51104143d76..495c3b58b02 100644 |
36 |
--- a/media-video/mpv/mpv-9999.ebuild |
37 |
+++ b/media-video/mpv/mpv-9999.ebuild |
38 |
@@ -41,7 +41,7 @@ REQUIRED_USE=" |
39 |
gbm? ( drm egl opengl ) |
40 |
lcms? ( opengl ) |
41 |
luajit? ( lua ) |
42 |
- opengl? ( || ( aqua egl X raspberry-pi !cli? ( libmpv ) ) ) |
43 |
+ opengl? ( || ( aqua egl X raspberry-pi !cli ) ) |
44 |
raspberry-pi? ( opengl ) |
45 |
test? ( opengl ) |
46 |
tools? ( cli ) |