diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-09 10:40:04 +0100 |
commit | b426a5cef3f0ebe3389686a1c145a834d3a1e120 (patch) | |
tree | eee77f741af6979f620416c573e5203eab81c9c3 /gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild | |
parent | 97b176c73aa78bd33234884388e3978f520161c3 (diff) |
gentoo auto-resync : 09:09:2022 - 10:40:04
Diffstat (limited to 'gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild')
-rw-r--r-- | gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild new file mode 100644 index 000000000000..509644627d5d --- /dev/null +++ b/gui-libs/egl-wayland/egl-wayland-1.1.11-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson + +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}-r1.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm64" + +RDEPEND=" + dev-libs/wayland + !<x11-drivers/nvidia-drivers-470.57.02[wayland(-)]" +DEPEND=" + ${RDEPEND} + dev-libs/wayland-protocols + gui-libs/eglexternalplatform + >=media-libs/libglvnd-1.3.4 + x11-libs/libdrm" +BDEPEND="dev-util/wayland-scanner" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch +) + +src_install() { + meson_src_install + + insinto /usr/share/egl/egl_external_platform.d + doins "${FILESDIR}"/10_nvidia_wayland.json +} + +pkg_postinst() { + if has_version "<x11-drivers/nvidia-drivers-391"; then + ewarn "<=nvidia-drivers-390.xx may not work properly with this version of" + ewarn "egl-wayland, it is recommended to use nouveau drivers for wayland." + fi +} |