Initial commit

This commit is contained in:
leigh123linux 2017-02-03 13:23:50 +00:00
parent 438bd9cf51
commit 2d12833da7
4 changed files with 84 additions and 0 deletions

1
.gitignore vendored
View File

@ -0,0 +1 @@
/egl-wayland-743d702fac0feb02d52ff34deadecb32284f18ea.tar.gz

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"
}
}

76
egl-wayland.spec Normal file
View File

@ -0,0 +1,76 @@
%global commit 743d702fac0feb02d52ff34deadecb32284f18ea
%global date 20170120
%global shortcommit0 %(c=%{commit}; echo ${c:0:7})
Name: egl-wayland
Version: 1.0.0
Release: 0.6%{?shortcommit0:.%{date}git%{shortcommit0}}%{?dist}
Summary: Wayland EGL External Platform library
License: MIT
URL: https://github.com/NVIDIA
Source0: %url/%{name}/archive/%{commit}.tar.gz#/%{name}-%{commit}.tar.gz
Source1: 10_nvidia_wayland.json
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: libtool
BuildRequires: eglexternalplatform-devel
BuildRequires: mesa-libEGL-devel
BuildRequires: wayland-devel
# Required for directory ownership
Requires: libglvnd-egl%{?_isa}
%description
%summary
%prep
%autosetup -n %{name}-%{commit}
NOCONFIGURE=1 ./autogen.sh
%build
%configure --disable-static
%make_build V=1
%install
%make_install
install -m 0755 -d %{buildroot}%{_datadir}/egl/egl_external_platform.d/
install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
rm %{buildroot}%{_libdir}/libnvidia-egl-wayland.so
find %{buildroot} -name '*.la' -exec rm -f {} ';'
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files
%doc README.md
%{_libdir}/*.so.*
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
%changelog
* Thu Feb 02 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.6.20170120git743d702
- Add requires libglvnd-egl
- Make review changes
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.5.20170120git743d702
- Drop devel sub-package
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.4.20170120git743d702
- Add 10_nvidia_wayland.json to libs sub-package
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.3.20170120git743d702
- Add loader directory to common sub-package
- Move libs to sub-package
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.2.20170120git743d702
- Add date to release
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.1.git743d702
- First build

View File

@ -0,0 +1 @@
SHA512 (egl-wayland-743d702fac0feb02d52ff34deadecb32284f18ea.tar.gz) = a1ed0c51e86e1143b8de4e17eb2881b2d78a8fe3ff0c4ac66ae0137b0d8246a37749af2799abfaca9a01f8fc7eb2b5418b63541346b26d3a96f12d8f0f5164ea