SHA256
1
0
forked from pool/Mesa

- build wayland on Leap >= 42.3

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=596
This commit is contained in:
Stefan Dirsch 2017-04-12 12:54:28 +00:00 committed by Git OBS Bridge
parent 5d9a2e217f
commit f1cbffa9fb
2 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
------------------------------------------------------------------- -------------------------------------------------------------------
Wed Apr 12 12:31:34 UTC 2017 - sndirsch@suse.com Wed Apr 12 12:31:34 UTC 2017 - sndirsch@suse.com
- build wayland on Leap - build wayland on Leap >= 42.3
- separate package 'Mesa-dri-nouveau' on Leap - separate package 'Mesa-dri-nouveau' on Leap
------------------------------------------------------------------- -------------------------------------------------------------------

View File

@ -154,7 +154,7 @@ BuildRequires: libelf-devel
%endif %endif
%endif %endif
# Requirements for wayland bumped up from 17.0 # Requirements for wayland bumped up from 17.0
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
BuildRequires: pkgconfig(wayland-client) >= 1.11 BuildRequires: pkgconfig(wayland-client) >= 1.11
BuildRequires: pkgconfig(wayland-server) >= 1.11 BuildRequires: pkgconfig(wayland-server) >= 1.11
%endif %endif
@ -206,7 +206,7 @@ Obsoletes: Mesa-devel-static < %{version}
Obsoletes: xorg-x11-Mesa-devel < %{version} Obsoletes: xorg-x11-Mesa-devel < %{version}
Provides: Mesa-libIndirectGL-devel = %{version} Provides: Mesa-libIndirectGL-devel = %{version}
Obsoletes: Mesa-libIndirectGL-devel < %{version} Obsoletes: Mesa-libIndirectGL-devel < %{version}
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
Requires: libwayland-egl-devel Requires: libwayland-egl-devel
%endif %endif
@ -670,7 +670,7 @@ grep -v libglvnd $RPM_SOURCE_DIR/baselibs.conf > $RPM_SOURCE_DIR/temp && \
%endif %endif
%build %build
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
egl_platforms=x11,drm,wayland egl_platforms=x11,drm,wayland
%else %else
egl_platforms=x11,drm egl_platforms=x11,drm
@ -942,7 +942,7 @@ done
%{_libdir}/libOSMesa.so %{_libdir}/libOSMesa.so
%{_libdir}/pkgconfig/osmesa.pc %{_libdir}/pkgconfig/osmesa.pc
%if 0%{?suse_version} > 1320 || 0%{?is_opensuse} %if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
%files -n libwayland-egl1 %files -n libwayland-egl1
%defattr(-,root,root) %defattr(-,root,root)
%{_libdir}/libwayland-egl.so.1* %{_libdir}/libwayland-egl.so.1*