commit:     6d202dce9ae4cdf11f811c2774b0892a09e844ee
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri Aug  9 22:01:31 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 22:08:08 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d202dce

gui-libs/egl-wayland: add 1.1.15

There may still be issues but situation should be a lot better than
it was with 1.1.14, so trying to add this unmasked.

If needed, one can (newly) set __NV_DISABLE_EXPLICIT_SYNC=1 to disable
that rather than downgrade to 1.1.13.1.

Also note that explicit sync is not enabled unless use the (currenty)
unkeyworded 560 drivers. As far as I can tell 1.1.15 does nothing
special if used with older drivers and works normally.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 gui-libs/egl-wayland/Manifest                  |  1 +
 gui-libs/egl-wayland/egl-wayland-1.1.15.ebuild | 42 ++++++++++++++++++++++++++
 2 files changed, 43 insertions(+)

diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
index e3228d2ca2a8..ab68aa74150d 100644
--- a/gui-libs/egl-wayland/Manifest
+++ b/gui-libs/egl-wayland/Manifest
@@ -1,3 +1,4 @@
 DIST egl-wayland-1.1.13.1.tar.gz 68181 BLAKE2B 
12587c24828570b5ad399042bb339b27c4d17e14896398d331970b32020956f12d56155e6b97f82c0e7c5f7aa5ad962b923c37ff1609f5384a99bb83e02c2dd7
 SHA512 
264373b22bab2a26dcd8391308ae24c0afe31168c318fd8fdf74a9958bc41658f9295645c4d91e395b5ab472cdf9dcf5160c448ba54e0aa8eccf04c294ffdb5b
 DIST egl-wayland-1.1.13.tar.gz 68153 BLAKE2B 
08b576189112ae36b80a6d090f51b7c3cc40ee5bc9c1b0d22ef975ab13a6a30237ef5daafa21b01a62b5e8ae3f9f58fc0bb38a5216336c7dad8edfcc95119646
 SHA512 
7859d4bc8919c2028bd55425ca378bb81304c566bd9f7c1d768d810a0ee7a7531d297157fe331d1d0d6b5e16df00a9811e1d517572408734ec2321c376beda5a
 DIST egl-wayland-1.1.14.tar.gz 73721 BLAKE2B 
a3f5cdc259b8cbecd07c8dc513df06b8dbebc3ac7412c2533026f9ebdd7e6f0aa8ffa8b343a972aded6ada47a371b51128c28087f5d2909caa9a936fa6082665
 SHA512 
7b668ca94eefbef3d81b6b8f54fb1751fb2df70fcd281be69d19d940342801f085f77d81d58cbd3b911131c69f13c37d523da63a55e691ccfab2d776e10e3560
+DIST egl-wayland-1.1.15.tar.gz 74483 BLAKE2B 
f457f27a70b132fa753c688711bb03301d7c22bc1bf039fa6dbf87f8a288572fdd4feb9b5da9e5545d06be95b8c3b3259a82189af14a5ae036f72cf0d01a8a1d
 SHA512 
714f3d52dc1a884adc7d4942bc2486774637f61a05e74b3f00cc9389fadb1328b7fc87b31be9f49bd5be65e43bd6e6dc5341e2e7755ff6549dabaafcd2c50a3c

diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.15.ebuild 
b/gui-libs/egl-wayland/egl-wayland-1.1.15.ebuild
new file mode 100644
index 000000000000..93079328f2a5
--- /dev/null
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.15.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson-multilib
+
+DESCRIPTION="EGLStream-based Wayland external platform"
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland/";
+SRC_URI="
+       https://github.com/NVIDIA/egl-wayland/archive/refs/tags/${PV}.tar.gz
+               -> ${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+       dev-libs/wayland[${MULTILIB_USEDEP}]
+       x11-libs/libdrm[${MULTILIB_USEDEP}]
+"
+DEPEND="
+       ${RDEPEND}
+       dev-libs/wayland-protocols
+       >=gui-libs/eglexternalplatform-1.1-r1
+       media-libs/libglvnd
+"
+BDEPEND="
+       dev-util/wayland-scanner
+"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch
+)
+
+src_install() {
+       meson-multilib_src_install
+
+       insinto /usr/share/egl/egl_external_platform.d
+       doins "${FILESDIR}"/10_nvidia_wayland.json
+}

Reply via email to