profiles/use.desc: Make USE=gles2 global

Add a global USE=gles2 flag, to enable GLES 2 support (as a companion
to USE=gles2-only).  It seems to be used consistently in 16 packages,
though for some it also enables GLES 3).

Technically there are also `gles1` and `gles3` flags in the wild
but they are used by a few packages.

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2023-12-17 16:54:00 +01:00
parent ad0f2f0c06
commit 2693a14b56
12 changed files with 2 additions and 16 deletions

View File

@@ -93,7 +93,6 @@ Exporters
</flag>
<flag name="freeimage">Support images via <pkg>media-libs/freeimage</pkg></flag>
<flag name="gl3plus">Build OpenGL 3+ RenderSystem</flag>
<flag name="gles2" restrict="&lt;dev-games/ogre-13">Build OpenGL ES 2.x RenderSystem</flag>
<flag name="gles3" restrict="&lt;dev-games/ogre-13">Enable OpenGL ES 3.x Features</flag>
<flag name="json">Use <pkg>dev-libs/rapidjson</pkg> (needed by Hlms JSON materials)</flag>
<flag name="legacy-animations">

View File

@@ -8,7 +8,6 @@
<use>
<flag name="discord">Enable Discord RPC support</flag>
<flag name="elf">Enable the use of elf utils via <pkg>dev-libs/elfutils</pkg></flag>
<flag name="gles2">Build OpenGL ES 2.x RenderSystem</flag>
<flag name="gles3">Build OpenGL ES 3.x RenderSystem</flag>
<flag name="libretro">Build libretro port</flag>
</use>

View File

@@ -14,7 +14,6 @@
<name>Gentoo Games Project</name>
</maintainer>
<use>
<flag name="gles2">Enable GLES2 backend</flag>
<flag name="non-free">Enable non-free components</flag>
<flag name="swr">Enable software renderer</flag>
</use>

View File

@@ -6,7 +6,6 @@
<name>Gentoo GNOME Desktop</name>
</maintainer>
<use>
<flag name="gles2">Enable OpenGL ES 2.0 support</flag>
<flag name="kms">Enable KMS support.</flag>
<flag name="pango">Build cogl-pango library for <pkg>x11-libs/pango</pkg> integration</flag>
</use>

View File

@@ -8,7 +8,6 @@
<use>
<flag name="bzip2">Enable bzip2 encoder/decoder plugin</flag>
<flag name="egl">Enable EGL support</flag>
<flag name="gles2">Enable GLES2 support</flag>
<flag name="qsv">Enable Intel Quick Sync Video using the <pkg>media-libs/oneVPL</pkg> dispatcher</flag>
</use>
</pkgmetadata>

View File

@@ -26,7 +26,6 @@
<use>
<flag name="fcitx4">Enable support for <pkg>app-i18n/fcitx</pkg> 4</flag>
<flag name="gles1">include OpenGL ES 1.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="ibus">Enable support for <pkg>app-i18n/ibus</pkg></flag>
<flag name="joystick">Control joystick support (disable at your own risk)</flag>

View File

@@ -7,7 +7,6 @@
</maintainer>
<use>
<flag name="gles1">Enable GLESv1 support.</flag>
<flag name="gles2">Enable GLESv2 support.</flag>
<flag name="wayland">Enable support for <pkg>dev-libs/wayland</pkg></flag>
</use>
<upstream>

View File

@@ -8,7 +8,6 @@
<use>
<flag name="d3d9">Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine.</flag>
<flag name="gles1">Enable GLESv1 support.</flag>
<flag name="gles2">Enable GLESv2 support.</flag>
<flag name="llvm">Enable LLVM backend for Gallium3D.</flag>
<flag name="lm-sensors">Enable Gallium HUD lm-sensors support.</flag>
<flag name="opencl">Enable the Rusticl Gallium OpenCL state tracker.</flag>

View File

@@ -101,7 +101,8 @@ ggi - Add support for media-libs/libggi (non-X video api/drivers)
gif - Add GIF image support
gimp - Build a plugin for the GIMP
git - Enable git (version control system) support
gles2-only - Use GLES 2.0 or later instead of full OpenGL
gles2 - Enable GLES 2.0 (OpenGL for Embedded Systems) support (independently of full OpenGL, see also: gles2-only)
gles2-only - Use GLES 2.0 (OpenGL for Embedded Systems) or later instead of full OpenGL (see also: gles2)
glut - Build an OpenGL plugin using the GLUT library
gmp - Add support for dev-libs/gmp (GNU MP library)
gnome - Add GNOME support

View File

@@ -17,9 +17,6 @@
<flag name="freeimage">
Enable support for image i/o via <pkg>media-libs/freeimage</pkg>
</flag>
<flag name="gles2">
Use OpenGL ES 2.0
</flag>
<flag name="json">
Enable JSON support through <pkg>dev-libs/rapidjson</pkg>
</flag>

View File

@@ -8,7 +8,6 @@
<use>
<flag name="drm">Enable Linux DRM for backend</flag>
<flag name="fbdev">Enable Linux FBDev for backend</flag>
<flag name="gles2">Enable GLES2 for backend</flag>
<flag name="pango">Enable pango font rendering</flag>
<flag name="pixman">Enable pixman font rendering</flag>
<flag name="systemd">Enable multiseat support via systemd</flag>

View File

@@ -5,9 +5,6 @@
<email>x11@gentoo.org</email>
<name>X11</name>
</maintainer>
<use>
<flag name="gles2">Build OpenGL ES 2 utilities</flag>
</use>
<upstream>
<remote-id type="freedesktop-gitlab">mesa/demos</remote-id>
</upstream>