Skip to content

Commit

Permalink
games-emulation/mupen64plus-video-rice: rename USE=gles2 to USE=gles2…
Browse files Browse the repository at this point in the history
…-only

Signed-off-by: Haelwenn (lanodan) Monnier <[email protected]>
Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
lanodan authored and a17r committed Apr 3, 2020
1 parent 2228237 commit 04bfc3f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
3 changes: 0 additions & 3 deletions games-emulation/mupen64plus-video-rice/metadata.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
<email>[email protected]</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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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 )
Expand Down

0 comments on commit 04bfc3f

Please sign in to comment.