mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
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:
committed by
Andreas Sturmlechner
parent
2228237dad
commit
04bfc3f5e3
@@ -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>
|
||||
|
||||
@@ -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 )
|
||||
Reference in New Issue
Block a user