forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gui-libs/egl-wayland: add 1.1.11_p20230202
Got a report on IRC there was launching issues with firefox and releases from this package tend to be sporadic and not necessarily match the .run release, so let's try a snapshot (please report if it cause notable regressions over 1.1.11 as I don't test/use wayland much and may not notice). See https://bugzilla.mozilla.org/1759315 Signed-off-by: Ionen Wolkens <[email protected]>
- Loading branch information
Showing
2 changed files
with
47 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
DIST egl-wayland-1.1.11-r1.tar.gz 60207 BLAKE2B de73d66bd09a0ae626cfb8fd8be8dde4ea8828fa19ec2a811f40ed01e8d3e17c6363394497bba9c8d0fea6549b7fc64df9b75755bb584cdbccbb516791ea1e3c SHA512 f9c618a505e6307d139d1e6bfd0ad206c041ee4dc7e74ce60d2b102114c5d7b21a74c5aaff3aa97de2fa3297600a4e5edbff07906cd6acef7dd468086598690f | ||
DIST egl-wayland-1.1.11_p20230202.tar.gz 67029 BLAKE2B 8261f33c885a5b9673a463d624e253c75ae5afac3364a4de7d7d51a3d0b57495fd62324e3924bd4e649475a0afd0eaab3b02b3b3fe86b689411ed123ec85e018 SHA512 ec505a76ab2b847b1e7f27969be82d86acd40fe573eaa90271971f84b0c4b6195f0fccc5ec184dc58f2b6fb5591e4a05eca1265494e0a3ce39841ae84e86fed2 | ||
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
inherit meson | ||
|
||
HASH_EGLWAYLAND=30c5a951a849f835acc9f11ea4ca4e1d3380b7eb | ||
|
||
DESCRIPTION="EGLStream-based Wayland external platform" | ||
HOMEPAGE="https://github.com/NVIDIA/egl-wayland" | ||
SRC_URI="https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz -> ${P}.tar.gz" | ||
S="${WORKDIR}/${PN}-${HASH_EGLWAYLAND}" | ||
|
||
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 | ||
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 | ||
} |