Leigh Scott 9e51218
%global commit0 885f0a5e91fe9cfbfbcd98ff01f6b83503decef3
Leigh Scott 9e51218
%global date 20220806
Leigh Scott 3860408
%global shortcommit0 %(c=%{commit0}; echo ${c:0:7})
Leigh Scott e72a905
%global tag %{version}
Leigh Scott 493759b
2d12833
Name:           egl-wayland
Leigh Scott e72a905
Version:        1.1.11
Leigh Scott e72a905
Release:        1%{!?tag:.%{date}git%{shortcommit0}}%{?dist}
2d12833
Summary:        Wayland EGL External Platform library
2d12833
License:        MIT
77b78fd
URL:            https://github.com/NVIDIA/%{name}
Leigh Scott 493759b
Leigh Scott 493759b
%if 0%{?tag:1}
942f43a
Source0:        %url/archive/%{version}/%{name}-%{version}.tar.gz
Leigh Scott 493759b
%else
Leigh Scott 9e51218
Source0:        %url/archive/%{commit0}/%{name}-%{shortcommit0}.tar.gz
Leigh Scott 493759b
%endif
Leigh Scott 493759b
2d12833
Source1:        10_nvidia_wayland.json
Leigh Scott ac389b0
Source2:        15_nvidia_gbm.json
2d12833
91aaa5a
BuildRequires:  meson
2d12833
BuildRequires:  libtool
2d12833
BuildRequires:  eglexternalplatform-devel
Leigh Scott 532cfcf
BuildRequires:  cmake
Leigh Scott b938a95
BuildRequires:  libdrm-devel
Leigh Scott ddb9fb1
BuildRequires:  libglvnd-devel >= 1.3.4
2d12833
BuildRequires:  wayland-devel
Leigh Scott 532cfcf
BuildRequires:  wayland-protocols-devel
2d12833
2d12833
# Required for directory ownership
2d12833
Requires:       libglvnd-egl%{?_isa}
2d12833
2d12833
%description
d1d6fa4
Wayland EGL External Platform library
2d12833
Jonas Ådahl 9b5b069
%package devel
Jonas Ådahl 9b5b069
Summary:        Wayland EGL External Platform library development package
Jonas Ådahl 9b5b069
Requires:       %{name}%{?_isa} = %{version}-%{release}
Jonas Ådahl 9b5b069
Jonas Ådahl 9b5b069
%description devel
Jonas Ådahl 9b5b069
Wayland EGL External Platform library development package
Jonas Ådahl 9b5b069
2d12833
%prep
Leigh Scott 493759b
%if 0%{?tag:1}
c57d7ad
%autosetup -p1
Leigh Scott 493759b
%else
Leigh Scott 493759b
%autosetup -p1 -n %{name}-%{commit0}
Leigh Scott 493759b
%endif
2d12833
2d12833
%build
91aaa5a
%meson
91aaa5a
%meson_build
2d12833
2d12833
%install
91aaa5a
%meson_install
2d12833
install -m 0755 -d %{buildroot}%{_datadir}/egl/egl_external_platform.d/
Leigh Scott ac389b0
install -pm 0644 %{SOURCE1} %{SOURCE2} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
Leigh Scott 3693e06
find %{buildroot} -name '*.la' -delete
2d12833
2d12833
%files
2d12833
%doc README.md
eb68c36
%license COPYING
2d12833
%{_libdir}/*.so.*
2d12833
%{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
Leigh Scott ac389b0
%{_datadir}/egl/egl_external_platform.d/15_nvidia_gbm.json
2d12833
Jonas Ådahl 9b5b069
%files devel
91aaa5a
%{_libdir}/libnvidia-egl-wayland.so
Leigh Scott a28e745
%{_libdir}/pkgconfig/wayland-eglstream.pc
Jonas Ådahl 9b5b069
%{_datadir}/pkgconfig/wayland-eglstream-protocols.pc
91aaa5a
%{_datadir}/wayland-eglstream/
2d12833
2d12833
%changelog
Leigh Scott e72a905
* Sat Sep 10 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.11-1
Leigh Scott e72a905
- Update to 1.1.11
Leigh Scott e72a905
Leigh Scott 9e51218
* Tue Aug 09 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.10-7.20220806git885f0a5
Leigh Scott 9e51218
- Update snapshot
Leigh Scott 9e51218
Leigh Scott 0e1d15c
* Mon Aug 01 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.10-6.20220726gitaaf8608
Leigh Scott 0e1d15c
- Update snapshot
Leigh Scott 0e1d15c
0beb3bd
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.10-5.20220621git53b6a87
0beb3bd
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
0beb3bd
Leigh Scott 8e64d53
* Thu Jun 30 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.10-4.20220621git53b6a87
Leigh Scott 8e64d53
- Fix GTK4 resizing
Leigh Scott 8e64d53
Leigh Scott 3860408
* Wed Jun 29 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.10-3.20220626gitd0febee
Leigh Scott 3860408
- Update to latest snapshot
Leigh Scott 3860408
Leigh Scott eb435be
* Sun Jun 12 2022 Leigh Scott <leigh123linux@gmail.com> - 1.1.10-2
Leigh Scott eb435be
- Update to 1.1.10
Leigh Scott eb435be
Leigh Scott 493759b
* Thu Jun 09 2022 Simone Caronni <negativo17@gmail.com> - 1.1.10-1.20220601git247335d
Leigh Scott 493759b
- Update to latest 1.10 snapshot
Leigh Scott 493759b
Leigh Scott 3693e06
* Sat Feb 05 2022 Simone Caronni <negativo17@gmail.com> - 1.1.9-5
Leigh Scott 3693e06
- Small cleanup.
Leigh Scott 3693e06
dd336cc
* Thu Jan 20 2022 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.9-4
dd336cc
- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
dd336cc
Leigh Scott 6b47b1f
* Tue Nov 23 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.9-3
Leigh Scott 6b47b1f
- Add upstream commits
Leigh Scott 6b47b1f
Leigh Scott ac389b0
* Sat Oct 16 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.9-2
Leigh Scott ac389b0
- Add 15_nvidia_gbm.json
Leigh Scott ac389b0
Leigh Scott 0ccd65d
* Fri Oct 15 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.9-1
Leigh Scott 0ccd65d
- Update to 1.1.9
Leigh Scott 0ccd65d
Leigh Scott cd7bcbe
* Fri Sep 17 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.8-1
Leigh Scott cd7bcbe
- Update to 1.1.8
Leigh Scott cd7bcbe
6398c1f
* Wed Jul 21 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.7-2
6398c1f
- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
6398c1f
Leigh Scott 28380aa
* Sat May 22 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.7-1
Leigh Scott 28380aa
- Update to 1.1.7
Leigh Scott 28380aa
26fa7a7
* Fri May   7 2021 Olivier Fourdan <ofourdan@redhat.com> - 1.1.6-3
26fa7a7
- Fix EGL stream closing causing a crash in Xwayland with EGLstream
26fa7a7
  (#1943936, #1949415)
26fa7a7
d506660
* Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
d506660
- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
d506660
Leigh Scott a28e745
* Thu Jan  7 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.6-1
Leigh Scott a28e745
- Update to 1.1.6
Leigh Scott a28e745
Leigh Scott 8fb8070
* Fri Aug 14 2020 Leigh Scott <leigh123linux@gmail.com> - 1.1.5-3
Leigh Scott 8fb8070
- Add upstream patch to address rhbz#1842473
Leigh Scott 8fb8070
b44b3b1
* Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
b44b3b1
- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
b44b3b1
Leigh Scott f5e0650
* Mon Jun 01 2020 Leigh Scott <leigh123linux@gmail.com> - 1.1.5-1
Leigh Scott f5e0650
- Update to 1.1.5
Leigh Scott f5e0650
8c5df51
* Mon Mar 30 2020 leigh123linux <leigh123linux@googlemail.com> - 1.1.4-4
8c5df51
- Use upstream commit to address missing mesa includes
8c5df51
f9ebbe4
* Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-3
f9ebbe4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
f9ebbe4
Leigh Scott f240fc3
* Mon Dec 16 2019 Leigh Scott <leigh123linux@gmail.com> - 1.1.4-2
Leigh Scott f240fc3
- Add patch to add missing mesa includes
Leigh Scott f240fc3
d1d6fa4
* Sun Sep 15 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.4-1
d1d6fa4
- Update to 1.1.4
d1d6fa4
773542b
* Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
773542b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
773542b
5f158ec
* Sun Jun 02 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.3-1
5f158ec
- Update to 1.1.3
5f158ec
2b41f42
* Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.1.2-3
2b41f42
- Rebuild with Meson fix for #1699099
2b41f42
0641957
* Sat Mar 30 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-2
0641957
- Switch to upstream fix
0641957
c57d7ad
* Fri Feb 01 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-1
c57d7ad
- Update to 1.1.2
c57d7ad
2b819c2
* Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
2b819c2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
2b819c2
c9d14f0
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-3
c9d14f0
- Fix the same crappy warning f28 generates
c9d14f0
0d026e8
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-2
0d026e8
- Fix the crappy warning epel7 generates
0d026e8
942f43a
* Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-1
942f43a
- Update to 1.1.1
942f43a
638b230
* Mon Nov 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.0-0.2.20181015git0eb29d4
638b230
- Update to latest git snapshot (rhbz#1653118)
638b230
7a0378a
* Mon Aug 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.0-0.1.20180916git1676d1d
7a0378a
- Update to 1.1.0 snapshot
7a0378a
c74da4b
* Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-0.2.20180626git395ce9f
c74da4b
- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
c74da4b
d68e695
* Sat Jun 30 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-0.1.20180626git395ce9f
d68e695
- Update to 1.0.5 snapshot
d68e695
77b78fd
* Sat Jun 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.4-0.1.20180602git4ab0873
77b78fd
- Update to 1.0.4 snapshot
77b78fd
91aaa5a
* Tue Feb 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-2.20180201git6f5f7d0
91aaa5a
- Update to latest git snapshot
91aaa5a
- Switch to meson
91aaa5a
- Install .so file to -devel as it's listed in wayland-eglstream.pc
91aaa5a
- Fix directory ownership
91aaa5a
Jonas Ådahl 9b5b069
* Wed Jan 31 2018 Jonas Ã…dahl <jadahl@redhat.com> - 1.0.3-1.20180111gitb283689
Jonas Ådahl 9b5b069
- Update to 1.0.3
Jonas Ådahl 9b5b069
- Add -devel package
Jonas Ådahl 9b5b069
15d3ac3
* Thu Aug 03 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-0.4.20170802git1f4b1fd
15d3ac3
- Update to latest git snapshot
15d3ac3
e10caa7
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-0.3.20170628git818b613
e10caa7
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
e10caa7
a8d83d2
* Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-0.2.20170628git818b613
a8d83d2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
a8d83d2
ac49295
* Wed Jun 28 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-0.1.20170628git818b613
15d3ac3
- Update to 1.0.2 git
ac49295
343ce4b
* Wed Mar 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-0.1.20170308git582fbf3
15d3ac3
- Update to 1.0.1 git
343ce4b
eb68c36
* Tue Feb 07 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.7.20170207git05eb000
eb68c36
- Add license file
eb68c36
2d12833
* Thu Feb 02 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.6.20170120git743d702
2d12833
- Add requires libglvnd-egl
2d12833
- Make review changes
2d12833
2d12833
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.5.20170120git743d702
2d12833
- Drop devel sub-package
2d12833
2d12833
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.4.20170120git743d702
2d12833
- Add 10_nvidia_wayland.json to libs sub-package
2d12833
2d12833
* Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.3.20170120git743d702
2d12833
- Add loader directory to common sub-package
2d12833
- Move libs to sub-package
2d12833
2d12833
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.2.20170120git743d702
2d12833
- Add date to release
2d12833
2d12833
* Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.1.git743d702
2d12833
- First build
2d12833