summaryrefslogtreecommitdiff
path: root/gui-libs
diff options
context:
space:
mode:
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/egl-wayland/Manifest1
-rw-r--r--gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild47
-rw-r--r--gui-libs/egl-x11/Manifest1
-rw-r--r--gui-libs/egl-x11/egl-x11-1.0.4.ebuild45
4 files changed, 94 insertions, 0 deletions
diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
index cb0df5f63faa..29b4460608f7 100644
--- a/gui-libs/egl-wayland/Manifest
+++ b/gui-libs/egl-wayland/Manifest
@@ -1 +1,2 @@
DIST egl-wayland-1.1.20.tar.gz 76168 BLAKE2B dc06a04a3a7e909c403619a98c484ff17fd03d47f6510a41d9fe9e19233d82ef99cfaf3439a2af39ab95a48575d4a3d42471bbeb53916f91f033d1fad897e316 SHA512 aed74dd76de1a0ca34264293e2ce0a0969f8434b77f978322a7fa6866e835f0f7f0735964c2c9d95533a342fc6f50e77d0c6ac52ccf5387b14972a07627eaee8
+DIST egl-wayland-1.1.21.tar.gz 76374 BLAKE2B c16ff00b26bb94a55ee20dc8b89d3d8b08e684f7bf6f7ceeb23fe22158222e36c8642aa20995d43daab33f58662a56a56311828533a09fc1eef608403cf5bb23 SHA512 52638b17b339201862942bd7e3f91254c1acc3e68cbe21778a29ae88e037dc589b0ba7e50a2aad9b43bd06dcb6a2b889292cd10f4d5b04c00afe5d59d9594b6f
diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild
new file mode 100644
index 000000000000..fc1e96d8cb92
--- /dev/null
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.21.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="NVIDIA wayland EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland/"
+
+if [[ ${PV} == *_pre* ]]; then
+ # happens often that nvidia-drivers ships with a (yet) unreleased
+ # version and we need to ship a snapshot to provide the same fixes
+ HASH_EGLWAYLAND=
+ SRC_URI="
+ https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz
+ -> ${P}.tar.gz
+ "
+ S=${WORKDIR}/${PN}-${HASH_EGLWAYLAND}
+else
+ SRC_URI="
+ https://github.com/NVIDIA/egl-wayland/archive/refs/tags/${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
+fi
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+ dev-libs/wayland[${MULTILIB_USEDEP}]
+ x11-libs/libdrm[${MULTILIB_USEDEP}]
+"
+DEPEND="
+ ${RDEPEND}
+ >=dev-libs/wayland-protocols-1.34
+ >=gui-libs/eglexternalplatform-1.1-r1
+ media-libs/libglvnd
+"
+BDEPEND="
+ dev-util/wayland-scanner
+"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch
+)
diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest
index 42da0ca06156..9a024d3900eb 100644
--- a/gui-libs/egl-x11/Manifest
+++ b/gui-libs/egl-x11/Manifest
@@ -1,3 +1,4 @@
DIST egl-x11-1.0.3.tar.gz 72063 BLAKE2B 42645b2b31040b74fa6e7043b4ec9eee8d467e5095c6d876b2672bb0a9e003e1eeb968cd5c6ae22ad34f3945b98382632ab211222647b4171cb2b2d9874e8fe3 SHA512 7e81ebc7c567e2198abc18e970e8f132fd1862b2f847f48cd8fe3d51703db08ced4e4cc05b99cb2d458c4341f584d45551003516000f9cb49ae77f623be06e36
+DIST egl-x11-1.0.4.tar.gz 72446 BLAKE2B 20b8a426eee275810d098906bb88c90770b315d350ea693f6827b933474d4b9bbefa1fa8ee4d222f0706914ad81056710d9a5c6a77bb43bbf80a7ad829a4a1a2 SHA512 60bc7252da78b0443423dbaff448aa8893c787b31c02193030c66bbc87342290baf33e0213b1c5ffc073d757867a448ec77156be02381b897991ff3e4a47ff22
DIST egl-x11-1.0.4_pre20251008.tar.gz 72132 BLAKE2B 5dd529251d00ef345e9c75d04280d82f88aeec614ae8b2370f285c0590510a33f7e80bb88e854a8979806f1afb8d0d0a19cd61dc274cdbc0a87509c5c29ec671 SHA512 94f7e6f806d1c81ba5341b8649678367e660777da43095a0fa2bcfc9210dcab44aef394ee27501a935c70f7084fccfdae93bf74b3547e9f26d2f6d02195433df
DIST egl-x11-1.0.4_pre20251111.tar.gz 72515 BLAKE2B b81c88f458cc03d77743f8e2c347fa9526259142ecb10bf9068ea1fcf4818ee1dbfe01bb874032141d13042ffb98c860f1f4275a044f225df156457b290fb47b SHA512 2808a3e80279199a3bdfc38439105985b3b32a4f03dc3caf562aa2b4799cfbbb08a3e5fc14815cc4ef8324a21a4764c8278a97ebc2ccf742b58ba95658f747bd
diff --git a/gui-libs/egl-x11/egl-x11-1.0.4.ebuild b/gui-libs/egl-x11/egl-x11-1.0.4.ebuild
new file mode 100644
index 000000000000..d1d0650785ad
--- /dev/null
+++ b/gui-libs/egl-x11/egl-x11-1.0.4.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="NVIDIA X11/XCB EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-x11/"
+
+if [[ ${PV} == *_pre* ]]; then
+ # happens often that nvidia-drivers ships with a (yet) unreleased
+ # version and we need to ship a snapshot to provide the same fixes
+ HASH_EGLX11=
+ SRC_URI="
+ https://github.com/NVIDIA/egl-x11/archive/${HASH_EGLX11}.tar.gz
+ -> ${P}.tar.gz
+ "
+ S=${WORKDIR}/${PN}-${HASH_EGLX11}
+else
+ SRC_URI="
+ https://github.com/NVIDIA/egl-x11/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz
+ "
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+# wrt blocker, may or may not cause problems if present with <560
+# drivers, and collides with <565.57.01-r2
+RDEPEND="
+ media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
+ x11-libs/libX11[${MULTILIB_USEDEP}]
+ x11-libs/libdrm[${MULTILIB_USEDEP}]
+ x11-libs/libxcb:=[${MULTILIB_USEDEP}]
+ !<x11-drivers/nvidia-drivers-565.57.01-r2
+"
+DEPEND="
+ ${RDEPEND}
+ >=gui-libs/eglexternalplatform-1.2
+ media-libs/libglvnd
+ x11-base/xorg-proto
+"