diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-06-12 11:30:49 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-06-12 11:48:22 -0400 |
commit | f1fc990af0c81109f3cd34c7ad6e2bd2ba85215c (patch) | |
tree | dfcec7192b26e7da363ca8f1b9bd5779aaf4c184 /gui-libs/egl-wayland | |
parent | sci-geosciences/routino: fix distutils-r1 usage (diff) | |
download | gentoo-f1fc990af0c81109f3cd34c7ad6e2bd2ba85215c.tar.gz gentoo-f1fc990af0c81109f3cd34c7ad6e2bd2ba85215c.tar.bz2 gentoo-f1fc990af0c81109f3cd34c7ad6e2bd2ba85215c.zip |
gui-libs/egl-wayland: add 1.1.10 unkeyworded
See ebuild comment, will revisit next nvidia-drivers bump to
see if it works and likely depend on >=1.1.10 then (albeit pure
wayland vulkan is broken with >=515 either way at the moment).
Also add libdrm depend-only for newly used drm_fourcc.h.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'gui-libs/egl-wayland')
-rw-r--r-- | gui-libs/egl-wayland/Manifest | 1 | ||||
-rw-r--r-- | gui-libs/egl-wayland/egl-wayland-1.1.10.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/gui-libs/egl-wayland/Manifest b/gui-libs/egl-wayland/Manifest index d97deb02bfc5..a509c388dc4f 100644 --- a/gui-libs/egl-wayland/Manifest +++ b/gui-libs/egl-wayland/Manifest @@ -1,2 +1,3 @@ +DIST egl-wayland-1.1.10.tar.gz 60058 BLAKE2B c24cc0d6e45e43868140d4e16ad5092a951bebb71fa0d65e11ef8d4273d85589a435e6d29b73b665630b5a7e28fdbd8e1e02e5eb43eed7d06862caabae7146e9 SHA512 163ee1ae1e629c5d32ffdf335b35ba309d35c009f93a8391e78dcb710a86f64e017a37c1e77325c6f4782c8a5fe048ae44ad1456bd3a20ea651b4192c9102e3c DIST egl-wayland-1.1.7.tar.gz 48681 BLAKE2B eebbd0e36045c50b39ef70292156f5cd137a51af2169b56a35d318d90ade3d4a5b94206d86246d52fda0c6c093ff25e389b1a3ccbe60595dc9661d199e30f33b SHA512 edc81d9f2c617587044d5f9d35b3e355db8544e8fa1d861c1b92a5a11bc1af7d994ca8abd49ce6f462a1971f20296b4c757bdf1df0d2bfc981cdafaa839f12af DIST egl-wayland-1.1.9_p20211123.tar.gz 58900 BLAKE2B a5a08df06e302b573f1036264495e7b29ec4d3def9be0e9b8037206a42aab5c18d78b79cc3f3ffeede9708916e644f8090fadf34318429cf0040c3623da28ce1 SHA512 8de18c8c0c38ca672688a5197be20534cc90b0fecae9ea2f3d3bc851d5b50d3f148a4ce97b835a9576251c8273ea21f82f2c9694cf2b7bba28fa3b53850c43b2 diff --git a/gui-libs/egl-wayland/egl-wayland-1.1.10.ebuild b/gui-libs/egl-wayland/egl-wayland-1.1.10.ebuild new file mode 100644 index 000000000000..efb760761a04 --- /dev/null +++ b/gui-libs/egl-wayland/egl-wayland-1.1.10.ebuild @@ -0,0 +1,45 @@ +# 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}.tar.gz" + +LICENSE="MIT" +SLOT="0" +# unkeyworded for now as non-xwayland wayland vulkan seems to miss a symbol +# that is likely from a yet unreleased libnvidia-vulkan-producer.so +#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 +} |