summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin <k2k@narod.ru>2021-02-07 17:54:47 +0300
committerCraig Andrews <candrews@gentoo.org>2021-02-18 09:43:12 -0500
commitcc49d027b0943372127113301c83caf450d11b08 (patch)
tree76d58de9dfa80539dbf4094c612b98f7b9573be7 /media-tv
parentmedia-tv/kodi: disable vdpau if gbm is enabled (diff)
downloadgentoo-cc49d027b0943372127113301c83caf450d11b08.tar.gz
gentoo-cc49d027b0943372127113301c83caf450d11b08.tar.bz2
gentoo-cc49d027b0943372127113301c83caf450d11b08.zip
media-tv/kodi: added GLX dependency
Signed-off-by: Evgeny Grin <k2k@narod.ru> Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'media-tv')
-rw-r--r--media-tv/kodi/kodi-9999.ebuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/media-tv/kodi/kodi-9999.ebuild b/media-tv/kodi/kodi-9999.ebuild
index f495350415be..b39140c525bc 100644
--- a/media-tv/kodi/kodi-9999.ebuild
+++ b/media-tv/kodi/kodi-9999.ebuild
@@ -143,6 +143,7 @@ COMMON_DEPEND="${PYTHON_DEPS}
webserver? ( >=net-libs/libmicrohttpd-0.9.55[messages(+)] )
X? (
media-libs/mesa[X]
+ opengl? ( media-libs/libglvnd[X] )
x11-libs/libX11
x11-libs/libXrandr
x11-libs/libXrender
@@ -295,6 +296,8 @@ src_configure() {
use libusb && mycmakeargs+=( -DENABLE_LIBUSB=$(usex libusb) )
+ use X && use opengl && mycmakeargs+=( -DENABLE_GLX=ON )
+
if use system-ffmpeg; then
mycmakeargs+=( -DWITH_FFMPEG="yes" )
else