From 2693a14b562505fd8d6c8136917fcef39b0a2e75 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 17 Dec 2023 16:54:00 +0100 Subject: profiles/use.desc: Make USE=gles2 global MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- dev-games/ogre/metadata.xml | 1 - games-emulation/mgba/metadata.xml | 1 - games-fps/gzdoom/metadata.xml | 1 - media-libs/cogl/metadata.xml | 1 - media-libs/gst-plugins-bad/metadata.xml | 1 - media-libs/libsdl2/metadata.xml | 1 - media-libs/mesa-amber/metadata.xml | 1 - media-libs/mesa/metadata.xml | 1 - profiles/use.desc | 3 ++- sci-libs/opencascade/metadata.xml | 3 --- sys-apps/kmscon/metadata.xml | 1 - x11-apps/mesa-progs/metadata.xml | 3 --- 12 files changed, 2 insertions(+), 16 deletions(-) diff --git a/dev-games/ogre/metadata.xml b/dev-games/ogre/metadata.xml index 10134612ebf8..744b1a91ff68 100644 --- a/dev-games/ogre/metadata.xml +++ b/dev-games/ogre/metadata.xml @@ -93,7 +93,6 @@ Exporters Support images via media-libs/freeimage Build OpenGL 3+ RenderSystem - Build OpenGL ES 2.x RenderSystem Enable OpenGL ES 3.x Features Use dev-libs/rapidjson (needed by Hlms JSON materials) diff --git a/games-emulation/mgba/metadata.xml b/games-emulation/mgba/metadata.xml index 9e784de51af0..5af613d4048c 100644 --- a/games-emulation/mgba/metadata.xml +++ b/games-emulation/mgba/metadata.xml @@ -8,7 +8,6 @@ Enable Discord RPC support Enable the use of elf utils via dev-libs/elfutils - Build OpenGL ES 2.x RenderSystem Build OpenGL ES 3.x RenderSystem Build libretro port diff --git a/games-fps/gzdoom/metadata.xml b/games-fps/gzdoom/metadata.xml index 41b3c9962102..b337177bc8a0 100644 --- a/games-fps/gzdoom/metadata.xml +++ b/games-fps/gzdoom/metadata.xml @@ -14,7 +14,6 @@ Gentoo Games Project - Enable GLES2 backend Enable non-free components Enable software renderer diff --git a/media-libs/cogl/metadata.xml b/media-libs/cogl/metadata.xml index 9b65a27f8c1d..d9a2e9c4ee28 100644 --- a/media-libs/cogl/metadata.xml +++ b/media-libs/cogl/metadata.xml @@ -6,7 +6,6 @@ Gentoo GNOME Desktop - Enable OpenGL ES 2.0 support Enable KMS support. Build cogl-pango library for x11-libs/pango integration diff --git a/media-libs/gst-plugins-bad/metadata.xml b/media-libs/gst-plugins-bad/metadata.xml index 6749b9b02477..477b2c0d2320 100644 --- a/media-libs/gst-plugins-bad/metadata.xml +++ b/media-libs/gst-plugins-bad/metadata.xml @@ -8,7 +8,6 @@ Enable bzip2 encoder/decoder plugin Enable EGL support - Enable GLES2 support Enable Intel Quick Sync Video using the media-libs/oneVPL dispatcher diff --git a/media-libs/libsdl2/metadata.xml b/media-libs/libsdl2/metadata.xml index 9cf6272d454a..a96219c59be3 100644 --- a/media-libs/libsdl2/metadata.xml +++ b/media-libs/libsdl2/metadata.xml @@ -26,7 +26,6 @@ Enable support for app-i18n/fcitx 4 include OpenGL ES 1.0 support - include OpenGL ES 2.0 support Enable the haptic (force feedback) subsystem Enable support for app-i18n/ibus Control joystick support (disable at your own risk) diff --git a/media-libs/mesa-amber/metadata.xml b/media-libs/mesa-amber/metadata.xml index 78f51b58c849..01806171bf75 100644 --- a/media-libs/mesa-amber/metadata.xml +++ b/media-libs/mesa-amber/metadata.xml @@ -7,7 +7,6 @@ Enable GLESv1 support. - Enable GLESv2 support. Enable support for dev-libs/wayland diff --git a/media-libs/mesa/metadata.xml b/media-libs/mesa/metadata.xml index 022f603de352..459ad451374c 100644 --- a/media-libs/mesa/metadata.xml +++ b/media-libs/mesa/metadata.xml @@ -8,7 +8,6 @@ Enable Direct 3D9 API through Nine state tracker. Can be used together with patched wine. Enable GLESv1 support. - Enable GLESv2 support. Enable LLVM backend for Gallium3D. Enable Gallium HUD lm-sensors support. Enable the Rusticl Gallium OpenCL state tracker. diff --git a/profiles/use.desc b/profiles/use.desc index 2a1e7bdd6b02..f0199949f2f5 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -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 diff --git a/sci-libs/opencascade/metadata.xml b/sci-libs/opencascade/metadata.xml index d1b713a48a87..02f3428e32ca 100644 --- a/sci-libs/opencascade/metadata.xml +++ b/sci-libs/opencascade/metadata.xml @@ -17,9 +17,6 @@ Enable support for image i/o via media-libs/freeimage - - Use OpenGL ES 2.0 - Enable JSON support through dev-libs/rapidjson diff --git a/sys-apps/kmscon/metadata.xml b/sys-apps/kmscon/metadata.xml index d8ac2ad0874a..90a75c590c8e 100644 --- a/sys-apps/kmscon/metadata.xml +++ b/sys-apps/kmscon/metadata.xml @@ -8,7 +8,6 @@ Enable Linux DRM for backend Enable Linux FBDev for backend - Enable GLES2 for backend Enable pango font rendering Enable pixman font rendering Enable multiseat support via systemd diff --git a/x11-apps/mesa-progs/metadata.xml b/x11-apps/mesa-progs/metadata.xml index 4f7f34493419..c0d2985e3795 100644 --- a/x11-apps/mesa-progs/metadata.xml +++ b/x11-apps/mesa-progs/metadata.xml @@ -5,9 +5,6 @@ x11@gentoo.org X11 - - Build OpenGL ES 2 utilities - mesa/demos -- cgit v1.2.3-65-gdbad