blob: 3051ad96d8f6ce5772ec6b8d73790beb401e9c36 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson-multilib
DESCRIPTION="NVIDIA wayland EGL external platform library"
HOMEPAGE="https://github.com/NVIDIA/egl-wayland/"
if [[ ${PV} == *_pre* ]]; then
# happens often that nvidia-drivers ships with a (yet) unreleased
# version and we need to ship a snapshot to provide the same fixes
HASH_EGLWAYLAND=
SRC_URI="
https://github.com/NVIDIA/egl-wayland/archive/${HASH_EGLWAYLAND}.tar.gz
-> ${P}.tar.gz
"
S=${WORKDIR}/${PN}-${HASH_EGLWAYLAND}
else
SRC_URI="
https://github.com/NVIDIA/egl-wayland/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz
"
fi
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64"
RDEPEND="
dev-libs/wayland[${MULTILIB_USEDEP}]
x11-libs/libdrm[${MULTILIB_USEDEP}]
"
DEPEND="
${RDEPEND}
>=dev-libs/wayland-protocols-1.49
>=gui-libs/eglexternalplatform-1.1-r1
media-libs/libglvnd[${MULTILIB_USEDEP}]
"
BDEPEND="
dev-util/wayland-scanner
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.6-remove-werror.patch
)
|