blob: f53e71c2435ddeaf9cd6f2a2580e2cc0bd541045 (
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
|
# Copyright 2021-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson-multilib
DESCRIPTION="NVIDIA GBM EGL external platform library"
HOMEPAGE="https://github.com/NVIDIA/egl-gbm/"
SRC_URI="
https://github.com/NVIDIA/egl-gbm/archive/${PV}.tar.gz
-> ${P}.tar.gz
"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm64"
RDEPEND="
media-libs/mesa[gbm(+),${MULTILIB_USEDEP}]
x11-libs/libdrm[${MULTILIB_USEDEP}]
"
DEPEND="
${RDEPEND}
>=gui-libs/eglexternalplatform-1.1-r1
media-libs/libglvnd
"
PATCHES=(
"${FILESDIR}"/${PN}-1.1.0-werror.patch
)
src_install() {
meson-multilib_src_install
insinto /usr/share/egl/egl_external_platform.d
doins "${FILESDIR}"/15_nvidia_gbm.json
}
|