commit 1ce945ee249d53c276d99769b6574eb3d5d587e3 Author: CentOS Sources Date: Thu Aug 1 17:03:40 2019 -0400 import egl-wayland-1.1.2-1.el8 diff --git a/.egl-wayland.metadata b/.egl-wayland.metadata new file mode 100644 index 0000000..c3e5a9c --- /dev/null +++ b/.egl-wayland.metadata @@ -0,0 +1 @@ +1a72ab8ed1df9ba2e8a4683d93443337be530c53 SOURCES/egl-wayland-1.1.2.tar.gz diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..5c47217 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +SOURCES/egl-wayland-1.1.2.tar.gz diff --git a/SOURCES/10_nvidia_wayland.json b/SOURCES/10_nvidia_wayland.json new file mode 100644 index 0000000..c08a641 --- /dev/null +++ b/SOURCES/10_nvidia_wayland.json @@ -0,0 +1,6 @@ +{ + "file_format_version" : "1.0.0", + "ICD" : { + "library_path" : "libnvidia-egl-wayland.so.1" + } +} diff --git a/SOURCES/fix_deprecated-declarations.patch b/SOURCES/fix_deprecated-declarations.patch new file mode 100644 index 0000000..88d6c5c --- /dev/null +++ b/SOURCES/fix_deprecated-declarations.patch @@ -0,0 +1,11 @@ +--- a/src/meson.build ++++ b/src/meson.build +@@ -6,6 +6,7 @@ + + add_project_arguments('-Wall', language : 'c') + add_project_arguments('-Werror', language : 'c') ++add_project_arguments('-Wno-deprecated-declarations', language : 'c') + add_project_arguments('-fvisibility=hidden', language : 'c') + add_project_link_arguments('-Wl,-Bsymbolic', language : 'c') + + diff --git a/SPECS/egl-wayland.spec b/SPECS/egl-wayland.spec new file mode 100644 index 0000000..906d87a --- /dev/null +++ b/SPECS/egl-wayland.spec @@ -0,0 +1,141 @@ +Name: egl-wayland +Version: 1.1.2 +Release: 1%{?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 +%if 0%{?rhel} || 0%{?fedora} <= 28 +Patch0: fix_deprecated-declarations.patch +%endif + +BuildRequires: meson +BuildRequires: libtool +BuildRequires: eglexternalplatform-devel +BuildRequires: mesa-libEGL-devel +BuildRequires: wayland-devel + +# Required for directory ownership +Requires: libglvnd-egl%{?_isa} + +%description +%summary + +%package devel +Summary: Wayland EGL External Platform library development package +Requires: %{name}%{?_isa} = %{version}-%{release} + +%description devel +Wayland EGL External Platform library development package + +%prep +%autosetup -p1 + +%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/ +find %{buildroot} -name '*.la' -exec rm -f {} ';' + + +%ldconfig_scriptlets + + +%files +%doc README.md +%license COPYING +%{_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 +* Fri Feb 01 2019 Leigh Scott - 1.1.2-1 +- Update to 1.1.2 + +* Thu Jan 31 2019 Fedora Release Engineering - 1.1.1-4 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild + +* Thu Dec 06 2018 Leigh Scott - 1.1.1-3 +- Fix the same crappy warning f28 generates + +* Thu Dec 06 2018 Leigh Scott - 1.1.1-2 +- Fix the crappy warning epel7 generates + +* Thu Dec 06 2018 Leigh Scott - 1.1.1-1 +- Update to 1.1.1 + +* Mon Nov 26 2018 Leigh Scott - 1.1.0-0.2.20181015git0eb29d4 +- Update to latest git snapshot (rhbz#1653118) + +* Mon Aug 20 2018 Leigh Scott - 1.1.0-0.1.20180916git1676d1d +- Update to 1.1.0 snapshot + +* Thu Jul 12 2018 Fedora Release Engineering - 1.0.5-0.2.20180626git395ce9f +- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild + +* Sat Jun 30 2018 Leigh Scott - 1.0.5-0.1.20180626git395ce9f +- Update to 1.0.5 snapshot + +* Sat Jun 16 2018 Leigh Scott - 1.0.4-0.1.20180602git4ab0873 +- Update to 1.0.4 snapshot + +* Tue Feb 06 2018 Leigh Scott - 1.0.3-2.20180201git6f5f7d0 +- Update to latest git snapshot +- Switch to meson +- Install .so file to -devel as it's listed in wayland-eglstream.pc +- Fix directory ownership + +* Wed Jan 31 2018 Jonas Ã…dahl - 1.0.3-1.20180111gitb283689 +- Update to 1.0.3 +- Add -devel package + +* Thu Aug 03 2017 Leigh Scott - 1.0.2-0.4.20170802git1f4b1fd +- Update to latest git snapshot + +* Wed Aug 02 2017 Fedora Release Engineering - 1.0.2-0.3.20170628git818b613 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild + +* Wed Jul 26 2017 Fedora Release Engineering - 1.0.2-0.2.20170628git818b613 +- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild + +* Wed Jun 28 2017 Leigh Scott - 1.0.2-0.1.20170628git818b613 +- Update to 1.0.2 git + +* Wed Mar 08 2017 Leigh Scott - 1.0.1-0.1.20170308git582fbf3 +- Update to 1.0.1 git + +* Tue Feb 07 2017 Leigh Scott - 1.0.0-0.7.20170207git05eb000 +- Add license file + +* Thu Feb 02 2017 Leigh Scott - 1.0.0-0.6.20170120git743d702 +- Add requires libglvnd-egl +- Make review changes + +* Wed Feb 01 2017 Leigh Scott - 1.0.0-0.5.20170120git743d702 +- Drop devel sub-package + +* Wed Feb 01 2017 Leigh Scott - 1.0.0-0.4.20170120git743d702 +- Add 10_nvidia_wayland.json to libs sub-package + +* Wed Feb 01 2017 Leigh Scott - 1.0.0-0.3.20170120git743d702 +- Add loader directory to common sub-package +- Move libs to sub-package + +* Fri Jan 20 2017 Leigh Scott - 1.0.0-0.2.20170120git743d702 +- Add date to release + +* Fri Jan 20 2017 Leigh Scott - 1.0.0-0.1.git743d702 +- First build +