diff options
-rw-r--r-- | media-tv/kodi/kodi-9999.ebuild | 3 |
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 |