games-emulation/mupen64plus-video-rice: rename USE=gles2 to USE=gles2-only

Signed-off-by: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Haelwenn (lanodan) Monnier
2019-11-23 10:52:14 +01:00
committed by Andreas Sturmlechner
parent 2228237dad
commit 04bfc3f5e3
2 changed files with 4 additions and 7 deletions

View File

@@ -5,9 +5,6 @@
<email>mgorny@gentoo.org</email>
<name>Michał Górny</name>
</maintainer>
<use>
<flag name="gles2">Use GLES2 instead of OpenGL</flag>
</use>
<upstream>
<remote-id type="github">mupen64plus/mupen64plus-video-rice</remote-id>
</upstream>

View File

@@ -13,13 +13,13 @@ SRC_URI="https://github.com/mupen64plus/${PN}/releases/download/${PV}/${MY_P}.ta
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="gles2 cpu_flags_x86_sse"
IUSE="gles2-only cpu_flags_x86_sse"
RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2=]
RDEPEND=">=games-emulation/mupen64plus-core-2.5:0=[gles2-only=]
media-libs/libpng:0=
media-libs/libsdl2:0=[video]
virtual/opengl:0=
gles2? ( media-libs/libsdl2:0[gles] )"
gles2-only? ( media-libs/libsdl2:0[gles] )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
@@ -67,7 +67,7 @@ src_compile() {
SDL_LDLIBS="$($(tc-getPKG_CONFIG) --libs sdl2)"
NO_ASM=$(usex cpu_flags_x86_sse 0 1)
USE_GLES=$(usex gles2 1 0)
USE_GLES=$(usex gles2-only 1 0)
)
use amd64 && MAKEARGS+=( HOST_CPU=x86_64 )