Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 929986 - media-libs/sdl2-ttf should not depend on virtual/opengl
Summary: media-libs/sdl2-ttf should not depend on virtual/opengl
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-14 08:02 UTC by Yaroslav Isakov
Modified: 2024-04-15 17:21 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Yaroslav Isakov 2024-04-14 08:02:37 UTC
Hello! I found, that CMake in media-libs/sdl2-ttf is checking for opengl only for sample programs (glfont and showfont), which are, even if selected, only built, but not installed on merge. objdump -x /usr/lib64/libSDL2_ttf-2.0.so.0.2000.2 also shows no signs of opengl dep.

I'm suggesting to drop both virtual/opengl dep from ebuild, and building of sample programs, if they're not installed, but setting SDL2TTF_SAMPLES to OFF. These changes allowed to build and use SDL2TTF of my system.

If this won't work, then, please, at least change dep from virtual/opengl (which is pretty outdated, as it depends on X11), to use glnvd (as CMake is also preferring).