media-video/mpv: require only virtual/opengl for raspberry-pi in 9999
authorIlya Tumaykin <itumaykin@gmail.com>
Sat, 28 Jan 2017 16:28:45 +0000 (19:28 +0300)
committerDavid Seifert <soap@gentoo.org>
Sun, 29 Jan 2017 22:53:16 +0000 (23:53 +0100)
Both libEGL and libGLESv2 from mesa are not only unnecessary, but can
even cause issues if picked instead of libs from raspberrypi-userland.
At runtime we have environment set up correctly by raspberrypi-userland.
At build time correct libs are enforced by the next commit.

We still need GL/gl.h header provided by virtual/opengl though.

Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3718

media-video/mpv/mpv-9999.ebuild

index 01279532d6597dcddb39171da8c939b13eac47f0..8e33c3e35e4aaaa55bdaef3379d4e2fa85020389 100644 (file)
@@ -93,7 +93,7 @@ COMMON_DEPEND="
        pulseaudio? ( media-sound/pulseaudio )
        raspberry-pi? (
                >=media-libs/raspberrypi-userland-0_pre20160305-r1
-               media-libs/mesa[egl,gles2]
+               virtual/opengl
        )
        rubberband? ( >=media-libs/rubberband-1.8.0 )
        samba? ( net-fs/samba[smbclient(+)] )