Accepting request 578358 from home:Andreas_Schwab:Factory
- Mesa-gallium only exists if %{with_opencl} - Add support for riscv64 OBS-URL: https://build.opensuse.org/request/show/578358 OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=705
This commit is contained in:
parent
bfb54f85e5
commit
d920707302
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 23:24:22 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Mesa-gallium only exists if %{with_opencl}
|
||||
- Add support for riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 16 14:59:04 UTC 2018 - mstaudt@suse.com
|
||||
|
||||
|
@ -82,6 +82,12 @@
|
||||
%define with_llvm 1
|
||||
%endif
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%define have_gallium 1
|
||||
%else
|
||||
%define have_gallium 0
|
||||
%endif
|
||||
|
||||
%if %{drivers}
|
||||
%define glamor 0
|
||||
%else
|
||||
@ -241,7 +247,9 @@ Requires: libglvnd >= 0.1.0
|
||||
# do not install recommends on their system still get working Mesa. It is
|
||||
# ignored in obs when Mesa is installed as build dependency.
|
||||
Requires: Mesa-dri = %{version}
|
||||
%if 0%{have_gallium}
|
||||
Requires: Mesa-gallium = %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
@ -465,8 +473,8 @@ applications using the OpenGL|ES 3.x APIs.
|
||||
|
||||
%package -n libOSMesa8
|
||||
Summary: Mesa Off-screen rendering extension
|
||||
# Wrongly named package shipped .so.8
|
||||
Group: System/Libraries
|
||||
# Wrongly named package shipped .so.8
|
||||
Obsoletes: libOSMesa9 < %{version}
|
||||
Provides: libOSMesa9 = %{version}
|
||||
|
||||
@ -600,9 +608,9 @@ implementation of Mesa.
|
||||
|
||||
%package -n Mesa-libd3d
|
||||
Summary: Mesa Direct3D9 state tracker
|
||||
# Manually provide d3d library (bnc#918294)
|
||||
Group: System/Libraries
|
||||
%ifarch x86_64 s390x ppc64le aarch64
|
||||
# Manually provide d3d library (bnc#918294)
|
||||
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
||||
Provides: d3dadapter9.so.1()(64bit)
|
||||
%else
|
||||
Provides: d3dadapter9.so.1
|
||||
@ -845,7 +853,7 @@ export PYTHON2=/usr/bin/python3
|
||||
--with-dri-drivers=nouveau \
|
||||
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
||||
%endif
|
||||
%ifarch ia64 ppc hppa s390 s390x
|
||||
%ifarch ia64 ppc hppa s390 s390x riscv64
|
||||
--with-dri-drivers=swrast \
|
||||
--with-gallium-drivers=swrast \
|
||||
%endif
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Feb 19 23:24:22 UTC 2018 - schwab@suse.de
|
||||
|
||||
- Mesa-gallium only exists if %{with_opencl}
|
||||
- Add support for riscv64
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Feb 16 14:59:04 UTC 2018 - mstaudt@suse.com
|
||||
|
||||
|
16
Mesa.spec
16
Mesa.spec
@ -81,6 +81,12 @@
|
||||
%define with_llvm 1
|
||||
%endif
|
||||
|
||||
%if 0%{with_opencl}
|
||||
%define have_gallium 1
|
||||
%else
|
||||
%define have_gallium 0
|
||||
%endif
|
||||
|
||||
%if %{drivers}
|
||||
%define glamor 0
|
||||
%else
|
||||
@ -240,7 +246,9 @@ Requires: libglvnd >= 0.1.0
|
||||
# do not install recommends on their system still get working Mesa. It is
|
||||
# ignored in obs when Mesa is installed as build dependency.
|
||||
Requires: Mesa-dri = %{version}
|
||||
%if 0%{have_gallium}
|
||||
Requires: Mesa-gallium = %{version}
|
||||
%endif
|
||||
|
||||
%description
|
||||
Mesa is a 3-D graphics library with an API which is very similar to
|
||||
@ -464,8 +472,8 @@ applications using the OpenGL|ES 3.x APIs.
|
||||
|
||||
%package -n libOSMesa8
|
||||
Summary: Mesa Off-screen rendering extension
|
||||
# Wrongly named package shipped .so.8
|
||||
Group: System/Libraries
|
||||
# Wrongly named package shipped .so.8
|
||||
Obsoletes: libOSMesa9 < %{version}
|
||||
Provides: libOSMesa9 = %{version}
|
||||
|
||||
@ -599,9 +607,9 @@ implementation of Mesa.
|
||||
|
||||
%package -n Mesa-libd3d
|
||||
Summary: Mesa Direct3D9 state tracker
|
||||
# Manually provide d3d library (bnc#918294)
|
||||
Group: System/Libraries
|
||||
%ifarch x86_64 s390x ppc64le aarch64
|
||||
# Manually provide d3d library (bnc#918294)
|
||||
%ifarch x86_64 s390x ppc64le aarch64 riscv64
|
||||
Provides: d3dadapter9.so.1()(64bit)
|
||||
%else
|
||||
Provides: d3dadapter9.so.1
|
||||
@ -844,7 +852,7 @@ export PYTHON2=/usr/bin/python3
|
||||
--with-dri-drivers=nouveau \
|
||||
--with-gallium-drivers=r300,r600,nouveau,swrast \
|
||||
%endif
|
||||
%ifarch ia64 ppc hppa s390 s390x
|
||||
%ifarch ia64 ppc hppa s390 s390x riscv64
|
||||
--with-dri-drivers=swrast \
|
||||
--with-gallium-drivers=swrast \
|
||||
%endif
|
||||
|
Loading…
Reference in New Issue
Block a user