Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/egl-wayland/
Date: Wed, 23 Jun 2021 02:24:57
Message-Id: 1624414958.d0f92fdd1b674973abe64e22829ffa539f1abecf.ionen@gentoo
1 commit: d0f92fdd1b674973abe64e22829ffa539f1abecf
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 22 23:45:58 2021 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jun 23 02:22:38 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0f92fdd
7
8 gui-libs/egl-wayland: drop 1.1.6
9
10 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
11
12 gui-libs/egl-wayland/Manifest | 1 -
13 gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild | 60 ---------------------------
14 2 files changed, 61 deletions(-)
15
16 diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest
17 index c5ab0422ed1..9f822752379 100644
18 --- a/gui-libs/egl-wayland/Manifest
19 +++ b/gui-libs/egl-wayland/Manifest
20 @@ -1,2 +1 @@
21 -DIST egl-wayland-1.1.6.tar.gz 48674 BLAKE2B 66f58d4b841ebaaec6c0711e0dae0b3c774a7b0206f9cfd4d9e94a2c05688d563fddbbf9a60247980df00c3c493147e292bc536e2eb56de962f3b34c6215e026 SHA512 81fd3be3f49ad012efd31189d85666e869653f1f4004de4103f4ad13b7fda036cef432d1e30e33664ae423092dc1b86cfd2773d6542bb09d7a74720ba14e0fa4
22 DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b SHA512 edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af
23
24 diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
25 deleted file mode 100644
26 index 793b2d29418..00000000000
27 --- a/gui-libs/egl-wayland/egl-wayland-1.1.6.ebuild
28 +++ /dev/null
29 @@ -1,60 +0,0 @@
30 -# Copyright 1999-2021 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -inherit flag-o-matic meson
36 -
37 -DESCRIPTION="EGLStream-based Wayland external platform (for NVIDIA)"
38 -HOMEPAGE="https://github.com/NVIDIA/egl-wayland"
39 -SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${PV}.tar.gz -> ${P}.tar.gz"
40 -
41 -LICENSE="MIT"
42 -SLOT="0"
43 -KEYWORDS="amd64"
44 -
45 -RDEPEND="
46 - dev-libs/wayland
47 - !x11-drivers/nvidia-drivers[wayland(-)]"
48 -DEPEND="
49 - ${RDEPEND}
50 - gui-libs/eglexternalplatform
51 - media-libs/libglvnd"
52 -BDEPEND="dev-util/wayland-scanner"
53 -
54 -PATCHES=(
55 - "${FILESDIR}"/${P}-remove-werror.patch
56 -)
57 -
58 -src_configure() {
59 - # EGLStream is not intended for X11, always build without (bug #777558)
60 - append-cppflags -DEGL_NO_X11
61 -
62 - meson_src_configure
63 -}
64 -
65 -src_install() {
66 - meson_src_install
67 -
68 - insinto /usr/share/egl/egl_external_platform.d
69 - doins "${FILESDIR}"/10_nvidia_wayland.json
70 -}
71 -
72 -pkg_postinst() {
73 - if [[ ! ${REPLACING_VERSIONS} ]]; then
74 - elog "To use EGLStream with x11-drivers/nvidia-drivers, it is necessary to"
75 - elog "load the nvidia-drm module with experimental nvidia-drm.modeset=1."
76 - elog
77 - elog "Can be accomplished by:"
78 - elog " echo 'options nvidia-drm modeset=1' > ${EROOT}/etc/modprobe.d/nvidia-drm.conf"
79 - elog "...then reloading the module."
80 - elog
81 - elog "Note that EGLStream requires support from the wayland compositor and"
82 - elog "is not currently supported by many popular options such as gui-wm/sway."
83 - fi
84 -
85 - if has_version "<x11-drivers/nvidia-drivers-391"; then
86 - ewarn "<=nvidia-drivers-390.xx may not work properly with this version of"
87 - ewarn "egl-wayland, it is recommended to use nouveau drivers for wayland."
88 - fi
89 -}