media-video/mpv: add vulkan support to 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Sat, 16 Jun 2018 19:29:52 +0000 (22:29 +0300)
committerGeorgy Yakovlev <gyakovlev@gentoo.org>
Wed, 20 Jun 2018 22:41:14 +0000 (15:41 -0700)
commit7cbc5531a7cc4547e97727a25c270426e362c42c
tree194aa11d827f9a898d915b18c65970b01bd918ef
parentc31d001aeedaf97917fa29fa859e16090cc50282
media-video/mpv: add vulkan support to 9999

Implementation details:
- mpv requires at least one enabled vulkan context (X or wayland),
  even though this isn't reflected by the build system. Hence the
  REQUIRED_USE. Without this you cannot enable vulkan backend.
- The appropriate context must be enabled in vulkan-loader.
- mpv technically allows vulkan without shaderc on NVIDIA cards,
  but support for this in NVIDIA drivers is deprecated and going
  away, see [1]. Thus always require shaderc.

[1]: https://github.com/mpv-player/mpv/issues/5867
Package-Manager: Portage-2.3.40, Repoman-2.3.9
media-video/mpv/metadata.xml
media-video/mpv/mpv-9999.ebuild