From 86b56d2c66b0ad21cd449bfefa53c22c49ff4a76 Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Tue, 23 Jul 2024 10:01:46 -0400 Subject: gui-libs/egl-gbm: add multilib support To match NVIDIA that started shipping egl-gbm/wayland 32bit variant in >=nvidia-drivers-560 to let 32bit applications work right on wayland. ...albeit this is rather uncommon given most 32bit applications would be using xwayland at best, but do not want an unexpected setup that may confuse some things like steam or wine's new wayland support. Signed-off-by: Ionen Wolkens --- gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild | 38 ++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild (limited to 'gui-libs') diff --git a/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild b/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild new file mode 100644 index 000000000000..4ec0bbc9775c --- /dev/null +++ b/gui-libs/egl-gbm/egl-gbm-1.1.1-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson-multilib + +DESCRIPTION="GBM EGL external platform library" +HOMEPAGE="https://github.com/NVIDIA/egl-gbm/" +SRC_URI=" + https://github.com/NVIDIA/egl-gbm/archive/${PV}.tar.gz + -> ${P}.tar.gz +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64" + +RDEPEND=" + media-libs/mesa[gbm(+),${MULTILIB_USEDEP}] + x11-libs/libdrm[${MULTILIB_USEDEP}] +" +DEPEND=" + ${RDEPEND} + >=gui-libs/eglexternalplatform-1.1-r1 + media-libs/libglvnd +" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.0-werror.patch +) + +src_install() { + meson-multilib_src_install + + insinto /usr/share/egl/egl_external_platform.d + doins "${FILESDIR}"/15_nvidia_gbm.json +} -- cgit v1.2.3-65-gdbad