egl-wayland-vl.spec 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. %bcond_without libglvnd
  2. Name: egl-wayland
  3. Version: 1.1.10
  4. Release: 1%{?_dist_release}
  5. Summary: Wayland EGL External Platform library
  6. Group: system
  7. Distribution: Vine Linux
  8. Vendor: Project Vine
  9. License: MIT
  10. URL: https://github.com/NVIDIA/%{name}
  11. Source0: %url/archive/%{version}/%{name}-%{version}.tar.gz
  12. Source1: 10_nvidia_wayland.json
  13. BuildRequires: meson
  14. BuildRequires: libtool
  15. BuildRequires: eglexternalplatform-devel
  16. %if %{with libglvnd}
  17. BuildRequires: libglvnd-devel
  18. %else
  19. BuildRequires: mesa-libEGL-devel
  20. %endif
  21. BuildRequires: wayland-devel
  22. BuildRequires: wayland-protocols-devel
  23. %if %{with libglvnd}
  24. # Required for directory ownership
  25. Requires: libglvnd-egl%{?_isa}
  26. %endif
  27. %description
  28. Wayland EGL External Platform library
  29. %package devel
  30. Summary: Wayland EGL External Platform library development package
  31. Requires: %{name}%{?_isa} = %{version}-%{release}
  32. %description devel
  33. Wayland EGL External Platform library development package
  34. %debug_package
  35. %prep
  36. %autosetup -p1
  37. %if 0%{?rhel}
  38. sed -i -e 's@>= 0.50@>= 0.47@g' meson.build
  39. %endif
  40. %build
  41. %meson
  42. %meson_build
  43. %install
  44. %meson_install
  45. %if %{with libglvnd}
  46. install -m 0755 -d %{buildroot}%{_datadir}/egl/egl_external_platform.d/
  47. install -pm 0644 %{SOURCE1} %{buildroot}%{_datadir}/egl/egl_external_platform.d/
  48. %endif
  49. find %{buildroot} -name '*.la' -exec rm -f {} ';'
  50. %files
  51. %doc README.md
  52. %license COPYING
  53. %{_libdir}/*.so.*
  54. %if %{with libglvnd}
  55. %{_datadir}/egl/egl_external_platform.d/10_nvidia_wayland.json
  56. %endif
  57. %files devel
  58. %{_libdir}/libnvidia-egl-wayland.so
  59. %{_libdir}/pkgconfig/wayland-eglstream.pc
  60. %{_datadir}/pkgconfig/wayland-eglstream-protocols.pc
  61. %{_datadir}/wayland-eglstream/
  62. %changelog
  63. * Thu Jun 16 2022 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.10-1
  64. - new upstream release.
  65. * Sat Mar 27 2021 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> - 1.1.6-3
  66. - initial build for Vine Linux.
  67. * Tue Jan 26 2021 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.6-2
  68. - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
  69. * Thu Jan 7 2021 Leigh Scott <leigh123linux@gmail.com> - 1.1.6-1
  70. - Update to 1.1.6
  71. * Fri Aug 14 2020 Leigh Scott <leigh123linux@gmail.com> - 1.1.5-3
  72. - Add upstream patch to address rhbz#1842473
  73. * Mon Jul 27 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.5-2
  74. - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
  75. * Mon Jun 01 2020 Leigh Scott <leigh123linux@gmail.com> - 1.1.5-1
  76. - Update to 1.1.5
  77. * Mon Mar 30 2020 leigh123linux <leigh123linux@googlemail.com> - 1.1.4-4
  78. - Use upstream commit to address missing mesa includes
  79. * Tue Jan 28 2020 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.4-3
  80. - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild
  81. * Mon Dec 16 2019 Leigh Scott <leigh123linux@gmail.com> - 1.1.4-2
  82. - Add patch to add missing mesa includes
  83. * Sun Sep 15 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.4-1
  84. - Update to 1.1.4
  85. * Wed Jul 24 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.3-2
  86. - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
  87. * Sun Jun 02 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.3-1
  88. - Update to 1.1.3
  89. * Tue Apr 16 2019 Adam Williamson <awilliam@redhat.com> - 1.1.2-3
  90. - Rebuild with Meson fix for #1699099
  91. * Sat Mar 30 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-2
  92. - Switch to upstream fix
  93. * Fri Feb 01 2019 Leigh Scott <leigh123linux@googlemail.com> - 1.1.2-1
  94. - Update to 1.1.2
  95. * Thu Jan 31 2019 Fedora Release Engineering <releng@fedoraproject.org> - 1.1.1-4
  96. - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
  97. * Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-3
  98. - Fix the same crappy warning f28 generates
  99. * Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-2
  100. - Fix the crappy warning epel7 generates
  101. * Thu Dec 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.1-1
  102. - Update to 1.1.1
  103. * Mon Nov 26 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.0-0.2.20181015git0eb29d4
  104. - Update to latest git snapshot (rhbz#1653118)
  105. * Mon Aug 20 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.1.0-0.1.20180916git1676d1d
  106. - Update to 1.1.0 snapshot
  107. * Thu Jul 12 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.5-0.2.20180626git395ce9f
  108. - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
  109. * Sat Jun 30 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.5-0.1.20180626git395ce9f
  110. - Update to 1.0.5 snapshot
  111. * Sat Jun 16 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.4-0.1.20180602git4ab0873
  112. - Update to 1.0.4 snapshot
  113. * Tue Feb 06 2018 Leigh Scott <leigh123linux@googlemail.com> - 1.0.3-2.20180201git6f5f7d0
  114. - Update to latest git snapshot
  115. - Switch to meson
  116. - Install .so file to -devel as it's listed in wayland-eglstream.pc
  117. - Fix directory ownership
  118. * Wed Jan 31 2018 Jonas Ådahl <jadahl@redhat.com> - 1.0.3-1.20180111gitb283689
  119. - Update to 1.0.3
  120. - Add -devel package
  121. * Thu Aug 03 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-0.4.20170802git1f4b1fd
  122. - Update to latest git snapshot
  123. * Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-0.3.20170628git818b613
  124. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild
  125. * Wed Jul 26 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-0.2.20170628git818b613
  126. - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild
  127. * Wed Jun 28 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.2-0.1.20170628git818b613
  128. - Update to 1.0.2 git
  129. * Wed Mar 08 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.1-0.1.20170308git582fbf3
  130. - Update to 1.0.1 git
  131. * Tue Feb 07 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.7.20170207git05eb000
  132. - Add license file
  133. * Thu Feb 02 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.6.20170120git743d702
  134. - Add requires libglvnd-egl
  135. - Make review changes
  136. * Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.5.20170120git743d702
  137. - Drop devel sub-package
  138. * Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.4.20170120git743d702
  139. - Add 10_nvidia_wayland.json to libs sub-package
  140. * Wed Feb 01 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.3.20170120git743d702
  141. - Add loader directory to common sub-package
  142. - Move libs to sub-package
  143. * Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.2.20170120git743d702
  144. - Add date to release
  145. * Fri Jan 20 2017 Leigh Scott <leigh123linux@googlemail.com> - 1.0.0-0.1.git743d702
  146. - First build