SHA256
1
0
forked from pool/Mesa

Accepting request 664063 from X11:XOrg

- Enable the surfaceless platform, which is needed by KDE CI 
  environment for testing (https://phabricator.kde.org/T10245)

- Add etnaviv and imx support for %arm and arch64

OBS-URL: https://build.opensuse.org/request/show/664063
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Mesa?expand=0&rev=338
This commit is contained in:
Dominique Leuenberger 2019-01-11 13:02:38 +00:00 committed by Git OBS Bridge
commit ce6ff600cc
4 changed files with 48 additions and 12 deletions

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jan 9 10:49:24 UTC 2019 - sndirsch@suse.com
- redisabled support for tegra, since it just got disabled upstream
in git master ...
-------------------------------------------------------------------
Sat Jan 5 23:31:00 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Enable the surfaceless platform, which is needed by KDE CI
environment for testing (https://phabricator.kde.org/T10245)
-------------------------------------------------------------------
Wed Dec 19 15:01:41 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add etnaviv, imx and tegra supports for %arm and arch64
-------------------------------------------------------------------
Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa-drivers
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -159,7 +159,7 @@ BuildRequires: pkgconfig(dri3proto)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(glproto)
BuildRequires: pkgconfig(libdrm) >= 2.4.75
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.79
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.95
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.66
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.71
%if 0%{?libglvnd}
@ -199,7 +199,8 @@ Provides: s2tc = %{version}
Obsoletes: s2tc < %{version}
Provides: libtxc_dxtn = %{version}
Obsoletes: libtxc_dxtn < %{version}
%ifarch %{arm}
%ifarch %{arm} aarch64
BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
BuildRequires: pkgconfig(libelf)
%endif
@ -758,9 +759,9 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
%build
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
egl_platforms=x11,drm,wayland
egl_platforms=x11,drm,surfaceless,wayland
%else
egl_platforms=x11,drm
egl_platforms=x11,drm,surfaceless
%endif
autoreconf -fvi
@ -819,7 +820,7 @@ export PYTHON2=%{_bindir}/python3
%ifarch %{arm} aarch64
--enable-xa \
--with-dri-drivers=nouveau \
--with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4 \
--with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \
%endif
%ifarch ppc64 ppc64le
--enable-xa \

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Wed Jan 9 10:49:24 UTC 2019 - sndirsch@suse.com
- redisabled support for tegra, since it just got disabled upstream
in git master ...
-------------------------------------------------------------------
Sat Jan 5 23:31:00 UTC 2019 - Fabian Vogt <fabian@ritter-vogt.de>
- Enable the surfaceless platform, which is needed by KDE CI
environment for testing (https://phabricator.kde.org/T10245)
-------------------------------------------------------------------
Wed Dec 19 15:01:41 UTC 2018 - Guillaume GARDET <guillaume.gardet@opensuse.org>
- Add etnaviv, imx and tegra supports for %arm and arch64
-------------------------------------------------------------------
Wed Dec 12 15:29:53 UTC 2018 - Dominique Leuenberger <dimstar@opensuse.org>

View File

@ -1,7 +1,7 @@
#
# spec file for package Mesa
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -158,7 +158,7 @@ BuildRequires: pkgconfig(dri3proto)
BuildRequires: pkgconfig(expat)
BuildRequires: pkgconfig(glproto)
BuildRequires: pkgconfig(libdrm) >= 2.4.75
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.79
BuildRequires: pkgconfig(libdrm_amdgpu) >= 2.4.95
BuildRequires: pkgconfig(libdrm_nouveau) >= 2.4.66
BuildRequires: pkgconfig(libdrm_radeon) >= 2.4.71
%if 0%{?libglvnd}
@ -198,7 +198,8 @@ Provides: s2tc = %{version}
Obsoletes: s2tc < %{version}
Provides: libtxc_dxtn = %{version}
Obsoletes: libtxc_dxtn < %{version}
%ifarch %{arm}
%ifarch %{arm} aarch64
BuildRequires: pkgconfig(libdrm_etnaviv) >= 2.4.89
BuildRequires: pkgconfig(libdrm_freedreno) >= 2.4.74
BuildRequires: pkgconfig(libelf)
%endif
@ -757,9 +758,9 @@ grep -v -i vulkan "%{_sourcedir}/baselibs.conf" >"%{_sourcedir}/temp" && \
%build
%if 0%{?suse_version} > 1320 || (0%{?sle_version} >= 120300 && 0%{?is_opensuse})
egl_platforms=x11,drm,wayland
egl_platforms=x11,drm,surfaceless,wayland
%else
egl_platforms=x11,drm
egl_platforms=x11,drm,surfaceless
%endif
autoreconf -fvi
@ -818,7 +819,7 @@ export PYTHON2=%{_bindir}/python3
%ifarch %{arm} aarch64
--enable-xa \
--with-dri-drivers=nouveau \
--with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4 \
--with-gallium-drivers=r300,r600,nouveau,swrast,virgl,freedreno,vc4,etnaviv,imx \
%endif
%ifarch ppc64 ppc64le
--enable-xa \