media-libs/mesa: Replace REQUIRED_USE with ewarns
authorMatt Turner <mattst88@gentoo.org>
Sat, 18 Aug 2018 04:36:07 +0000 (21:36 -0700)
committerMatt Turner <mattst88@gentoo.org>
Sat, 18 Aug 2018 04:53:17 +0000 (21:53 -0700)
commita0ece8925e0d757751a9b9d26eeae2796f5aa4b8
tree8f0ee5776092696f8d93868753c3676b3daac2da
parent5d9fa93aefdb8ecfaad7e4f0794c7f92074dc1a0
media-libs/mesa: Replace REQUIRED_USE with ewarns

Mesa has a lot of configuration options and many of them are only
meaningful when specific Gallium drivers are enabled. Previously we
attempted to specify all of those dependencies with REQUIRED_USE logic
which was tedious for users to configure but ensured they knew what they
were getting.

With the transition to Meson, some configuration combinations that had
not been specified in REQUIRED_USE (and with autotools were silently
ignored) began producing configuration errors. Rather than extend
REQUIRED_USE instead provide a warning in pkg_prepare().

Closes: https://bugs.gentoo.org/658892
Closes: https://bugs.gentoo.org/658938
Closes: https://bugs.gentoo.org/663418
Closes: https://bugs.gentoo.org/663470
Closes: https://bugs.gentoo.org/663660
media-libs/mesa/mesa-9999.ebuild