commit: 39e0eab9fa3ab8222e7434f7bd3138cc1c4048d0
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sat May 4 20:56:54 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sat May 4 21:11:21 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=39e0eab9
media-libs/glfw: Add some missing dependencies
These are dlopen'd so are hard to spot.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
media-libs/glfw/glfw-3.4.ebuild | 31 ++++++++++++++++++++-----------
1 file changed, 20 insertions(+), 11 deletions(-)
diff --git a/media-libs/glfw/glfw-3.4.ebuild b/media-libs/glfw/glfw-3.4.ebuild
index ca054b61adad..908b4b8f468b 100644
--- a/media-libs/glfw/glfw-3.4.ebuild
+++ b/media-libs/glfw/glfw-3.4.ebuild
@@ -14,31 +14,40 @@ SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc64 ~riscv ~x86"
IUSE="wayland X"
-RDEPEND="
- media-libs/libglvnd[${MULTILIB_USEDEP}]
- wayland? ( dev-libs/wayland[${MULTILIB_USEDEP}] )
- X? (
- media-libs/libglvnd[X]
- x11-libs/libX11[${MULTILIB_USEDEP}]
- )"
+# Most are dlopen'd so use strings or check the source:
+# grep -Eiro '[a-z0-9-]+\.so\.[0-9]+'
DEPEND="
- ${RDEPEND}
wayland? (
+ dev-libs/wayland[${MULTILIB_USEDEP}]
dev-libs/wayland-protocols
- x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
)
X? (
x11-base/xorg-proto
+ x11-libs/libX11[${MULTILIB_USEDEP}]
x11-libs/libXcursor[${MULTILIB_USEDEP}]
x11-libs/libXi[${MULTILIB_USEDEP}]
x11-libs/libXinerama[${MULTILIB_USEDEP}]
+ x11-libs/libxkbcommon[${MULTILIB_USEDEP}]
x11-libs/libXrandr[${MULTILIB_USEDEP}]
- )"
+ )
+"
+RDEPEND="
+ ${DEPEND}
+ media-libs/libglvnd[X?,${MULTILIB_USEDEP}]
+ wayland? (
+ gui-libs/libdecor[${MULTILIB_USEDEP}]
+ )
+ X? (
+ x11-libs/libXrender[${MULTILIB_USEDEP}]
+ x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
+ )
+"
BDEPEND="
wayland? (
dev-util/wayland-scanner
kde-frameworks/extra-cmake-modules
- )"
+ )
+"
src_configure() {
local mycmakeargs=(