mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-23 16:49:10 -07:00
media-tv/kodi: Latest git now requires GBM_RENDER_SYSTEM set
usex is simpler and shorter than if/else. Package-Manager: Portage-2.3.48, Repoman-2.3.10
This commit is contained in:
committed by
Craig Andrews
parent
7845e8a617
commit
6005cea2e2
@@ -31,7 +31,6 @@ SLOT="0"
|
||||
IUSE="airplay alsa bluetooth bluray caps cec +css dbus debug dvd gbm gles lcms libressl libusb lirc mysql nfs +opengl pulseaudio samba systemd +system-ffmpeg test +udev udisks upnp upower vaapi vdpau wayland webserver +X +xslt zeroconf"
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
gbm? ( gles )
|
||||
|| ( gles opengl )
|
||||
^^ ( gbm wayland X )
|
||||
udev? ( !libusb )
|
||||
@@ -266,16 +265,17 @@ src_configure() {
|
||||
fi
|
||||
|
||||
if use gbm; then
|
||||
mycmakeargs+=( -DCORE_PLATFORM_NAME="gbm" )
|
||||
mycmakeargs+=(
|
||||
-DCORE_PLATFORM_NAME="gbm"
|
||||
-DGBM_RENDER_SYSTEM="$(usex opengl gl gles)"
|
||||
)
|
||||
fi
|
||||
|
||||
if use wayland; then
|
||||
mycmakeargs+=( -DCORE_PLATFORM_NAME="wayland" )
|
||||
if use opengl; then
|
||||
mycmakeargs+=( -DWAYLAND_RENDER_SYSTEM="gl" )
|
||||
else
|
||||
mycmakeargs+=( -DWAYLAND_RENDER_SYSTEM="gles" )
|
||||
fi
|
||||
mycmakeargs+=(
|
||||
-DCORE_PLATFORM_NAME="wayland"
|
||||
-DWAYLAND_RENDER_SYSTEM="$(usex opengl gl gles)"
|
||||
)
|
||||
fi
|
||||
|
||||
if use X; then
|
||||
|
||||
Reference in New Issue
Block a user