From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A61FD1382C5 for ; Tue, 18 May 2021 19:01:16 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D223AE075F; Tue, 18 May 2021 19:01:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B89D2E075F for ; Tue, 18 May 2021 19:01:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF9D633FAD1 for ; Tue, 18 May 2021 19:01:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2AE7A78E for ; Tue, 18 May 2021 19:01:13 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1621364449.855c0465f04b4148c69495fee24a64c70859bf11.soap@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/egl-wayland/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-libs/egl-wayland/Manifest gui-libs/egl-wayland/egl-wayland-1.1.7.ebuild X-VCS-Directories: gui-libs/egl-wayland/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: 855c0465f04b4148c69495fee24a64c70859bf11 X-VCS-Branch: master Date: Tue, 18 May 2021 19:01:13 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 783ef1b7-fcd0-4b94-97c6-d69654e398e2 X-Archives-Hash: 6b1103bc1307484fba507c22b63cbcc9 commit: 855c0465f04b4148c69495fee24a64c70859bf11 Author: Ionen Wolkens gmail com> AuthorDate: Tue May 18 19:00:49 2021 +0000 Commit: David Seifert gentoo org> CommitDate: Tue May 18 19:00:49 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=855c0465 gui-libs/egl-wayland: add 1.1.7 Signed-off-by: Ionen Wolkens gmail.com> Signed-off-by: David Seifert gentoo.org> gui-libs/egl-wayland/Manifest | 1 + gui-libs/egl-wayland/egl-wayland-1.1.7.ebuild | 60 +++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest index 8789cb0974d..c5ab0422ed1 100644 --- a/gui-libs/egl-wayland/Manifest +++ b/gui-libs/egl-wayland/Manifest @@ -1 +1,2 @@ DIST egl-wayland-1.1.6.tar.gz 48674 BLAKE2B 66f58d4b841ebaaec6c0711e0dae0b3c774a7b0206f9cfd4d9e94a2c05688d563fddbbf9a60247980df00c3c493147e292bc536e2eb56de962f3b34c6215e026 SHA512 81fd3be3f49ad012efd31189d85666e869653f1f4004de4103f4ad13b7fda036cef432d1e30e33664ae423092dc1b86cfd2773d6542bb09d7a74720ba14e0fa4 +DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b SHA512 edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.7.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.7.ebuild new file mode 100644 index 00000000000..01dea054a2c --- /dev/null +++ b/gui-libs/egl-wayland/egl-wayland-1.1.7.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic meson + +DESCRIPTION="EGLStream-based Wayland external platform (for NVIDIA)" +HOMEPAGE="https://github.com/NVIDIA/egl-wayland" +SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-libs/wayland + !x11-drivers/nvidia-drivers[wayland(-)]" +DEPEND=" + ${RDEPEND} + gui-libs/eglexternalplatform + media-libs/libglvnd" +BDEPEND="dev-util/wayland-scanner" + +PATCHES=( + "${FILESDIR}"/${PN}-1.1.6-remove-werror.patch +) + +src_configure() { + # EGLStream is not intended for X11, always build without (bug #777558) + append-cppflags -DEGL_NO_X11 + + meson_src_configure +} + +src_install() { + meson_src_install + + insinto /usr/share/egl/egl_external_platform.d + doins "${FILESDIR}"/10_nvidia_wayland.json +} + +pkg_postinst() { + if [[ ! ${REPLACING_VERSIONS} ]]; then + elog "To use EGLStream with x11-drivers/nvidia-drivers, it is necessary to" + elog "load the nvidia-drm module with experimental nvidia-drm.modeset=1." + elog + elog "Can be accomplished by:" + elog " echo 'options nvidia-drm modeset=1' > ${EROOT}/etc/modprobe.d/nvidia-drm.conf" + elog "...then reloading the module." + elog + elog "Note that EGLStream requires support from the wayland compositor and" + elog "is not currently supported by many popular options such as gui-wm/sway." + fi + + if has_version "