summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Le Cuirot <chewi@gentoo.org>2020-04-06 09:22:28 +0100
committerJames Le Cuirot <chewi@gentoo.org>2020-04-06 19:50:53 +0100
commit0d29581487dd0574041218fd434339724b3d3fbb (patch)
treef436949ebfcde3357839f58f54788f87dd0a9945 /media-libs
parentmedia-libs/libsdl2: Drop old 2.0.10-r2 (diff)
downloadgentoo-0d29581487dd0574041218fd434339724b3d3fbb.tar.gz
gentoo-0d29581487dd0574041218fd434339724b3d3fbb.tar.bz2
gentoo-0d29581487dd0574041218fd434339724b3d3fbb.zip
media-libs/libsdl2: Apply gles to gles2 USE rename to stable
Easier than fixing the consuming ebuilds. Package-Manager: Portage-2.3.96, Repoman-2.3.20 Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild (renamed from media-libs/libsdl2/libsdl2-2.0.10.ebuild)10
-rw-r--r--media-libs/libsdl2/metadata.xml1
2 files changed, 5 insertions, 6 deletions
diff --git a/media-libs/libsdl2/libsdl2-2.0.10.ebuild b/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild
index a5b740c0bd03..972572986682 100644
--- a/media-libs/libsdl2/libsdl2-2.0.10.ebuild
+++ b/media-libs/libsdl2/libsdl2-2.0.10-r1.ebuild
@@ -13,22 +13,22 @@ LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 sparc x86"
-IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles haptic libsamplerate +joystick kms cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
+IUSE="cpu_flags_x86_3dnow alsa altivec aqua custom-cflags dbus gles2 haptic libsamplerate +joystick kms cpu_flags_x86_mmx nas opengl oss pulseaudio +sound cpu_flags_x86_sse cpu_flags_x86_sse2 static-libs +threads tslib udev +video video_cards_vc4 vulkan wayland X xinerama xscreensaver"
REQUIRED_USE="
alsa? ( sound )
- gles? ( video )
+ gles2? ( video )
nas? ( sound )
opengl? ( video )
pulseaudio? ( sound )
vulkan? ( video )
- wayland? ( gles )
+ wayland? ( gles2 )
xinerama? ( X )
xscreensaver? ( X )"
CDEPEND="
alsa? ( >=media-libs/alsa-lib-1.0.27.2[${MULTILIB_USEDEP}] )
dbus? ( >=sys-apps/dbus-1.6.18-r1[${MULTILIB_USEDEP}] )
- gles? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
+ gles2? ( >=media-libs/mesa-9.1.6[${MULTILIB_USEDEP},gles2] )
kms? (
>=x11-libs/libdrm-2.4.46[${MULTILIB_USEDEP}]
>=media-libs/mesa-9.0.0[${MULTILIB_USEDEP},gbm]
@@ -157,7 +157,7 @@ multilib_src_configure() {
$(use_enable video video-dummy)
$(use_enable opengl video-opengl)
--disable-video-opengles1
- $(use_enable gles video-opengles2)
+ $(use_enable gles2 video-opengles2)
$(use_enable vulkan video-vulkan)
$(use_enable udev libudev)
$(use_enable dbus)
diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml
index 37b2b8577235..ec21c0415ca4 100644
--- a/media-libs/libsdl2/metadata.xml
+++ b/media-libs/libsdl2/metadata.xml
@@ -24,7 +24,6 @@
Perl, PHP, Pike, Python, and Ruby.
</longdescription>
<use>
- <flag name="gles">include OpenGL ES 2.0 support</flag>
<flag name="gles2">include OpenGL ES 2.0 support</flag>
<flag name="haptic">Enable the haptic (force feedback) subsystem</flag>
<flag name="joystick">Control joystick support (disable at your own risk)</flag>