commit:     d78c27483901259da74520748c213613d1114400
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 23 08:21:31 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Oct 23 09:07:35 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d78c2748

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 <AT> gentoo.org>

 gui-libs/egl-x11/Manifest                         |  1 +
 gui-libs/egl-x11/egl-x11-1.0.0_pre20240919.ebuild | 37 +++++++++++++++++++++++
 gui-libs/egl-x11/metadata.xml                     | 11 +++++++
 3 files changed, 49 insertions(+)

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>[email protected]</email>
+               <name>Ionen Wolkens</name>
+       </maintainer>
+       <upstream>
+               <remote-id type="github">NVIDIA/egl-x11</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to