summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-10-23 04:21:31 -0400
committerIonen Wolkens <ionen@gentoo.org>2024-10-23 05:07:35 -0400
commitd78c27483901259da74520748c213613d1114400 (patch)
treede06f67e0a55387e67251e8f3ebb9bee914a9988
parentdev-python/pypy-exe: Fix using dev-lang/pypy:2.7 to translate (diff)
downloadgentoo-d78c27483901259da74520748c213613d1114400.tar.gz
gentoo-d78c27483901259da74520748c213613d1114400.tar.bz2
gentoo-d78c27483901259da74520748c213613d1114400.zip
gui-libs/egl-x11: new package, add 1.0.0_pre20240919
Replaces >=nvidia-drivers-565 prebuilt libraries. No releases yet, "hopefully" will change as right now the pacakge is fairly new/experimental. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
-rw-r--r--gui-libs/egl-x11/Manifest1
-rw-r--r--gui-libs/egl-x11/egl-x11-1.0.0_pre20240919.ebuild37
-rw-r--r--gui-libs/egl-x11/metadata.xml11
3 files changed, 49 insertions, 0 deletions
diff --git a/gui-libs/egl-x11/Manifest b/gui-libs/egl-x11/Manifest
new file mode 100644
index 000000000000..7ab3b67d6f94
--- /dev/null
+++ b/gui-libs/egl-x11/Manifest
@@ -0,0 +1 @@
+DIST egl-x11-1.0.0_pre20240919.tar.gz 71007 BLAKE2B 10793ee854f1548630772579a745c6d12c6add7abea506663b3c196726544353a06eb45a17a42f4fe1c13cb4602750f43d267c8c2be541c31fa34e9aa0f4c7a4 SHA512 b902e39107ec1e6fcd5d10a2741bcb1d3930b947d36c4778d5c3c12d14086d92ad64742f5a5ff2bdfd36c1cc37ac634277221272cb8f5092ff165fcc2c2ecdff
diff --git a/gui-libs/egl-x11/egl-x11-1.0.0_pre20240919.ebuild b/gui-libs/egl-x11/egl-x11-1.0.0_pre20240919.ebuild
new file mode 100644
index 000000000000..4943c93611ea
--- /dev/null
+++ b/gui-libs/egl-x11/egl-x11-1.0.0_pre20240919.ebuild
@@ -0,0 +1,37 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+# no releases yet, should typically update hash in sync with nvidia bumps
+HASH_EGLX11=8aac36c712561ebfecc82af3db15c50cd0d573fb
+
+DESCRIPTION="X11/XCB EGL external platform library"
+HOMEPAGE="https://github.com/NVIDIA/egl-x11/"
+SRC_URI="
+ https://github.com/NVIDIA/egl-x11/archive/${HASH_EGLX11}.tar.gz
+ -> ${P}.tar.gz
+"
+S=${WORKDIR}/${PN}-${HASH_EGLX11}
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# 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
+"
diff --git a/gui-libs/egl-x11/metadata.xml b/gui-libs/egl-x11/metadata.xml
new file mode 100644
index 000000000000..099da4f176c1
--- /dev/null
+++ b/gui-libs/egl-x11/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">NVIDIA/egl-x11</remote-id>
+ </upstream>
+</pkgmetadata>