Add 15_nvidia_gbm.json

This commit is contained in:
Leigh Scott 2021-10-16 21:38:54 +01:00
parent 0ccd65de69
commit ac389b048a
2 changed files with 13 additions and 2 deletions

6
15_nvidia_gbm.json Normal file
View File

@ -0,0 +1,6 @@
{
"file_format_version" : "1.0.0",
"ICD" : {
"library_path" : "libnvidia-egl-gbm.so.1"
}
}

View File

@ -1,12 +1,13 @@
Name: egl-wayland
Version: 1.1.9
Release: 1%{?dist}
Release: 2%{?dist}
Summary: Wayland EGL External Platform library
License: MIT
URL: https://github.com/NVIDIA/%{name}
Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
Source1: 10_nvidia_wayland.json
Source2: 15_nvidia_gbm.json
BuildRequires: meson
BuildRequires: libtool
@ -48,7 +49,7 @@ sed -i -e 's@>= 0.50@>= 0.47@g' meson.build
%install
%meson_install
install -m 0755 -d %{buildroot}%{_datadir}/egl/egl_external_platform.d/
install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
install -pm 0644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
find %{buildroot} -name '*.la' -exec rm -f {} ';'
@ -60,6 +61,7 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%license COPYING
%{_libdir}/*.so.*
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
%files devel
%{_libdir}/libnvidia-egl-wayland.so
@ -68,6 +70,9 @@ find %{buildroot} -name '*.la' -exec rm -f {} ';'
%{_datadir}/wayland-eglstream/
%changelog
* Sat Oct 16 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.9-2
- Add 15_nvidia_gbm.json
* Fri Oct 15 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.9-1
- Update to 1.1.9