LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="cpu_flags_x86_sse2 curl ffmpeg gles libav nsplugin ppapi profile rtmp"
+IUSE="cpu_flags_x86_sse2 curl ffmpeg gles2-only libav nsplugin ppapi profile rtmp"
# Note: no LLVM since it's broken upstream
RDEPEND="app-arch/xz-utils:0=
libav? ( <media-video/libav-13_pre:0= )
!libav? ( media-video/ffmpeg:0= )
)
- gles? ( media-libs/mesa:0=[gles2] )
- !gles? (
+ gles2-only? ( media-libs/mesa:0=[gles2] )
+ !gles2-only? (
>=media-libs/glew-1.5.3:0=
virtual/opengl:0=
)
src_configure() {
local mycmakeargs=(
-DENABLE_CURL=$(usex curl)
- -DENABLE_GLES2=$(usex gles)
+ -DENABLE_GLES2=$(usex gles2-only)
-DENABLE_LIBAVCODEC=$(usex ffmpeg)
-DENABLE_RTMP=$(usex rtmp)
<name>Michał Górny</name>
</maintainer>
<use>
- <flag name="gles">Replace default OpenGL renderer with GLESv2</flag>
<flag name="ppapi">Install the PPAPI plugin (for Chromium)</flag>
<flag name="rtmp">Enable Real Time Messaging Protocol using librtmp</flag>
</use>