egl-wayland-vl.spec 6.4 KB

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