egl-wayland: package init

This commit is contained in:
guoxiaoqi 2019-12-17 11:40:27 +08:00
parent 6e30fb317f
commit e4bd13e151
3 changed files with 71 additions and 0 deletions

6
10_nvidia_wayland.json Normal file
View File

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

65
egl-wayland.spec Normal file
View File

@ -0,0 +1,65 @@
%global commit 1676d1d2bfe646fb3ecbba29a85db529dd399493
Name: egl-wayland
Version: 1.1.0
Release: 0.3
Summary: Wayland EGL External Platform library
License: MIT
URL: https://github.com/NVIDIA/%{name}
Source0: %url/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
Source1: 10_nvidia_wayland.json
BuildRequires: meson libtool eglexternalplatform-devel mesa-libEGL-devel wayland-devel
Requires: libglvnd-egl%{?_isa}
%description
This is a work-in-progress implementation of a EGL External Platform library
to add client-side Wayland support to EGL on top of EGLDevice and EGLStream
families of extensions.
This library implements an EGL External Platform interface to work along with
EGL drivers that support the external platform mechanism.
%package devel
Summary: Development files for %{name}
Requires: %{name}%{?_isa} = %{version}-%{release}
%description devel
Development files for %{name}.
%prep
%autosetup -n %{name}-%{commit}
%build
%meson
%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/
%delete_la
%ldconfig_scriptlets
%files
%license COPYING
%doc README.md
%{_libdir}/*.so.*
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
%files devel
%{_libdir}/libnvidia-egl-wayland.so
%{_datadir}/pkgconfig/wayland-eglstream.pc
%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc
%{_datadir}/wayland-eglstream/
%changelog
* Wed Dec 11 2019 chengquan<chengquan3@huawei.com> - 1.1.0-0.3
- Type:enhancement
- ID:NA
- SUG:NA
- DESC:update package release
* Wed Dec 4 2019 openEuler Buildteam <buildteam@openeuler.org> - 1.1.0-0.2.1676d1d2bfe646fb3ecbba29a85db529dd399493
- Package init