1 |
commit: 165177eebb539f0899cad4978092e891c3c688a7 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Sep 3 22:14:51 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Sep 3 23:32:56 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=165177ee |
7 |
|
8 |
gui-libs/egl-wayland: add 1.1.8 |
9 |
|
10 |
This version requires >=libglvnd-1.3.4 to build at all. |
11 |
|
12 |
As a bonus, restriction allows to drop the -DEGL_NO_X11 workaround. |
13 |
|
14 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
15 |
|
16 |
gui-libs/egl-wayland/Manifest | 1 + |
17 |
gui-libs/egl-wayland/egl-wayland-1.1.8.ebuild | 42 +++++++++++++++++++++++++++ |
18 |
2 files changed, 43 insertions(+) |
19 |
|
20 |
diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest |
21 |
index 9f822752379..d6e204049ff 100644 |
22 |
--- a/gui-libs/egl-wayland/Manifest |
23 |
+++ b/gui-libs/egl-wayland/Manifest |
24 |
@@ -1 +1,2 @@ |
25 |
DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b SHA512 edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af |
26 |
+DIST egl-wayland-1.1.8.tar.gz 53776 BLAKE2B 452f56a54abb2db11e9041b8c21bc0cd57e1583449bcbc7c4fed90c1f7504102598d72d5bf4c1582392f609579bd84cec5b42d078c6b12843f15d56484982c04 SHA512 2308789f68447e8993acca88b86d21787b235de4c457aa66d1b49005ac7b159a07c4d6666b9e1beb490572b06da6b83283cd936e7beed140844955edca6f2338 |
27 |
|
28 |
diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.8.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.8.ebuild |
29 |
new file mode 100644 |
30 |
index 00000000000..5a213c283b8 |
31 |
--- /dev/null |
32 |
+++ b/gui-libs/egl-wayland/egl-wayland-1.1.8.ebuild |
33 |
@@ -0,0 +1,42 @@ |
34 |
+# Copyright 1999-2021 Gentoo Authors |
35 |
+# Distributed under the terms of the GNU General Public License v2 |
36 |
+ |
37 |
+EAPI=8 |
38 |
+ |
39 |
+inherit meson |
40 |
+ |
41 |
+DESCRIPTION="EGLStream-based Wayland external platform" |
42 |
+HOMEPAGE="https://github.com/NVIDIA/egl-wayland" |
43 |
+SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${PV}.tar.gz -> ${P}.tar.gz" |
44 |
+ |
45 |
+LICENSE="MIT" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64" |
48 |
+ |
49 |
+RDEPEND=" |
50 |
+ dev-libs/wayland |
51 |
+ !<x11-drivers/nvidia-drivers-470.57.02[wayland(-)]" |
52 |
+DEPEND=" |
53 |
+ ${RDEPEND} |
54 |
+ dev-libs/wayland-protocols |
55 |
+ gui-libs/eglexternalplatform |
56 |
+ >=media-libs/libglvnd-1.3.4" |
57 |
+BDEPEND="dev-util/wayland-scanner" |
58 |
+ |
59 |
+PATCHES=( |
60 |
+ "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch |
61 |
+) |
62 |
+ |
63 |
+src_install() { |
64 |
+ meson_src_install |
65 |
+ |
66 |
+ insinto /usr/share/egl/egl_external_platform.d |
67 |
+ doins "${FILESDIR}"/10_nvidia_wayland.json |
68 |
+} |
69 |
+ |
70 |
+pkg_postinst() { |
71 |
+ if has_version "<x11-drivers/nvidia-drivers-391"; then |
72 |
+ ewarn "<=nvidia-drivers-390.xx may not work properly with this version of" |
73 |
+ ewarn "egl-wayland, it is recommended to use nouveau drivers for wayland." |
74 |
+ fi |
75 |
+} |