2007-01-10 01:57:03 +01:00
#
2022-04-13 23:39:55 +02:00
# spec file
2007-01-10 01:57:03 +01:00
#
2023-01-02 11:18:24 +01:00
# Copyright (c) 2023 SUSE LLC
2007-01-10 01:57:03 +01:00
#
2008-08-11 23:05:30 +02:00
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
2019-06-12 05:42:59 +02:00
# Please submit bugfixes or comments via https://bugs.opensuse.org/
2012-02-09 21:16:37 +01:00
#
- Update to Mesa 8.0.1
* Removed all DRI drivers that did not support DRI2.
Specifically, i810, mach64, mga, r128, savage, sis, tdfx, and
unichrome were removed.
* Removed all remnants of paletted texture support. As required
by desktop OpenGL, GL_COLOR_INDEX data can still be uploaded
to a color (e.g., RGBA) texture. However, the data cannot be
stored internally as color-index.
* Removed support for GL_APPLE_client_storage extension.
* Removed the classic Mesa r300 and r600 drivers, which are
superseded by the gallium drivers for this hardware.
* Removed the dead Gallium i965, cell and failover drivers,
which were either broken and with nobody in sight to fix
the situation or deprecated.
- obsoletes u_GLX-SWrast-Make-GLX-with-SWrast-enabled-work-on-olde.patch
(git commit #63a6fd6603574c1c01324fbeb0863e39d3864c16)
- obsoletes U_Mesa-7.11-llvm3.patch
- obsoletes Mesa-llvm-3.0.patch
- disabled u_Fix-crash-in-swrast-when-setting-a-texture-for-a-pix.patch
for now (obsolete as well?)
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=196
2012-02-23 14:38:22 +01:00
2022-07-15 15:10:44 +02:00
#!BuildIgnore: Mesa-dri
2022-04-13 23:39:55 +02:00
%global flavor @BUILD_FLAVOR@%{nil}
%if "%{flavor}" == "drivers"
%global psuffix -drivers
%else
%global psuffix %{nil}
%endif
2017-12-09 08:37:06 +01:00
2020-04-23 17:16:16 +02:00
%ifarch armv6l armv6hl
%define _lto_cflags %{nil}
%endif
2022-09-29 12:02:26 +02:00
# Possible patent issues, see
# https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15258
# for more details
2022-10-03 19:14:02 +02:00
%if 0%{?BUILD_ORIG}
%define video_codecs 1
%else
2022-09-29 12:02:26 +02:00
%define video_codecs 0
2022-10-03 19:14:02 +02:00
%endif
2022-09-29 12:02:26 +02:00
2018-01-05 10:08:37 +01:00
%define drivers 0
2017-12-09 08:37:06 +01:00
2012-05-27 00:31:19 +02:00
%define glamor 1
2015-03-09 11:45:09 +01:00
%define _name_archive mesa
2023-10-04 12:57:15 +02:00
%define _version 23.2.1
2015-12-02 16:16:15 +01:00
%define with_opencl 0
2023-01-18 16:05:39 +01:00
%define with_rusticl 0
2016-06-10 10:26:56 +02:00
%define with_vulkan 0
2017-12-09 08:37:06 +01:00
%define with_llvm 0
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 %{arm} aarch64 ppc64 ppc64le riscv64
2017-12-09 08:37:06 +01:00
%define gallium_loader 1
2014-05-12 15:08:48 +02:00
%else
2017-12-09 08:37:06 +01:00
%define gallium_loader 0
2014-05-12 15:08:48 +02:00
%endif
2017-12-09 08:37:06 +01:00
2014-04-01 11:29:15 +02:00
%define vdpau_nouveau 0
2015-01-19 14:08:21 +01:00
%define vdpau_radeon 0
2022-12-31 10:55:24 +01:00
%define vdpau_virtio_gpu 0
2017-12-09 08:37:06 +01:00
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
2017-12-09 08:37:06 +01:00
%define vdpau_nouveau 1
%define vdpau_radeon 1
2022-12-31 10:55:24 +01:00
%define vdpau_virtio_gpu 1
2014-04-01 11:29:15 +02:00
%endif
2017-12-09 08:37:06 +01:00
2023-09-21 12:28:06 +02:00
%ifarch %{ix86} x86_64
2017-12-09 08:37:06 +01:00
%define with_nine 1
2017-04-05 14:32:09 +02:00
%endif
2017-12-09 08:37:06 +01:00
2018-04-18 11:36:28 +02:00
%if 0%{gallium_loader}
2019-03-04 21:05:54 +01:00
%define with_opencl 1
2018-06-17 16:15:51 +02:00
%ifarch %{ix86} x86_64
2017-12-09 08:37:06 +01:00
%define with_vulkan 1
2022-12-31 10:55:24 +01:00
%define vulkan_drivers swrast,amd,intel,intel_hasvk
2021-05-22 11:30:52 +02:00
%endif
%ifarch %{arm} aarch64
%define with_vulkan 1
%define vulkan_drivers swrast,amd,broadcom,freedreno
2017-12-09 08:37:06 +01:00
%endif
2022-09-27 13:10:42 +02:00
%ifarch riscv64
%define with_vulkan 1
%define vulkan_drivers swrast,amd
%endif
2017-04-05 14:32:09 +02:00
%endif
2017-12-09 08:37:06 +01:00
2020-01-14 12:12:27 +01:00
%ifarch aarch64 %{arm} ppc64 ppc64le riscv64 s390x %{ix86} x86_64
2017-12-09 08:37:06 +01:00
%define with_llvm 1
2015-01-27 12:52:02 +01:00
%endif
2017-12-09 08:37:06 +01:00
2018-02-20 14:56:56 +01:00
%if 0%{with_opencl}
%define have_gallium 1
%else
%define have_gallium 0
%endif
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2018-01-05 10:08:37 +01:00
%define glamor 0
2023-11-20 15:47:28 +01:00
%if 0%{?suse_version} > 1550 && 0%{with_opencl}
2023-01-18 16:05:39 +01:00
%define with_rusticl 1
%endif
2018-01-05 10:08:37 +01:00
%else
2017-12-09 08:37:06 +01:00
# No llvm dependencies
%define with_llvm 0
# OpenCL requires clang (LLVM)
%define with_opencl 0
# nine requires at least one non-swrast gallium driver
%define with_nine 0
# Not built because radeon driver is not built.
%define vdpau_radeon 0
# Not built because nouveau driver is not built.
%define vdpau_nouveau 0
2022-12-31 10:55:24 +01:00
# Not built because virtio_gpu driver is not built.
%define vdpau_virtio_gpu 0
2017-12-09 08:37:06 +01:00
# Vulkan includes radv driver which requires llvm
%define with_vulkan 0
2016-06-10 10:26:56 +02:00
%endif
Accepting request 400597 from home:tobijk:X11:XOrg
- Update to version 12.0.0-rc2:
- New features:
+ OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
+ OpenGL ES 3.1 on nvc0, radeonsi
+ GL_ARB_ES3_1_compatibility on nvc0, radeonsi
+ GL_ARB_compute_shader on nvc0, radeonsi, softpipe
+ GL_ARB_cull_distance on i965/gen6+, nv50, nvc0, llvmpipe, softpipe
+ GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
+ GL_ARB_internalformat_query2 on all drivers
+ GL_ARB_query_buffer_object on i965/hsw+
+ GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
+ GL_ARB_shader_atomic_counters on radeonsi, softpipe
+ GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_load_store on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_size on nvc0, radeonsi, softpipe
+ GL_ARB_shader_storage_buffer_objects on radeonsi, softpipe
+ GL_ATI_fragment_shader on all Gallium drivers
+ GL_EXT_base_instance on all drivers that support GL_ARB_base_instance
+ GL_EXT_clip_cull_distance on all drivers that support GL_ARB_cull_distance
+ GL_KHR_robustness on i965
+ GL_OES_copy_image on i965 (Baytrail and Gen8+)
+ GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers
that support GL_ARB_draw_buffers_blend
+GL_OES_gpu_shader5 and GL_EXT_gpu_shader5 on all drivers that support
GL_ARB_gpu_shader5
+GL_OES_sample_shading on i965, nvc0, r600, radeonsi
+GL_OES_sample_variables on i965, nvc0, r600, radeonsi
+GL_OES_shader_image_atomic on all drivers that support
GL_ARB_shader_image_load_store
+GL_OES_shader_io_blocks on i965, nvc0, radeonsi
OBS-URL: https://build.opensuse.org/request/show/400597
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=520
2016-06-08 04:40:52 +02:00
2022-04-13 23:39:55 +02:00
Name : Mesa%{psuffix}
2023-10-04 12:57:15 +02:00
Version : 23.2.1
2021-12-02 11:49:11 +01:00
Release : 0
2018-01-10 15:30:48 +01:00
Summary : System for rendering 3-D graphics
2015-01-19 14:08:21 +01:00
License : MIT
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2022-08-02 09:04:50 +02:00
URL : https://www.mesa3d.org
2018-01-10 15:30:48 +01:00
#Git-Clone: git://anongit.freedesktop.org/mesa/mesa
2023-06-17 09:08:42 +02:00
Source : https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz
Source1 : https://archive.mesa3d.org/%{_name_archive}-%{_version}.tar.xz.sig
2015-01-19 14:08:21 +01:00
Source2 : baselibs.conf
Source3 : README.updates
Source4 : manual-pages.tar.bz2
2022-04-13 23:39:55 +02:00
Source6 : Mesa-rpmlintrc
2015-09-14 09:50:10 +02:00
Source7 : Mesa.keyring
2019-10-25 22:12:51 +02:00
Patch2 : n_add-Mesa-headers-again.patch
2023-09-21 21:08:18 +02:00
# Patches for LLVM 17, should all be in 23.2.
Patch4 : U_clover-llvm-move-to-modern-pass-manager.patch
2023-10-15 05:51:58 +02:00
Patch10 : U_radeonsi-prefix-function-with-si_-to-prevent-name-co.patch
2016-01-20 17:01:53 +01:00
# never to be upstreamed
2018-10-26 13:17:37 +02:00
Patch54 : n_drirc-disable-rgb10-for-chromium-on-amd.patch
2019-03-04 21:05:54 +01:00
Patch58 : u_dep_xcb.patch
2020-09-30 11:46:59 +02:00
Patch100 : U_fix-mpeg1_2-decode-mesa-20.2.patch
2021-10-14 21:18:31 +02:00
Patch200 : u_fix-build-on-ppc64le.patch
2022-12-31 10:55:24 +01:00
Patch400 : n_stop-iris-flicker.patch
2022-05-25 14:29:10 +02:00
%ifarch %{ix86} x86_64
2022-05-24 23:24:55 +02:00
BuildRequires : DirectX-Headers
2022-05-25 14:29:10 +02:00
%endif
2019-01-30 17:33:21 +01:00
BuildRequires : bison
2022-05-24 23:24:55 +02:00
BuildRequires : cmake
2011-12-01 12:25:10 +01:00
BuildRequires : fdupes
2019-01-30 17:33:21 +01:00
BuildRequires : flex
2023-01-27 10:52:33 +01:00
%if 0%{?sle_version} >= 150400
2023-01-18 16:11:04 +01:00
BuildRequires : gcc12-c++
%else
2011-12-01 12:25:10 +01:00
BuildRequires : gcc-c++
2023-01-18 16:11:04 +01:00
%endif
2020-08-25 11:37:06 +02:00
BuildRequires : glslang-devel
2014-04-25 10:38:43 +02:00
BuildRequires : imake
2012-02-13 11:05:48 +01:00
BuildRequires : libtool
2022-01-17 11:58:42 +01:00
BuildRequires : memory-constraints
2023-10-15 05:51:58 +02:00
BuildRequires : meson >= 0.60
2011-12-01 12:25:10 +01:00
BuildRequires : pkgconfig
2018-01-08 12:57:13 +01:00
BuildRequires : python3-base
2023-09-01 12:39:06 +02:00
# dataclasses is in standard library of python >= 3.7
%if 0%{?suse_version} < 1550
BuildRequires : python3-dataclasses
2018-03-19 21:00:41 +01:00
%endif
2023-09-01 12:39:06 +02:00
BuildRequires : python3-Mako
2018-01-08 12:57:13 +01:00
BuildRequires : python3-xml
2014-04-25 10:38:43 +02:00
BuildRequires : pkgconfig(dri2proto)
BuildRequires : pkgconfig(dri3proto)
2015-09-08 12:29:06 +02:00
BuildRequires : pkgconfig(expat)
2014-04-25 10:38:43 +02:00
BuildRequires : pkgconfig(glproto)
2017-05-11 10:52:56 +02:00
BuildRequires : pkgconfig(libdrm) >= 2.4.75
2019-01-08 11:40:50 +01:00
BuildRequires : pkgconfig(libdrm_amdgpu) >= 2.4.95
2016-04-06 11:52:45 +02:00
BuildRequires : pkgconfig(libdrm_nouveau) >= 2.4.66
2017-05-11 10:52:56 +02:00
BuildRequires : pkgconfig(libdrm_radeon) >= 2.4.71
2017-03-27 15:16:13 +02:00
BuildRequires : pkgconfig(libglvnd) >= 0.1.0
Accepting request 1126573 from home:dirkmueller:Factory
- build with valgrind only on 64bit platforms
previous release or wait for Mesa 23.2.2.
Mesa 23.1 has a regression [1] that breaks Wine if the GPU does not
It's unlikely that there will be any side effects from that,
- meson option "-Ddri-drivers" has been removed; wasn't used any
subsystem seeing too many changes
* 2nd bug fix release: lots of patches for all over the tree,
- U_glx-fix-indirect-initialization-crash.patch
- removing again BuildRequires for x264 and x265 in case
/usr/include/dxguids/dxguids.h:70:1: internal compiler error:
- spefile: removed Release lines from libxatracker2,
- build against llvm15/clang15 on sle15-sp5/Leap 15.5
schedule. There's a lot here: nir, panfrost, gallium video,
zink.
* fixes and cleanups all over the tree
only relevant on these platforms
* lot of great featurres, including (since rc5) additional
- _constraints:
- use _multibuild
makes sense since Mesa 21.1.0
- U_meson-restore-private-requires-to-libdrm-in-dri.pc-f.patch
- fixed llvm/clang buildrequires for sle15-sp4/Leap 15.4
- no longer try to build classic non-Gallium OpenGL drivers
* d3d12 GLES3.1 (shader storage buffers, images, compute, indirect draw, draw params,
- no longer install libvulkan_lvp package (lavapipe=Software
- update to 21.3.4
* fixes Mesa-drivers build
biggest changes.
* fixes build on ppc64le (boo#1191569)
OBS-URL: https://build.opensuse.org/request/show/1126573
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1241
2023-11-15 12:14:17 +01:00
%ifarch aarch64 x86_64 ppc64le s390x
2020-07-01 14:49:56 +02:00
BuildRequires : pkgconfig(valgrind)
%endif
2015-12-18 12:38:07 +01:00
BuildRequires : pkgconfig(libva)
2015-01-19 14:08:21 +01:00
BuildRequires : pkgconfig(presentproto)
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2016-06-10 10:26:56 +02:00
BuildRequires : pkgconfig(vdpau) >= 1.1
2022-08-20 10:53:29 +02:00
%ifarch %{ix86} x86_64
BuildRequires : pkgconfig(vulkan)
%endif
2018-12-12 16:38:41 +01:00
%endif
2012-02-13 11:05:48 +01:00
BuildRequires : pkgconfig(x11)
BuildRequires : pkgconfig(x11-xcb)
BuildRequires : pkgconfig(xcb-dri2)
2013-12-02 11:29:34 +01:00
BuildRequires : pkgconfig(xcb-dri3)
2012-02-13 11:05:48 +01:00
BuildRequires : pkgconfig(xcb-glx)
2013-12-02 11:29:34 +01:00
BuildRequires : pkgconfig(xcb-present)
2012-02-13 11:05:48 +01:00
BuildRequires : pkgconfig(xdamage)
BuildRequires : pkgconfig(xext)
BuildRequires : pkgconfig(xfixes)
2018-09-23 12:25:38 +02:00
BuildRequires : pkgconfig(xrandr)
2015-01-19 14:08:21 +01:00
BuildRequires : pkgconfig(xshmfence)
2012-02-13 11:05:48 +01:00
BuildRequires : pkgconfig(xxf86vm)
2013-07-15 15:37:01 +02:00
BuildRequires : pkgconfig(zlib)
2012-02-22 00:59:17 +01:00
Provides : Mesa7 = %{version}
Obsoletes : Mesa7 < %{version}
Provides : intel-i810-Mesa = %{version}
Obsoletes : intel-i810-Mesa < %{version}
2013-09-20 13:57:54 +02:00
Provides : Mesa-libIndirectGL1 = %{version}
Obsoletes : Mesa-libIndirectGL1 < %{version}
2015-01-19 14:08:21 +01:00
Provides : Mesa-nouveau3d = %{version}
2012-02-22 00:59:17 +01:00
Provides : xorg-x11-Mesa = %{version}
2015-01-19 14:08:21 +01:00
Obsoletes : Mesa-nouveau3d < %{version}
2012-03-01 14:56:33 +01:00
Obsoletes : xorg-x11-Mesa < %{version}
2017-12-10 13:52:00 +01:00
Provides : s2tc = %{version}
Obsoletes : s2tc < %{version}
2022-12-31 10:55:24 +01:00
Provides : libXvMC_nouveau = %{version}
Obsoletes : libXvMC_nouveau < %{version}
Provides : libXvMC_r600 = %{version}
Obsoletes : libXvMC_r600 < %{version}
2017-12-10 13:52:00 +01:00
Provides : libtxc_dxtn = %{version}
Obsoletes : libtxc_dxtn < %{version}
2019-01-08 11:40:50 +01:00
%ifarch %{arm} aarch64
BuildRequires : pkgconfig(libdrm_etnaviv) >= 2.4.89
2017-02-14 16:53:20 +01:00
BuildRequires : pkgconfig(libdrm_freedreno) >= 2.4.74
2017-05-11 10:52:56 +02:00
BuildRequires : pkgconfig(libelf)
2015-01-19 14:08:21 +01:00
%endif
2018-06-17 16:15:51 +02:00
%ifarch x86_64 %{ix86}
2015-01-19 14:08:21 +01:00
BuildRequires : libelf-devel
2017-05-11 10:52:56 +02:00
BuildRequires : pkgconfig(libdrm_intel) >= 2.4.75
2017-04-05 14:32:09 +02:00
%else
%if 0%{with_opencl}
BuildRequires : libelf-devel
%endif
2015-01-19 14:08:21 +01:00
%endif
2017-04-05 14:32:09 +02:00
# Requirements for wayland bumped up from 17.0
2017-04-12 14:32:31 +02:00
BuildRequires : pkgconfig(wayland-client) >= 1.11
2017-09-05 12:42:51 +02:00
BuildRequires : pkgconfig(wayland-protocols) >= 1.8
2017-04-12 14:32:31 +02:00
BuildRequires : pkgconfig(wayland-server) >= 1.11
2017-12-09 08:37:06 +01:00
%if 0%{with_llvm}
2020-11-30 16:00:07 +01:00
%if 0%{?suse_version} >= 1550
2020-12-01 13:34:31 +01:00
BuildRequires : llvm-devel
2020-01-30 01:00:43 +01:00
%else
2023-11-20 12:46:27 +01:00
%if 0%{?sle_version} >= 150600
BuildRequires : llvm17-devel
2020-11-30 16:00:07 +01:00
%endif
2022-03-11 14:26:33 +01:00
%endif
2022-11-05 10:24:57 +01:00
%endif
2007-01-10 01:57:03 +01:00
2015-12-02 16:16:15 +01:00
%if 0%{with_opencl}
2020-03-06 11:30:17 +01:00
%if 0%{?suse_version} >= 1550
2020-12-01 13:34:31 +01:00
BuildRequires : clang-devel
2020-11-30 16:00:07 +01:00
%else
2023-11-20 12:46:27 +01:00
%if 0%{?sle_version} >= 150600
BuildRequires : clang17-devel
2022-03-11 14:26:33 +01:00
%endif
2022-11-05 10:24:57 +01:00
%endif
2015-12-02 16:16:15 +01:00
BuildRequires : libclc
2023-11-20 15:47:28 +01:00
BuildRequires : pkgconfig(LLVMSPIRVLib)
2023-11-20 15:54:25 +01:00
BuildRequires : pkgconfig(SPIRV-Tools)
2023-01-18 16:05:39 +01:00
%if 0%{with_rusticl}
BuildRequires : rust
BuildRequires : rust-bindgen
%endif
2015-12-02 16:16:15 +01:00
%endif
2018-06-17 16:15:51 +02:00
Requires : Mesa-libEGL1 = %{version}
Requires : Mesa-libGL1 = %{version}
2017-05-21 23:30:37 +02:00
Requires : libglvnd >= 0.1.0
2017-03-27 15:16:13 +02:00
2018-01-19 16:26:51 +01:00
# This dependency on Mesa-dri and Mesa-gallium is here to make sure users that
# do not install recommends on their system still get working Mesa. It is
# ignored in obs when Mesa is installed as build dependency.
2018-02-15 10:31:00 +01:00
Requires : Mesa-dri = %{version}
2018-02-20 14:56:56 +01:00
%if 0%{have_gallium}
2018-02-15 10:31:00 +01:00
Requires : Mesa-gallium = %{version}
2018-02-20 14:56:56 +01:00
%endif
2018-01-19 16:26:51 +01:00
2007-01-10 01:57:03 +01:00
%description
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
syntax or state machine, it is being used with authorization from
Silicon Graphics, Inc.(SGI). However, the author does not possess an
OpenGL license from SGI, and makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with SGI. Those who
want a licensed implementation of OpenGL should contact a licensed
vendor.
Please do not refer to the library as MesaGL (for legal reasons). It's
just Mesa or The Mesa 3-D graphics library.
* OpenGL is a trademark of Silicon Graphics Incorporated.
2012-02-22 00:59:17 +01:00
%package devel
Summary : Libraries, includes and more to develop Mesa applications
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/X11
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
Requires : Mesa-dri-devel = %{version}
2019-10-07 18:47:05 +02:00
Requires : Mesa-libEGL-devel = %{version}
Requires : Mesa-libGL-devel = %{version}
Requires : Mesa-libGLESv1_CM-devel = %{version}
Requires : Mesa-libGLESv2-devel = %{version}
2018-02-15 10:31:00 +01:00
Requires : Mesa-libglapi-devel = %{version}
2021-04-17 20:19:08 +02:00
Requires : libOSMesa-devel = %{version}
2018-01-05 10:08:37 +01:00
Requires : libgbm-devel
2018-02-15 10:31:00 +01:00
Provides : Mesa-devel-static = %{version}
Provides : xorg-x11-Mesa-devel = %{version}
2019-10-07 18:47:05 +02:00
Requires : libglvnd-devel >= 1.2.0
2018-02-15 10:31:00 +01:00
Obsoletes : Mesa-devel-static < %{version}
Obsoletes : xorg-x11-Mesa-devel < %{version}
Provides : Mesa-libIndirectGL-devel = %{version}
Obsoletes : Mesa-libIndirectGL-devel < %{version}
Provides : s2tc-devel = %{version}
Obsoletes : s2tc-devel < %{version}
Provides : libtxc_dxtn-devel = %{version}
Obsoletes : libtxc_dxtn-devel < %{version}
2012-02-22 00:59:17 +01:00
%description devel
Mesa is a 3-D graphics library with an API which is very similar to
that of OpenGL.* To the extent that Mesa utilizes the OpenGL command
syntax or state machine, it is being used with authorization from
Silicon Graphics, Inc.(SGI). However, the author does not possess an
OpenGL license from SGI, and makes no claim that Mesa is in any way a
compatible replacement for OpenGL or associated with SGI. Those who
want a licensed implementation of OpenGL should contact a licensed
vendor.
Please do not refer to the library as MesaGL (for legal reasons). It's
just Mesa or The Mesa 3-D graphics library.
* OpenGL is a trademark of Silicon Graphics Incorporated.
2017-12-09 08:37:06 +01:00
%package libEGL1
2012-02-21 11:57:47 +01:00
# Kudos to Debian for the descriptions
2018-01-10 15:30:48 +01:00
Summary : EGL API implementation
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2017-05-21 23:30:37 +02:00
Requires : libglvnd >= 0.1.0
2007-01-10 01:57:03 +01:00
2017-12-09 08:37:06 +01:00
%description libEGL1
2012-02-21 11:57:47 +01:00
This package contains the EGL native platform graphics interface
library. EGL provides a platform-agnostic mechanism for creating
rendering surfaces for use with other graphics libraries, such as
OpenGL|ES and OpenVG.
2007-01-10 01:57:03 +01:00
2012-02-21 11:57:47 +01:00
This package contains modules to interface with the existing system
GLX or DRI2 drivers to provide OpenGL via EGL. The Mesa main package
provides drivers to provide hardware-accelerated OpenGL|ES and OpenVG
support.
2017-12-09 08:37:06 +01:00
%package libEGL-devel
2012-02-21 11:57:47 +01:00
Summary : Development files for the EGL API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2019-03-22 11:05:58 +01:00
Requires : Mesa-KHR-devel = %{version}
2018-02-15 10:31:00 +01:00
Requires : Mesa-libEGL1 = %{version}
2017-03-27 15:16:13 +02:00
Requires : libglvnd-devel >= 0.1.0
2020-08-25 07:58:28 +02:00
Requires : pkgconfig(x11)
2012-02-21 11:57:47 +01:00
# Other requires taken care of by pkgconfig already
2017-12-09 08:37:06 +01:00
%description libEGL-devel
2012-02-21 11:57:47 +01:00
This package contains the development environment required for
compiling programs against EGL native platform graphics interface
library. EGL provides a platform-agnostic mechanism for creating
rendering surfaces for use with other graphics libraries, such as
OpenGL|ES and OpenVG.
This package provides the development environment for compiling
programs against the EGL library.
2018-11-27 11:16:12 +01:00
%package KHR-devel
Summary : Mesa Khronos development headers
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-11-27 11:55:03 +01:00
Provides : Mesa-libGL-devel:/usr/include/KHR/khrplatform.h
2018-11-27 11:16:12 +01:00
%description KHR-devel
Mesa Khronos development headers.
2017-12-09 08:37:06 +01:00
%package libGL1
2012-02-21 11:57:47 +01:00
Summary : The GL/GLX runtime of the Mesa 3D graphics library
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
2017-05-21 23:30:37 +02:00
Requires : libglvnd >= 0.1.0
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%description libGL1
2012-02-21 11:57:47 +01:00
Mesa is a software library for 3D computer graphics that provides a
generic OpenGL implementation for rendering three-dimensional
graphics.
GLX (" O p e n G L E x t e n s i o n t o t h e X W i n d o w S y s t e m " ) provides the
interface connecting OpenGL and the X Window System: it enables
programs wishing to use OpenGL to do so within a window provided by
the X Window System.
2017-12-09 08:37:06 +01:00
%package libGL-devel
2012-02-21 11:57:47 +01:00
Summary : GL/GLX development files of the OpenGL API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-11-27 11:16:12 +01:00
Requires : Mesa-KHR-devel = %{version}
2018-02-15 10:31:00 +01:00
Requires : Mesa-libGL1 = %{version}
2017-03-27 15:16:13 +02:00
Requires : libglvnd-devel >= 0.1.0
2022-06-15 12:10:28 +02:00
Requires : pkgconfig(x11)
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%description libGL-devel
2012-02-21 11:57:47 +01:00
Mesa is a software library for 3D computer graphics that provides a
generic OpenGL implementation for rendering three-dimensional
graphics.
This package includes headers and static libraries for compiling
programs with Mesa.
2017-12-09 08:37:06 +01:00
%package libGLESv1_CM-devel
2012-10-16 10:42:59 +02:00
Summary : Development files for the OpenGL ES 1.x API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-11-27 11:16:12 +01:00
Requires : Mesa-KHR-devel = %{version}
2017-03-27 15:16:13 +02:00
Requires : libglvnd-devel >= 0.1.0
2020-08-25 07:58:28 +02:00
Requires : pkgconfig(egl)
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%description libGLESv1_CM-devel
2018-01-10 15:30:48 +01:00
OpenGL|ES is an API for full-function 2D and 3D
2012-02-21 11:57:47 +01:00
graphics on embedded systems - including consoles, phones, appliances
and vehicles. It contains a subset of OpenGL plus a number of
extensions for the special needs of embedded systems.
OpenGL|ES 1.x provides an API for fixed-function hardware.
This package provides a development environment for building programs
using the OpenGL|ES 1.x APIs.
2017-12-09 08:37:06 +01:00
%package libGLESv2-devel
2013-03-13 17:30:13 +01:00
Summary : Development files for the OpenGL ES 2.x API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-11-27 11:16:12 +01:00
Requires : Mesa-KHR-devel = %{version}
2017-03-27 15:16:13 +02:00
Requires : libglvnd-devel >= 0.1.0
2020-08-25 07:58:28 +02:00
Requires : pkgconfig(egl)
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%description libGLESv2-devel
2018-01-10 15:30:48 +01:00
OpenGL|ES is an API for full-function 2D and 3D
2012-02-21 11:57:47 +01:00
graphics on embedded systems - including consoles, phones, appliances
and vehicles. It contains a subset of OpenGL plus a number of
extensions for the special needs of embedded systems.
OpenGL|ES 2.x provides an API for programmable hardware including
vertex and fragment shaders.
This package provides a development environment for building
2013-03-13 17:30:13 +01:00
applications using the OpenGL|ES 2.x APIs.
2017-12-09 08:37:06 +01:00
%package libGLESv3-devel
2013-03-13 17:30:13 +01:00
Summary : Development files for the OpenGL ES 3.x API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-11-27 11:16:12 +01:00
Requires : Mesa-KHR-devel = %{version}
2018-06-17 16:15:51 +02:00
Requires : pkgconfig(egl)
2013-03-13 17:30:13 +01:00
2017-12-09 08:37:06 +01:00
%description libGLESv3-devel
2018-01-10 15:30:48 +01:00
OpenGL|ES is an API for full-function 2D and 3D
2013-03-13 17:30:13 +01:00
graphics on embedded systems - including consoles, phones, appliances
and vehicles. It contains a subset of OpenGL plus a number of
extensions for the special needs of embedded systems.
This package provides a development environment for building
applications using the OpenGL|ES 3.x APIs.
2012-02-21 11:57:47 +01:00
2018-01-05 10:08:37 +01:00
%package -n libOSMesa8
2012-02-21 11:57:47 +01:00
Summary : Mesa Off-screen rendering extension
2020-01-14 12:12:27 +01:00
# Wrongly named package shipped .so.8
2020-01-22 17:10:11 +01:00
Group : System/Libraries
2018-02-15 10:31:00 +01:00
Obsoletes : libOSMesa9 < %{version}
Provides : libOSMesa9 = %{version}
2012-02-21 11:57:47 +01:00
2018-01-05 10:08:37 +01:00
%description -n libOSMesa8
2012-02-21 11:57:47 +01:00
OSmesa is a Mesa extension that allows programs to render to an
off-screen buffer using the OpenGL API without having to create a
rendering context on an X Server. It uses a pure software renderer.
2018-01-05 10:08:37 +01:00
%package -n libOSMesa-devel
2012-08-27 11:57:08 +02:00
Summary : Development files for the Mesa Offscreen Rendering extension
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : libOSMesa8 = %{version}
2012-08-27 11:57:08 +02:00
2018-01-05 10:08:37 +01:00
%description -n libOSMesa-devel
2012-08-27 11:57:08 +02:00
Development files for the OSmesa Mesa extension that allows programs to render to an
off-screen buffer using the OpenGL API without having to create a
rendering context on an X Server. It uses a pure software renderer.
2017-12-09 08:37:06 +01:00
%package libglapi0
2012-08-27 11:57:08 +02:00
Summary : Free implementation of the GL API
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2012-08-27 11:57:08 +02:00
2017-12-09 08:37:06 +01:00
%description libglapi0
2012-08-27 11:57:08 +02:00
The Mesa GL API module is responsible for dispatching all the gl*
functions. It is intended to be mainly used by the Mesa-libGLES*
packages.
2017-12-09 08:37:06 +01:00
%package libglapi-devel
2018-01-10 15:30:48 +01:00
Summary : Development files for the Mesa GL API implementation
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : Mesa-libglapi0 = %{version}
2012-08-27 11:57:08 +02:00
2017-12-09 08:37:06 +01:00
%description libglapi-devel
2013-07-15 15:37:01 +02:00
Development files for the Mesa GL API module which is responsible for
2012-08-27 11:57:08 +02:00
dispatching all the gl* functions. It is intended to be mainly used by
the Mesa-libGLES* packages.
2018-01-05 10:08:37 +01:00
%package -n Mesa-dri
Summary : DRI plug-ins for 3D acceleration
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
2018-01-05 10:08:37 +01:00
Supplements: Mesa
%description -n Mesa-dri
This package contains Mesa DRI drivers for 3D acceleration.
2017-12-09 08:37:06 +01:00
%package dri-devel
2014-10-27 08:38:50 +01:00
Summary : Development files for the DRI API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
2014-10-27 08:38:50 +01:00
2017-12-09 08:37:06 +01:00
%description dri-devel
2014-10-27 08:38:50 +01:00
This package contains the development environment required for
compiling programs and libraries using the DRI API.
2018-01-05 10:08:37 +01:00
%package -n Mesa-dri-nouveau
2016-10-17 15:45:42 +02:00
Summary : Mesa DRI plug-in for 3D acceleration via Nouveau
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
2016-10-17 15:45:42 +02:00
2018-01-05 10:08:37 +01:00
%description -n Mesa-dri-nouveau
2016-10-17 15:45:42 +02:00
This package contains nouveau_dri.so, which is necessary for
Nouveau's 3D acceleration to work. It is packaged separately
since it is still experimental.
2018-02-16 17:57:28 +01:00
%package -n Mesa-dri-vc4
Summary : Mesa DRI plug-in for 3D acceleration on Raspberry Pi
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2018-02-16 17:57:28 +01:00
Requires : Mesa = %{version}
%description -n Mesa-dri-vc4
This package contains vc4_dri.so, which is necessary for 3D
acceleration on the Raspberry Pi to work. It is packaged separately
since it is still experimental.
2018-01-05 10:08:37 +01:00
%package -n Mesa-gallium
2018-01-10 15:30:48 +01:00
Summary : Mesa Gallium GPU drivers
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2018-02-15 10:31:00 +01:00
Requires : Mesa = %{version}
2018-01-05 10:08:37 +01:00
Supplements: Mesa
%description -n Mesa-gallium
2018-01-10 15:30:48 +01:00
This package contains Mesa Gallium drivers for 3D acceleration.
2018-01-05 10:08:37 +01:00
%package -n libgbm1
2012-02-21 11:57:47 +01:00
Summary : Generic buffer management API
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2012-02-21 11:57:47 +01:00
2018-01-05 10:08:37 +01:00
%description -n libgbm1
2012-02-21 11:57:47 +01:00
This package contains the GBM buffer management library. It provides
a mechanism for allocating buffers for graphics rendering tied to
Mesa.
GBM is intended to be used as a native platform for EGL on drm or
openwfd.
2018-01-05 10:08:37 +01:00
%package -n libgbm-devel
2012-02-21 11:57:47 +01:00
Summary : Development files for the EGL API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : libgbm1 = %{version}
2012-02-21 11:57:47 +01:00
2018-01-05 10:08:37 +01:00
%description -n libgbm-devel
2012-02-21 11:57:47 +01:00
This package contains the GBM buffer management library. It provides
a mechanism for allocating buffers for graphics rendering tied to
Mesa.
GBM is intended to be used as a native platform for EGL on drm or
openwfd.
This package provides the development environment for compiling
programs against the GBM library.
2018-01-05 10:08:37 +01:00
%package -n Mesa-libd3d
2015-01-29 10:49:12 +01:00
Summary : Mesa Direct3D9 state tracker
2020-01-14 12:12:27 +01:00
# Manually provide d3d library (bnc#918294)
2020-01-22 17:10:11 +01:00
Group : System/Libraries
2019-09-09 14:35:32 +02:00
%ifarch x86_64 s390x ppc64 ppc64le aarch64 riscv64
2015-02-23 17:04:26 +01:00
Provides : d3dadapter9.so.1()(64bit)
%else
Provides : d3dadapter9.so.1
%endif
2015-01-29 10:49:12 +01:00
2018-01-05 10:08:37 +01:00
%description -n Mesa-libd3d
2015-01-29 10:49:12 +01:00
Mesa Direct3D9 state tracker
2018-01-05 10:08:37 +01:00
%package -n Mesa-libd3d-devel
2015-01-29 10:49:12 +01:00
Summary : Mesa Direct3D9 state tracker development package
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : Mesa-libd3d = %{version}
2015-01-29 10:49:12 +01:00
2018-01-05 10:08:37 +01:00
%description -n Mesa-libd3d-devel
2015-01-29 10:49:12 +01:00
Mesa Direct3D9 state tracker development package
2012-06-12 17:58:01 +02:00
%package -n libvdpau_nouveau
2022-12-31 10:55:24 +01:00
Summary : VDPAU state tracker for Nouveau
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2021-06-02 12:26:06 +02:00
Supplements: modalias(pci:v000010DEd*sv*sd*bc03sc*i*)
Supplements: modalias(pci:v000012D2d*sv*sd*bc03sc*i*)
2012-06-12 17:58:01 +02:00
%description -n libvdpau_nouveau
2015-01-19 14:08:21 +01:00
This package contains the VDPAU state tracker for Nouveau.
2012-06-12 17:58:01 +02:00
%package -n libvdpau_r600
2022-12-31 10:55:24 +01:00
Summary : VDPAU state tracker for R600
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2022-05-14 22:53:58 +02:00
Supplements: modalias(pci:v00001002d*sv*sd*bc03sc*i*)
2012-06-12 17:58:01 +02:00
%description -n libvdpau_r600
2015-01-19 14:08:21 +01:00
This package contains the VDPAU state tracker for R600.
2012-06-12 17:58:01 +02:00
2013-07-15 15:37:01 +02:00
%package -n libvdpau_radeonsi
2022-12-31 10:55:24 +01:00
Summary : VDPAU state tracker for radeonsi
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2022-05-14 22:53:58 +02:00
Supplements: modalias(pci:v00001002d*sv*sd*bc03sc*i*)
2012-09-03 13:00:50 +02:00
2013-07-15 15:37:01 +02:00
%description -n libvdpau_radeonsi
2015-01-19 14:08:21 +01:00
This package contains the VDPAU state tracker for radeonsi.
2012-09-03 13:00:50 +02:00
2022-12-31 10:55:24 +01:00
%package -n libvdpau_virtio_gpu
Summary : VDPAU state tracker for VirtIO GPU
Group : System/Libraries
%description -n libvdpau_virtio_gpu
This package contains the VDPAU state tracker for VirtIO GPU.
2018-01-05 10:08:37 +01:00
%package -n Mesa-libOpenCL
2023-01-18 16:05:39 +01:00
Summary : Mesa OpenCL implementation (Clover)
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2021-04-17 20:19:08 +02:00
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
Requires : libclc(llvm%{_llvm_sonum})
%else
2017-06-16 10:17:26 +02:00
Requires : libclc
2021-04-17 20:19:08 +02:00
%endif
2015-12-02 16:16:15 +01:00
2018-01-05 10:08:37 +01:00
%description -n Mesa-libOpenCL
2015-12-02 16:16:15 +01:00
This package contains the Mesa OpenCL implementation or GalliumCompute.
2023-01-18 16:05:39 +01:00
%package -n Mesa-libRusticlOpenCL
Summary : Mesa OpenCL implementation (Rusticl)
Group : System/Libraries
%if 0%{?suse_version} >= 1550 || 0%{?sle_version} >= 150300
Requires : libclc(llvm%{_llvm_sonum})
%else
Requires : libclc
%endif
%description -n Mesa-libRusticlOpenCL
This package contains the Mesa Rust-written OpenCL implementation.
2018-01-05 10:08:37 +01:00
%package -n Mesa-libva
2015-12-18 12:38:07 +01:00
Summary : Mesa VA-API implementation
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2015-12-18 12:38:07 +01:00
Supplements: Mesa
2018-01-05 10:08:37 +01:00
%description -n Mesa-libva
2015-12-18 12:38:07 +01:00
This package contains the Mesa VA-API implementation provided through gallium.
2016-06-10 10:26:56 +02:00
%package -n libvulkan_intel
Summary : Mesa vulkan driver for Intel GPU
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2022-03-01 19:32:43 +01:00
Supplements: modalias(pci:v00008086d*sv*sd*bc03sc*i*)
Requires : Mesa-vulkan-device-select
2022-11-08 14:52:57 +01:00
# get rid of this package, which is no longer neeeded at all
Provides : Mesa-libVulkan-devel = 22.0.0
Obsoletes : Mesa-libVulkan-devel < 22.0.0
2016-06-10 10:26:56 +02:00
%description -n libvulkan_intel
This package contains the Vulkan parts for Mesa.
2017-01-19 11:56:56 +01:00
%package -n libvulkan_radeon
Summary : Mesa vulkan driver for AMD GPU
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2022-03-01 19:32:43 +01:00
Supplements: modalias(pci:v00001002d*sv*sd*bc03sc*i*)
Requires : Mesa-vulkan-device-select
2017-01-19 11:56:56 +01:00
%description -n libvulkan_radeon
This package contains the Vulkan parts for Mesa.
2021-05-22 11:30:52 +02:00
%package -n libvulkan_lvp
Summary : Mesa vulkan driver for LVP
Group : System/Libraries
2022-03-01 19:32:43 +01:00
Requires : Mesa-vulkan-device-select
2021-05-22 11:30:52 +02:00
%description -n libvulkan_lvp
This package contains the Vulkan parts for Mesa.
%ifarch %{arm} aarch64
%package -n libvulkan_broadcom
Summary : Mesa vulkan driver for Broadcom
Group : System/Libraries
%description -n libvulkan_broadcom
This package contains the Vulkan parts for Mesa.
%package -n libvulkan_freedreno
Summary : Mesa vulkan driver for Freedreno
Group : System/Libraries
%description -n libvulkan_freedreno
This package contains the Vulkan parts for Mesa.
%endif
2020-08-25 11:37:06 +02:00
%package -n Mesa-vulkan-device-select
Summary : Vulkan layer to select Vulkan devices provided by Mesa
Group : System/Libraries
%description -n Mesa-vulkan-device-select
This package contains the VK_MESA_device_select Vulkan layer
%package -n Mesa-vulkan-overlay
Summary : Mesa Vulkan Overlay layer
Group : System/Libraries
%description -n Mesa-vulkan-overlay
This package contains the VK_MESA_Overlay Vulkan layer
2016-06-17 17:15:38 +02:00
%package -n libxatracker2
Version : 1.0.0
Summary : XA state tracker
2019-10-17 23:10:36 +02:00
Group : System/Libraries
2016-06-17 17:15:38 +02:00
%description -n libxatracker2
This package contains the XA state tracker for gallium3D driver.
It superseeds the Xorg state tracker and provides an infrastructure
to accelerate Xorg 2D operations. It is currently used by vmwgfx
video driver.
%package -n libxatracker-devel
Version : 1.0.0
Summary : Development files for the XA API
2019-10-17 23:10:36 +02:00
Group : Development/Libraries/C and C++
2018-02-15 10:31:00 +01:00
Requires : libxatracker2 = %{version}
2016-06-17 17:15:38 +02:00
%description -n libxatracker-devel
This package contains the XA state tracker for gallium3D driver.
It superseeds the Xorg state tracker and provides an infrastructure
to accelerate Xorg 2D operations. It is currently used by vmwgfx
video driver.
This package provides the development environment for compiling
programs against the XA state tracker.
2007-01-10 01:57:03 +01:00
%prep
2015-03-09 11:45:09 +01:00
%setup -q -n %{_name_archive}-%{_version} -b4
2010-07-19 13:29:59 +02:00
# remove some docs
rm -rf docs/README.{VMS,WIN32,OS2}
2017-03-27 15:16:13 +02:00
2019-10-25 22:12:51 +02:00
%patch2 -p1
2023-09-21 21:08:18 +02:00
%patch4 -p1
2023-10-15 05:51:58 +02:00
%patch10 -p1
2021-06-22 11:52:48 +02:00
# no longer needed since gstreamer-plugins-vaapi 1.18.4
%if 0%{?suse_version} < 1550
2018-10-26 13:17:37 +02:00
%patch54 -p1
2021-06-22 11:52:48 +02:00
%endif
2019-03-04 21:05:54 +01:00
%patch58 -p1
2020-10-15 12:01:19 +02:00
%patch100 -p1
2023-09-25 13:14:02 +02:00
#%patch200 -p1
2022-12-31 10:55:24 +01:00
%patch400 -p1
2017-04-07 17:06:33 +02:00
2017-06-07 15:55:26 +02:00
# Remove requires to vulkan libs from baselibs.conf on platforms
# where vulkan build is disabled; ugly ...
%if 0%{?with_vulkan} == 0
2018-01-10 15:30:48 +01:00
grep -v -i vulkan " %{_sourcedir} / b a s e l i b s . c o n f " >" %{_sourcedir} / t e m p " && \
mv " %{_sourcedir} / t e m p " " %{_sourcedir} / b a s e l i b s . c o n f "
2017-06-07 15:55:26 +02:00
%endif
2007-01-10 01:57:03 +01:00
%build
2022-01-17 11:58:42 +01:00
# try to avoid OOM on ppc64 (boo#1194739)
%ifarch ppc64 ppc64le
2022-03-02 14:35:10 +01:00
%limit_build -m 1024
2022-01-17 11:58:42 +01:00
%endif
2023-01-27 10:52:33 +01:00
%if 0%{?sle_version} >= 150400
2023-01-18 16:11:04 +01:00
export CC=gcc-12
export CXX=g++-12
%endif
2022-01-17 11:58:42 +01:00
2021-01-04 21:18:03 +01:00
egl_platforms=x11,wayland
Accepting request 400597 from home:tobijk:X11:XOrg
- Update to version 12.0.0-rc2:
- New features:
+ OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
+ OpenGL ES 3.1 on nvc0, radeonsi
+ GL_ARB_ES3_1_compatibility on nvc0, radeonsi
+ GL_ARB_compute_shader on nvc0, radeonsi, softpipe
+ GL_ARB_cull_distance on i965/gen6+, nv50, nvc0, llvmpipe, softpipe
+ GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
+ GL_ARB_internalformat_query2 on all drivers
+ GL_ARB_query_buffer_object on i965/hsw+
+ GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
+ GL_ARB_shader_atomic_counters on radeonsi, softpipe
+ GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_load_store on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_size on nvc0, radeonsi, softpipe
+ GL_ARB_shader_storage_buffer_objects on radeonsi, softpipe
+ GL_ATI_fragment_shader on all Gallium drivers
+ GL_EXT_base_instance on all drivers that support GL_ARB_base_instance
+ GL_EXT_clip_cull_distance on all drivers that support GL_ARB_cull_distance
+ GL_KHR_robustness on i965
+ GL_OES_copy_image on i965 (Baytrail and Gen8+)
+ GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers
that support GL_ARB_draw_buffers_blend
+GL_OES_gpu_shader5 and GL_EXT_gpu_shader5 on all drivers that support
GL_ARB_gpu_shader5
+GL_OES_sample_shading on i965, nvc0, r600, radeonsi
+GL_OES_sample_variables on i965, nvc0, r600, radeonsi
+GL_OES_shader_image_atomic on all drivers that support
GL_ARB_shader_image_load_store
+GL_OES_shader_io_blocks on i965, nvc0, radeonsi
OBS-URL: https://build.opensuse.org/request/show/400597
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=520
2016-06-08 04:40:52 +02:00
2023-06-10 16:16:28 +02:00
# needed to fix build of Mesa 23.1
# Mesa-drivers: -Dshader-cache=enabled
# Mesa: -Dxlib-lease=enabled
# recommended for both Mesa and Mesa-drivers to avoid some scary messages when
# comparing fds: -Dallow-kcmp=enabled
# Credits for figuring this out go to "llyyr" <llyyr.public@gmail.com>
2019-01-30 17:33:21 +01:00
%meson \
--auto-features=disabled \
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2021-04-17 20:19:08 +02:00
-Dosmesa=false \
2023-06-16 13:55:11 +02:00
-Dglx=disabled \
2023-02-23 16:26:00 +01:00
-Dxmlconfig=enabled \
2023-06-23 09:54:29 +02:00
-Dexpat=enabled \
2023-06-10 16:16:28 +02:00
-Dshader-cache=enabled \
2018-01-05 10:08:37 +01:00
%else
2021-04-17 20:19:08 +02:00
-Dosmesa=true \
2019-01-30 17:33:21 +01:00
-Dglx=auto \
2023-01-18 16:05:39 +01:00
-Dllvm=disabled \
2019-01-30 17:33:21 +01:00
-Dvulkan-drivers= \
2018-01-05 10:08:37 +01:00
%endif
2023-06-16 14:49:52 +02:00
-Dxlib-lease=enabled \
2023-06-16 13:55:11 +02:00
-Dglvnd=true \
-Dgles1=enabled \
-Dgles2=enabled \
-Degl=enabled \
2023-06-10 16:16:28 +02:00
-Dallow-kcmp=enabled \
2019-01-30 17:33:21 +01:00
-Dplatforms=$egl_platforms \
2023-01-18 16:05:39 +01:00
-Ddri3=enabled \
-Dshared-glapi=enabled \
2017-12-09 08:37:06 +01:00
%if 0%{?with_nine}
2019-01-30 17:33:21 +01:00
-Dgallium-nine=true \
2017-12-09 08:37:06 +01:00
%endif
2015-01-19 14:08:21 +01:00
%if %{glamor}
2023-01-18 16:05:39 +01:00
-Dgbm=enabled \
2013-07-15 15:37:01 +02:00
%endif
2017-01-01 21:21:51 +01:00
%if 0%{with_opencl}
2019-01-30 17:33:21 +01:00
-Dgallium-opencl=icd \
2020-08-31 22:10:10 +02:00
%if 0%{?suse_version} >= 1550
2020-06-23 20:31:57 +02:00
--sysconfdir=%{_datadir} \
2020-08-31 22:10:10 +02:00
%endif
2023-01-18 16:05:39 +01:00
%if 0%{with_rusticl}
-Dgallium-rusticl=true \
-Drust_std=2021 \
%endif
2017-01-01 21:21:51 +01:00
%endif
2019-01-30 17:33:21 +01:00
-Ddri-search-path=%{_libdir} /dri \
2017-12-09 08:37:06 +01:00
%if 0%{with_llvm}
2023-01-18 16:05:39 +01:00
-Dllvm=enabled \
-Dshared-llvm=enabled \
2017-02-22 10:41:13 +01:00
%endif
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2022-09-29 12:02:26 +02:00
%if %{video_codecs}
2022-09-23 03:12:15 +02:00
-Dvideo-codecs=h264dec,h264enc,h265dec,h265enc,vc1dec \
2022-09-29 12:02:26 +02:00
%endif
2019-03-04 21:05:54 +01:00
%if %{gallium_loader}
2023-01-18 16:05:39 +01:00
-Dgallium-vdpau=enabled \
-Dgallium-va=enabled \
-Dgallium-xa=enabled \
2019-03-04 21:05:54 +01:00
%endif
2017-01-01 21:21:51 +01:00
%if 0%{with_vulkan}
2021-05-22 11:30:52 +02:00
-Dvulkan-drivers=%{?vulkan_drivers} \
2021-05-14 05:51:13 +02:00
-Dvulkan-layers=device-select,overlay \
2019-03-04 12:02:37 +01:00
%else
-Dvulkan-drivers= \
2019-01-30 17:33:21 +01:00
%endif
2018-06-17 16:15:51 +02:00
%ifarch %{ix86} x86_64
2022-08-20 10:53:29 +02:00
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,svga,virgl,iris,crocus,i915,d3d12,zink \
2019-03-04 21:05:54 +01:00
%else
2018-06-17 16:15:51 +02:00
%ifarch %{arm} aarch64
2023-01-02 11:18:24 +01:00
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl,freedreno,vc4,etnaviv,lima,panfrost,v3d,svga,tegra \
2019-03-04 21:05:54 +01:00
%else
2021-04-09 16:39:10 +02:00
%ifarch ppc64 ppc64le riscv64
2023-01-02 11:18:24 +01:00
-Dgallium-drivers=r300,r600,radeonsi,nouveau,swrast,virgl \
2019-03-04 21:05:54 +01:00
%else
2020-01-29 19:00:32 +01:00
-Dgallium-drivers=swrast \
2019-03-04 21:05:54 +01:00
%endif
%endif
2017-12-09 08:37:06 +01:00
%endif
2018-01-05 10:08:37 +01:00
%else
2021-04-17 15:02:19 +02:00
-Dgallium-drivers=swrast \
2008-07-08 22:21:48 +02:00
%endif
Accepting request 1126573 from home:dirkmueller:Factory
- build with valgrind only on 64bit platforms
previous release or wait for Mesa 23.2.2.
Mesa 23.1 has a regression [1] that breaks Wine if the GPU does not
It's unlikely that there will be any side effects from that,
- meson option "-Ddri-drivers" has been removed; wasn't used any
subsystem seeing too many changes
* 2nd bug fix release: lots of patches for all over the tree,
- U_glx-fix-indirect-initialization-crash.patch
- removing again BuildRequires for x264 and x265 in case
/usr/include/dxguids/dxguids.h:70:1: internal compiler error:
- spefile: removed Release lines from libxatracker2,
- build against llvm15/clang15 on sle15-sp5/Leap 15.5
schedule. There's a lot here: nir, panfrost, gallium video,
zink.
* fixes and cleanups all over the tree
only relevant on these platforms
* lot of great featurres, including (since rc5) additional
- _constraints:
- use _multibuild
makes sense since Mesa 21.1.0
- U_meson-restore-private-requires-to-libdrm-in-dri.pc-f.patch
- fixed llvm/clang buildrequires for sle15-sp4/Leap 15.4
- no longer try to build classic non-Gallium OpenGL drivers
* d3d12 GLES3.1 (shader storage buffers, images, compute, indirect draw, draw params,
- no longer install libvulkan_lvp package (lavapipe=Software
- update to 21.3.4
* fixes Mesa-drivers build
biggest changes.
* fixes build on ppc64le (boo#1191569)
OBS-URL: https://build.opensuse.org/request/show/1126573
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=1241
2023-11-15 12:14:17 +01:00
%ifarch aarch64 x86_64 ppc64le s390x
2023-01-18 16:05:39 +01:00
-Dvalgrind=enabled \
2020-07-01 14:49:56 +02:00
%endif
2019-01-30 17:33:21 +01:00
-Db_ndebug=true \
2020-01-29 14:36:55 +01:00
-Dc_args=" %{optflags} " \
2021-08-08 10:54:14 +02:00
%ifarch %ix86
-Dcpp_args=" $ ( e c h o %{optflags} | s e d ' s / - f l t o = a u t o / / ' ) "
%else
2020-01-29 14:36:55 +01:00
-Dcpp_args=" %{optflags} "
2021-08-08 10:54:14 +02:00
%endif
2019-01-30 17:33:21 +01:00
%meson_build
2013-12-17 15:00:58 +01:00
%install
2019-01-30 17:33:21 +01:00
%meson_install
2015-01-19 14:08:21 +01:00
find %{buildroot} -type f -name " * . l a " -delete -print
2013-07-29 15:54:03 +02:00
2018-08-27 13:00:14 +02:00
# libwayland-egl is provided by wayland itself
rm -f %{buildroot} /%{_libdir} /libwayland-egl.so*
rm -f %{buildroot} /%{_libdir} /pkgconfig/wayland-egl.pc
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2018-01-05 10:08:37 +01:00
# Delete things that we do not package in the Mesa-drivers variant, but can
# not disable from buildling and installing.
2019-01-30 17:33:21 +01:00
rm -f %{buildroot} /%{_libdir} /libEGL.so*
# in Mesa-libEGL-devel
rm %{buildroot} /%{_includedir} /EGL/egl.h
rm %{buildroot} /%{_includedir} /EGL/eglext.h
2022-12-31 10:55:24 +01:00
rm %{buildroot} /%{_includedir} /EGL/eglext_angle.h
2019-01-30 17:33:21 +01:00
rm %{buildroot} /%{_includedir} /EGL/eglmesaext.h
rm %{buildroot} /%{_includedir} /EGL/eglplatform.h
2018-01-05 10:08:37 +01:00
# in Mesa-libGL-devel
rm -rf %{buildroot} /%{_includedir} /GL
2023-06-16 13:55:11 +02:00
#in Mesa-libGLESv1_CM-devel
rm -rf %{buildroot} /%{_includedir} /GLES
#in Mesa-libGLESv2-devel
rm -rf %{buildroot} /%{_includedir} /GLES2
#in Mesa-libGLESv3-devel
rm -rf %{buildroot} /%{_includedir} /GLES3
#in Mesa-libEGL1
rm -f %{buildroot} /%{_libdir} /libEGL_mesa.so*
rm -rf %{buildroot} /%{_datadir} /glvnd
2018-01-05 10:08:37 +01:00
# in Mesa-libglapi0
rm %{buildroot} /%{_libdir} /libglapi.so*
# in libwayland-egl1
2018-08-13 17:19:50 +02:00
rm -f %{buildroot} /%{_libdir} /libwayland-egl.so*
rm -f %{buildroot} /%{_libdir} /pkgconfig/wayland-egl.pc
2018-01-05 10:08:37 +01:00
# in Mesa-dri-devel
rm %{buildroot} /%{_libdir} /pkgconfig/dri.pc
2018-11-27 11:16:12 +01:00
# in KHR-devel
2018-11-15 16:47:11 +01:00
rm -rf %{buildroot} /%{_includedir} /KHR
2019-04-11 12:57:13 +02:00
# workaround needed since Mesa 19.0.2
rm -f %{buildroot} /%{_libdir} /vdpau/libvdpau_gallium.so
2018-01-05 10:08:37 +01:00
%else
2022-11-02 10:46:49 +01:00
# package in Mesa-dri
rm -rf %{buildroot} /%{_datadir} /drirc.d
2019-01-30 17:33:21 +01:00
2021-04-17 13:19:22 +02:00
rm -f %{buildroot} /%{_libdir} /dri/*_dri.so
2019-01-30 17:33:21 +01:00
2017-03-27 15:16:13 +02:00
rm -f %{buildroot} %{_libdir} /libGLES*
# glvnd needs a default provider for indirect rendering where it cannot
# determine the vendor
ln -s %{_libdir} /libGLX_mesa.so.0 %{buildroot} %{_libdir} /libGLX_indirect.so.0
2013-07-29 15:54:03 +02:00
2019-10-08 00:02:22 +02:00
# pickup pkgconfig files from libglvnd build
rm -f %{buildroot} /%{_libdir} /pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc
install -m 0644 /usr/share/doc/packages/libglvnd/pkgconfig/{gl,egl,glesv1_cm,glesv2}.pc \
%{buildroot} /%{_libdir} /pkgconfig/
2012-09-03 13:00:50 +02:00
for dir in ../xc/doc/man/{GL/gl,GL/glx}; do
2013-07-15 15:37:01 +02:00
pushd $dir
xmkmf -a
2018-07-12 16:23:48 +02:00
make %{?_smp_mflags} V=1
2015-01-19 14:08:21 +01:00
make install.man DESTDIR=%{buildroot} MANPATH=%{_mandir} LIBMANSUFFIX=3gl
2013-07-15 15:37:01 +02:00
popd
2007-01-10 01:57:03 +01:00
done
2018-01-05 10:08:37 +01:00
%endif
2013-09-10 17:08:28 +02:00
2015-01-19 14:08:21 +01:00
%fdupes -s %{buildroot} /%{_mandir}
2007-01-10 01:57:03 +01:00
2022-04-13 23:39:55 +02:00
%if "%{flavor}" != "drivers"
2018-01-15 16:45:22 +01:00
# Use dummy README file that can be included in both Mesa and Mesa-32bit. This way Mesa-32bit will be build (otherwise it would be skipped as empty) and it can be used by the other *-32bit packages.
echo " T h e \" M e s a \" p a c k a g e d o e s n o t h a v e t h e a b i l i t y t o r e n d e r , b u t i s s u p p l e m e n t e d b y \" M e s a - d r i \" a n d \" M e s a - g a l l i u m \" w h i c h c o n t a i n t h e d r i v e r s f o r r e n d e r i n g " > docs/README.package.%{_arch}
%endif
2012-02-21 11:57:47 +01:00
%post -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2007-01-10 01:57:03 +01:00
%postun -p /sbin/ldconfig
2012-02-21 12:52:23 +01:00
2017-12-09 08:37:06 +01:00
%post libEGL1 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2017-12-09 08:37:06 +01:00
%postun libEGL1 -p /sbin/ldconfig
2012-02-21 12:52:23 +01:00
2017-12-09 08:37:06 +01:00
%post libGL1 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2017-12-09 08:37:06 +01:00
%postun libGL1 -p /sbin/ldconfig
2012-02-21 12:52:23 +01:00
2018-01-05 10:08:37 +01:00
%post -n libOSMesa8 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2018-01-05 10:08:37 +01:00
%postun -n libOSMesa8 -p /sbin/ldconfig
2012-02-21 12:52:23 +01:00
2018-01-05 10:08:37 +01:00
%post -n libgbm1 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2018-01-05 10:08:37 +01:00
%postun -n libgbm1 -p /sbin/ldconfig
2012-02-21 12:52:23 +01:00
2013-12-02 11:29:34 +01:00
%post -n libxatracker2 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2013-12-02 11:29:34 +01:00
%postun -n libxatracker2 -p /sbin/ldconfig
2012-06-12 17:58:01 +02:00
2017-12-09 08:37:06 +01:00
%post libglapi0 -p /sbin/ldconfig
2015-01-19 14:08:21 +01:00
2017-12-09 08:37:06 +01:00
%postun libglapi0 -p /sbin/ldconfig
2007-01-10 01:57:03 +01:00
2018-01-05 10:08:37 +01:00
%post -n Mesa-libd3d -p /sbin/ldconfig
2015-05-12 11:00:31 +02:00
2018-01-05 10:08:37 +01:00
%postun -n Mesa-libd3d -p /sbin/ldconfig
2015-01-27 12:52:02 +01:00
2022-04-13 23:39:55 +02:00
%if "%{flavor}" != "drivers"
2007-01-10 01:57:03 +01:00
%files
2020-09-29 12:26:38 +02:00
%license docs/license.rst
2018-06-17 16:15:51 +02:00
%doc docs/README*
2007-01-10 01:57:03 +01:00
2017-12-09 08:37:06 +01:00
%files libEGL1
2017-03-27 15:16:13 +02:00
%{_libdir} /libEGL_mesa.so*
%dir %{_datadir} /glvnd
%dir %{_datadir} /glvnd/egl_vendor.d
%{_datadir} /glvnd/egl_vendor.d/50_mesa.json
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libEGL-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /EGL
2019-10-08 00:02:22 +02:00
%{_libdir} /pkgconfig/egl.pc
2012-02-21 11:57:47 +01:00
2018-11-27 11:16:12 +01:00
%files KHR-devel
%{_includedir} /KHR
2017-12-09 08:37:06 +01:00
%files libGL1
2017-03-27 15:16:13 +02:00
%{_libdir} /libGLX_mesa.so*
%{_libdir} /libGLX_indirect.so*
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libGL-devel
2015-01-19 14:08:21 +01:00
%dir %{_includedir} /GL
%{_includedir} /GL/*.h
2021-04-17 20:19:08 +02:00
%exclude %{_includedir} /GL/osmesa.h
2019-10-08 00:02:22 +02:00
%{_libdir} /pkgconfig/gl.pc
2015-01-19 14:08:21 +01:00
%{_mandir} /man3/gl[A-Z]*
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libGLESv1_CM-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /GLES
2019-10-08 00:02:22 +02:00
%{_libdir} /pkgconfig/glesv1_cm.pc
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libGLESv2-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /GLES2
2019-10-08 00:02:22 +02:00
%{_libdir} /pkgconfig/glesv2.pc
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libGLESv3-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /GLES3
2013-03-13 17:30:13 +01:00
2021-04-17 20:19:08 +02:00
%files -n libOSMesa8
%{_libdir} /libOSMesa.so.8.0.0
%{_libdir} /libOSMesa.so.8
%files -n libOSMesa-devel
%{_includedir} /GL/osmesa.h
%{_libdir} /libOSMesa.so
%{_libdir} /pkgconfig/osmesa.pc
2018-01-05 10:08:37 +01:00
%files -n libgbm1
2015-01-19 14:08:21 +01:00
%{_libdir} /libgbm.so.1*
2012-02-21 11:57:47 +01:00
2018-01-05 10:08:37 +01:00
%files -n libgbm-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /gbm.h
%{_libdir} /libgbm.so
%{_libdir} /pkgconfig/gbm.pc
2018-01-05 10:08:37 +01:00
%endif
2012-02-21 11:57:47 +01:00
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2021-04-09 16:39:10 +02:00
%ifarch aarch64 %{ix86} x86_64 %{arm} ppc64 ppc64le riscv64
2013-12-02 11:29:34 +01:00
%files -n libxatracker2
2015-01-19 14:08:21 +01:00
%{_libdir} /libxatracker.so.2*
2012-04-24 11:10:24 +02:00
%files -n libxatracker-devel
2015-01-19 14:08:21 +01:00
%{_includedir} /xa_*.h
%{_libdir} /libxatracker.so
%{_libdir} /pkgconfig/xatracker.pc
2013-07-26 10:56:04 +02:00
%endif
2015-01-19 14:08:21 +01:00
%if %{vdpau_nouveau}
2013-12-06 11:51:38 +01:00
%files -n libvdpau_nouveau
2015-01-19 14:08:21 +01:00
%{_libdir} /vdpau/libvdpau_nouveau.so
%{_libdir} /vdpau/libvdpau_nouveau.so.1
%{_libdir} /vdpau/libvdpau_nouveau.so.1.0
%{_libdir} /vdpau/libvdpau_nouveau.so.1.0.0
2013-12-06 11:51:38 +01:00
%endif
2012-06-12 17:58:01 +02:00
2015-01-19 14:08:21 +01:00
%if %{vdpau_radeon}
2012-06-12 17:58:01 +02:00
%files -n libvdpau_r600
2015-01-19 14:08:21 +01:00
%{_libdir} /vdpau/libvdpau_r600.so
%{_libdir} /vdpau/libvdpau_r600.so.1
%{_libdir} /vdpau/libvdpau_r600.so.1.0
%{_libdir} /vdpau/libvdpau_r600.so.1.0.0
2013-09-02 10:52:42 +02:00
%endif
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 ppc64 ppc64le %{arm} aarch64 riscv64
2013-07-15 15:37:01 +02:00
%files -n libvdpau_radeonsi
2015-01-19 14:08:21 +01:00
%{_libdir} /vdpau/libvdpau_radeonsi.so
%{_libdir} /vdpau/libvdpau_radeonsi.so.1
%{_libdir} /vdpau/libvdpau_radeonsi.so.1.0
%{_libdir} /vdpau/libvdpau_radeonsi.so.1.0.0
2013-07-15 15:37:01 +02:00
%endif
2017-12-09 08:37:06 +01:00
%endif
2012-09-03 13:00:50 +02:00
2022-12-31 10:55:24 +01:00
%if %{vdpau_virtio_gpu}
%files -n libvdpau_virtio_gpu
%{_libdir} /vdpau/libvdpau_virtio_gpu.so
%{_libdir} /vdpau/libvdpau_virtio_gpu.so.1
%{_libdir} /vdpau/libvdpau_virtio_gpu.so.1.0
%{_libdir} /vdpau/libvdpau_virtio_gpu.so.1.0.0
%endif
2022-04-13 23:39:55 +02:00
%if "%{flavor}" != "drivers"
2017-12-09 08:37:06 +01:00
%files libglapi0
2015-01-19 14:08:21 +01:00
%{_libdir} /libglapi.so.0*
2012-02-21 11:57:47 +01:00
2017-12-09 08:37:06 +01:00
%files libglapi-devel
2015-01-19 14:08:21 +01:00
%{_libdir} /libglapi.so
2018-01-05 10:08:37 +01:00
%endif
2012-08-27 11:57:08 +02:00
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2018-01-05 10:08:37 +01:00
%files -n Mesa-dri
2022-11-02 10:46:49 +01:00
%dir %{_datadir} /drirc.d
%config %{_datadir} /drirc.d/*
2018-01-22 13:02:57 +01:00
%dir %{_libdir} /dri
2018-01-05 10:08:37 +01:00
%{_libdir} /dri/*_dri.so
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
2018-01-05 10:08:37 +01:00
%exclude %{_libdir} /dri/nouveau_dri.so
%endif
2018-06-17 16:15:51 +02:00
%ifarch %{arm} aarch64
2018-02-16 17:57:28 +01:00
%exclude %{_libdir} /dri/vc4_dri.so
2018-01-05 10:08:37 +01:00
%endif
2007-01-10 01:57:03 +01:00
2018-01-05 10:08:37 +01:00
%if 0%{with_opencl}
# only built with opencl
%files -n Mesa-gallium
%dir %{_libdir} /gallium-pipe/
%{_libdir} /gallium-pipe/pipe_*.so
%endif
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
2018-01-05 10:08:37 +01:00
%files -n Mesa-dri-nouveau
2016-10-17 15:45:42 +02:00
%{_libdir} /dri/nouveau_dri.so
2016-11-08 13:51:14 +01:00
%endif
2018-02-16 17:57:28 +01:00
2018-06-17 16:15:51 +02:00
%ifarch aarch64 %{arm}
2018-02-16 17:57:28 +01:00
%files -n Mesa-dri-vc4
%{_libdir} /dri/vc4_dri.so
2017-04-12 14:32:31 +02:00
%endif
2016-10-17 15:45:42 +02:00
2018-01-05 10:08:37 +01:00
# drivers
%endif
2022-04-13 23:39:55 +02:00
%if "%{flavor}" != "drivers"
2018-01-05 10:08:37 +01:00
%files dri-devel
%{_includedir} /GL/internal
%{_libdir} /pkgconfig/dri.pc
2014-10-27 08:38:50 +01:00
%files devel
2020-09-29 12:26:38 +02:00
%doc docs/*.rst
2014-10-27 08:38:50 +01:00
2018-01-05 10:08:37 +01:00
# !drivers
%endif
2015-01-27 12:52:02 +01:00
%if 0%{?with_nine}
2018-01-05 10:08:37 +01:00
%files -n Mesa-libd3d
2015-01-27 12:52:02 +01:00
%dir %{_libdir} /d3d/
%{_libdir} /d3d/*.so.*
2018-01-05 10:08:37 +01:00
%files -n Mesa-libd3d-devel
2015-01-27 12:52:02 +01:00
%{_libdir} /pkgconfig/d3d.pc
%{_includedir} /d3dadapter/
%{_libdir} /d3d/*.so
%endif
2015-12-02 16:16:15 +01:00
%if 0%{with_opencl}
2018-01-05 10:08:37 +01:00
%files -n Mesa-libOpenCL
2020-08-31 22:10:10 +02:00
%if 0%{?suse_version} >= 1550
2020-06-23 20:31:57 +02:00
%dir %{_datadir} /OpenCL
%dir %{_datadir} /OpenCL/vendors
%{_datadir} /OpenCL/vendors/mesa.icd
2020-08-31 22:10:10 +02:00
%else
%dir %{_sysconfdir} /OpenCL
%dir %{_sysconfdir} /OpenCL/vendors
%{_sysconfdir} /OpenCL/vendors/mesa.icd
%endif
2015-12-02 16:16:15 +01:00
%{_libdir} /libMesaOpenCL.so*
%endif
2023-01-18 16:05:39 +01:00
%if 0%{with_rusticl}
%files -n Mesa-libRusticlOpenCL
%if 0%{?suse_version} >= 1550
%dir %{_datadir} /OpenCL
%dir %{_datadir} /OpenCL/vendors
%{_datadir} /OpenCL/vendors/rusticl.icd
%else
%dir %{_sysconfdir} /OpenCL
%dir %{_sysconfdir} /OpenCL/vendors
%{_sysconfdir} /OpenCL/vendors/rusticl.icd
%endif
%{_libdir} /libRusticlOpenCL.so*
%endif
2022-04-13 23:39:55 +02:00
%if "%{flavor}" == "drivers"
2021-04-09 16:39:10 +02:00
%ifarch %{ix86} x86_64 aarch64 %{arm} ppc64 ppc64le riscv64
2018-01-05 10:08:37 +01:00
%files -n Mesa-libva
2015-12-20 19:59:28 +01:00
%{_libdir} /dri/*_drv_video.so
2016-01-07 12:04:59 +01:00
%endif
2017-12-09 08:37:06 +01:00
%endif
2015-12-18 12:38:07 +01:00
Accepting request 400597 from home:tobijk:X11:XOrg
- Update to version 12.0.0-rc2:
- New features:
+ OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
+ OpenGL ES 3.1 on nvc0, radeonsi
+ GL_ARB_ES3_1_compatibility on nvc0, radeonsi
+ GL_ARB_compute_shader on nvc0, radeonsi, softpipe
+ GL_ARB_cull_distance on i965/gen6+, nv50, nvc0, llvmpipe, softpipe
+ GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
+ GL_ARB_internalformat_query2 on all drivers
+ GL_ARB_query_buffer_object on i965/hsw+
+ GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
+ GL_ARB_shader_atomic_counters on radeonsi, softpipe
+ GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_load_store on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_size on nvc0, radeonsi, softpipe
+ GL_ARB_shader_storage_buffer_objects on radeonsi, softpipe
+ GL_ATI_fragment_shader on all Gallium drivers
+ GL_EXT_base_instance on all drivers that support GL_ARB_base_instance
+ GL_EXT_clip_cull_distance on all drivers that support GL_ARB_cull_distance
+ GL_KHR_robustness on i965
+ GL_OES_copy_image on i965 (Baytrail and Gen8+)
+ GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers
that support GL_ARB_draw_buffers_blend
+GL_OES_gpu_shader5 and GL_EXT_gpu_shader5 on all drivers that support
GL_ARB_gpu_shader5
+GL_OES_sample_shading on i965, nvc0, r600, radeonsi
+GL_OES_sample_variables on i965, nvc0, r600, radeonsi
+GL_OES_shader_image_atomic on all drivers that support
GL_ARB_shader_image_load_store
+GL_OES_shader_io_blocks on i965, nvc0, radeonsi
OBS-URL: https://build.opensuse.org/request/show/400597
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=520
2016-06-08 04:40:52 +02:00
%if 0%{with_vulkan}
2021-05-22 11:30:52 +02:00
%ifarch %{ix86} x86_64
2016-06-10 10:26:56 +02:00
%files -n libvulkan_intel
2018-01-05 10:08:37 +01:00
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/icd.d
2016-11-02 11:06:25 +01:00
%{_datadir} /vulkan/icd.d/intel_icd.*.json
2016-06-10 10:26:56 +02:00
%{_libdir} /libvulkan_intel.so
2022-12-31 10:55:24 +01:00
%{_datadir} /vulkan/icd.d/intel_hasvk_icd.*.json
%{_libdir} /libvulkan_intel_hasvk.so
2021-05-22 11:30:52 +02:00
%endif
Accepting request 400597 from home:tobijk:X11:XOrg
- Update to version 12.0.0-rc2:
- New features:
+ OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
+ OpenGL ES 3.1 on nvc0, radeonsi
+ GL_ARB_ES3_1_compatibility on nvc0, radeonsi
+ GL_ARB_compute_shader on nvc0, radeonsi, softpipe
+ GL_ARB_cull_distance on i965/gen6+, nv50, nvc0, llvmpipe, softpipe
+ GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
+ GL_ARB_internalformat_query2 on all drivers
+ GL_ARB_query_buffer_object on i965/hsw+
+ GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
+ GL_ARB_shader_atomic_counters on radeonsi, softpipe
+ GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_load_store on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_size on nvc0, radeonsi, softpipe
+ GL_ARB_shader_storage_buffer_objects on radeonsi, softpipe
+ GL_ATI_fragment_shader on all Gallium drivers
+ GL_EXT_base_instance on all drivers that support GL_ARB_base_instance
+ GL_EXT_clip_cull_distance on all drivers that support GL_ARB_cull_distance
+ GL_KHR_robustness on i965
+ GL_OES_copy_image on i965 (Baytrail and Gen8+)
+ GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers
that support GL_ARB_draw_buffers_blend
+GL_OES_gpu_shader5 and GL_EXT_gpu_shader5 on all drivers that support
GL_ARB_gpu_shader5
+GL_OES_sample_shading on i965, nvc0, r600, radeonsi
+GL_OES_sample_variables on i965, nvc0, r600, radeonsi
+GL_OES_shader_image_atomic on all drivers that support
GL_ARB_shader_image_load_store
+GL_OES_shader_io_blocks on i965, nvc0, radeonsi
OBS-URL: https://build.opensuse.org/request/show/400597
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=520
2016-06-08 04:40:52 +02:00
2017-01-19 11:56:56 +01:00
%files -n libvulkan_radeon
%{_libdir} /libvulkan_radeon.so
2018-01-05 10:08:37 +01:00
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/icd.d
2017-01-19 11:56:56 +01:00
%{_datadir} /vulkan/icd.d/radeon_icd.*.json
2018-01-05 10:08:37 +01:00
2021-05-22 11:30:52 +02:00
%files -n libvulkan_lvp
%{_libdir} /libvulkan_lvp.so
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/icd.d
%{_datadir} /vulkan/icd.d/lvp_icd.*.json
%ifarch %{arm} aarch64
%files -n libvulkan_broadcom
%{_libdir} /libvulkan_broadcom.so
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/icd.d
%{_datadir} /vulkan/icd.d/broadcom_icd.*.json
%files -n libvulkan_freedreno
%{_libdir} /libvulkan_freedreno.so
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/icd.d
%{_datadir} /vulkan/icd.d/freedreno_icd.*.json
%endif
2020-08-25 11:37:06 +02:00
%files -n Mesa-vulkan-device-select
2021-05-14 05:51:13 +02:00
%{_libdir} /libVkLayer_MESA_device_select.so
2020-08-25 11:37:06 +02:00
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/implicit_layer.d
2021-05-14 05:51:13 +02:00
%{_datadir} /vulkan/implicit_layer.d/VkLayer_MESA_device_select.json
2020-08-25 11:37:06 +02:00
%files -n Mesa-vulkan-overlay
2021-05-14 05:51:13 +02:00
%{_bindir} /mesa-overlay-control.py
%{_libdir} /libVkLayer_MESA_overlay.so
2020-08-25 11:37:06 +02:00
%dir %{_datadir} /vulkan
%dir %{_datadir} /vulkan/explicit_layer.d
2021-05-14 05:51:13 +02:00
%{_datadir} /vulkan/explicit_layer.d/VkLayer_MESA_overlay.json
Accepting request 400597 from home:tobijk:X11:XOrg
- Update to version 12.0.0-rc2:
- New features:
+ OpenGL 4.3 on nvc0, radeonsi, i965 (Gen8+)
+ OpenGL ES 3.1 on nvc0, radeonsi
+ GL_ARB_ES3_1_compatibility on nvc0, radeonsi
+ GL_ARB_compute_shader on nvc0, radeonsi, softpipe
+ GL_ARB_cull_distance on i965/gen6+, nv50, nvc0, llvmpipe, softpipe
+ GL_ARB_framebuffer_no_attachments on nvc0, r600, radeonsi, softpipe
+ GL_ARB_internalformat_query2 on all drivers
+ GL_ARB_query_buffer_object on i965/hsw+
+ GL_ARB_robust_buffer_access_behavior on i965, nvc0, radeonsi
+ GL_ARB_shader_atomic_counters on radeonsi, softpipe
+ GL_ARB_shader_atomic_counter_ops on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_load_store on nvc0, radeonsi, softpipe
+ GL_ARB_shader_image_size on nvc0, radeonsi, softpipe
+ GL_ARB_shader_storage_buffer_objects on radeonsi, softpipe
+ GL_ATI_fragment_shader on all Gallium drivers
+ GL_EXT_base_instance on all drivers that support GL_ARB_base_instance
+ GL_EXT_clip_cull_distance on all drivers that support GL_ARB_cull_distance
+ GL_KHR_robustness on i965
+ GL_OES_copy_image on i965 (Baytrail and Gen8+)
+ GL_OES_draw_buffers_indexed and GL_EXT_draw_buffers_indexed on all drivers
that support GL_ARB_draw_buffers_blend
+GL_OES_gpu_shader5 and GL_EXT_gpu_shader5 on all drivers that support
GL_ARB_gpu_shader5
+GL_OES_sample_shading on i965, nvc0, r600, radeonsi
+GL_OES_sample_variables on i965, nvc0, r600, radeonsi
+GL_OES_shader_image_atomic on all drivers that support
GL_ARB_shader_image_load_store
+GL_OES_shader_io_blocks on i965, nvc0, radeonsi
OBS-URL: https://build.opensuse.org/request/show/400597
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/Mesa?expand=0&rev=520
2016-06-08 04:40:52 +02:00
%endif
2007-03-15 01:44:44 +01:00
%changelog