1 |
commit: b8824e2a092b6021049d63dc14c74ed104ce3e9f |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Mar 2 17:45:05 2023 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Mar 2 18:04:48 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8824e2a |
7 |
|
8 |
gui-libs/egl-wayland: add 1.1.11_p20230202 |
9 |
|
10 |
Got a report on IRC there was launching issues with firefox |
11 |
and releases from this package tend to be sporadic and not |
12 |
necessarily match the .run release, so let's try a snapshot |
13 |
(please report if it cause notable regressions over 1.1.11 |
14 |
as I don't test/use wayland much and may not notice). |
15 |
|
16 |
See https://bugzilla.mozilla.org/1759315 |
17 |
|
18 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
19 |
|
20 |
gui-libs/egl-wayland/Manifest | 1 + |
21 |
.../egl-wayland-1.1.11_p20230202.ebuild | 46 ++++++++++++++++++++++ |
22 |
2 files changed, 47 insertions(+) |
23 |
|
24 |
diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest |
25 |
index 5fe680f37293..1b44d9fc2974 100644 |
26 |
--- a/gui-libs/egl-wayland/Manifest |
27 |
+++ b/gui-libs/egl-wayland/Manifest |
28 |
@@ -1,3 +1,4 @@ |
29 |
DIST egl-wayland-1.1.11-r1.tar.gz 60207 BLAKE2B de73d66bd09a0ae626cfb8fd8be8dde4ea8828fa19ec2a811f40ed01e8d3e17c6363394497bba9c8d0fea6549b7fc64df9b75755bb584cdbccbb516791ea1e3c SHA512 f9c618a505e6307d139d1e6bfd0ad206c041ee4dc7e74ce60d2b102114c5d7b21a74c5aaff3aa97de2fa3297600a4e5edbff07906cd6acef7dd468086598690f |
30 |
+DIST egl-wayland-1.1.11_p20230202.tar.gz 67029 BLAKE2B 8261f33c885a5b9673a463d624e253c75ae5afac3364a4de7d7d51a3d0b57495fd62324e3924bd4e649475a0afd0eaab3b02b3b3fe86b689411ed123ec85e018 SHA512 ec505a76ab2b847b1e7f27969be82d86acd40fe573eaa90271971f84b0c4b6195f0fccc5ec184dc58f2b6fb5591e4a05eca1265494e0a3ce39841ae84e86fed2 |
31 |
DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b SHA512 edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af |
32 |
DIST egl-wayland-1.1.9_p20211123.tar.gz 58900 BLAKE2B a5a08df06e302b573f1036264495e7b29ec4d3def9be0e9b8037206a42aab5c18d78b79cc3f3ffeede9708916e644f8090fadf34318429cf0040c3623da28ce1 SHA512 8de18c8c0c38ca672688a5197be20534cc90b0fecae9ea2f3d3bc851d5b50d3f148a4ce97b835a9576251c8273ea21f82f2c9694cf2b7bba28fa3b53850c43b2 |
33 |
|
34 |
diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202.ebuild |
35 |
new file mode 100644 |
36 |
index 000000000000..49753404dd6f |
37 |
--- /dev/null |
38 |
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.11_p20230202.ebuild |
39 |
@@ -0,0 +1,46 @@ |
40 |
+# Copyright 1999-2023 Gentoo Authors |
41 |
+# Distributed under the terms of the GNU General Public License v2 |
42 |
+ |
43 |
+EAPI=8 |
44 |
+ |
45 |
+inherit meson |
46 |
+ |
47 |
+HASH_EGLWAYLAND=30c5a951a849f835acc9f11ea4ca4e1d3380b7eb |
48 |
+ |
49 |
+DESCRIPTION="EGLStream-based Wayland external platform" |
50 |
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland" |
51 |
+SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz -> ${P}.tar.gz" |
52 |
+S="${WORKDIR}/${PN}-${HASH_EGLWAYLAND}" |
53 |
+ |
54 |
+LICENSE="MIT" |
55 |
+SLOT="0" |
56 |
+KEYWORDS="~amd64 ~arm64" |
57 |
+ |
58 |
+RDEPEND=" |
59 |
+ dev-libs/wayland |
60 |
+ !<x11-drivers/nvidia-drivers-470.57.02[wayland(-)]" |
61 |
+DEPEND=" |
62 |
+ ${RDEPEND} |
63 |
+ dev-libs/wayland-protocols |
64 |
+ gui-libs/eglexternalplatform |
65 |
+ media-libs/libglvnd |
66 |
+ x11-libs/libdrm" |
67 |
+BDEPEND="dev-util/wayland-scanner" |
68 |
+ |
69 |
+PATCHES=( |
70 |
+ "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch |
71 |
+) |
72 |
+ |
73 |
+src_install() { |
74 |
+ meson_src_install |
75 |
+ |
76 |
+ insinto /usr/share/egl/egl_external_platform.d |
77 |
+ doins "${FILESDIR}"/10_nvidia_wayland.json |
78 |
+} |
79 |
+ |
80 |
+pkg_postinst() { |
81 |
+ if has_version "<x11-drivers/nvidia-drivers-391"; then |
82 |
+ ewarn "<=nvidia-drivers-390.xx may not work properly with this version of" |
83 |
+ ewarn "egl-wayland, it is recommended to use nouveau drivers for wayland." |
84 |
+ fi |
85 |
+} |