Compare commits
No commits in common. "c10s" and "c9s" have entirely different histories.
1
.gitignore
vendored
1
.gitignore
vendored
@ -3,6 +3,7 @@
|
|||||||
.build*
|
.build*
|
||||||
/mesa-*.tar.bz2
|
/mesa-*.tar.bz2
|
||||||
/mesa-*.tar.xz
|
/mesa-*.tar.xz
|
||||||
|
/meson-*.tar.gz
|
||||||
x86_64/
|
x86_64/
|
||||||
results_mesa/
|
results_mesa/
|
||||||
mesa-*/
|
mesa-*/
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
--- !Policy
|
--- !Policy
|
||||||
product_versions:
|
product_versions:
|
||||||
- rhel-10
|
- rhel-9
|
||||||
decision_context: osci_compose_gate
|
decision_context: osci_compose_gate
|
||||||
rules:
|
rules:
|
||||||
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
- !PassingTestCaseRule {test_case_name: desktop-qe.desktop-ci.tier1-gating.functional}
|
||||||
|
|||||||
@ -8,7 +8,7 @@
|
|||||||
Name: %{origname}-compat
|
Name: %{origname}-compat
|
||||||
Summary: Mesa graphics libraries - legacy compatibility libraries
|
Summary: Mesa graphics libraries - legacy compatibility libraries
|
||||||
%global ver 25.0.7
|
%global ver 25.0.7
|
||||||
Version: %{gsub %ver - ~}
|
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
|
||||||
Release: %autorelease
|
Release: %autorelease
|
||||||
License: MIT AND BSD-3-Clause AND SGI-B-2.0
|
License: MIT AND BSD-3-Clause AND SGI-B-2.0
|
||||||
URL: http://www.mesa3d.org
|
URL: http://www.mesa3d.org
|
||||||
@ -19,10 +19,14 @@ Source0: https://archive.mesa3d.org/mesa-%{ver}.tar.xz
|
|||||||
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
# Fedora opts to ignore the optional part of clause 2 and treat that code as 2 clause BSD.
|
||||||
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
Source1: Mesa-MLAA-License-Clarification-Email.txt
|
||||||
|
|
||||||
|
# meson >= 1.3.0 is required
|
||||||
|
%global meson_ver 1.7.0
|
||||||
|
Source2: https://github.com/mesonbuild/meson/releases/download/%{meson_ver}/meson-%{meson_ver}.tar.gz
|
||||||
|
|
||||||
# fix c11/threads builds problem on f44
|
# fix c11/threads builds problem on f44
|
||||||
Patch01: 0001-c11-threads-fix-build-on-fedora-44.patch
|
Patch01: 0001-c11-threads-fix-build-on-fedora-44.patch
|
||||||
|
|
||||||
BuildRequires: meson >= 1.3.0
|
BuildRequires: meson
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
BuildRequires: gcc-c++
|
BuildRequires: gcc-c++
|
||||||
BuildRequires: gettext
|
BuildRequires: gettext
|
||||||
@ -82,10 +86,25 @@ Provides: deprecated()
|
|||||||
%{summary}.
|
%{summary}.
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
|
||||||
|
# Extract mesa
|
||||||
%autosetup -n %{origname}-%{ver} -p1
|
%autosetup -n %{origname}-%{ver} -p1
|
||||||
cp %{SOURCE1} docs/
|
cp %{SOURCE1} docs/
|
||||||
|
|
||||||
|
# Extract meson
|
||||||
|
tar -xvf %{SOURCE2}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
|
||||||
|
# Build meson
|
||||||
|
cd meson-%{meson_ver}
|
||||||
|
%py3_build
|
||||||
|
%py3_install
|
||||||
|
%global __meson %{buildroot}%{_bindir}/meson
|
||||||
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}:%{python3_sitelib}
|
||||||
|
cd -
|
||||||
|
|
||||||
|
# Build mesa
|
||||||
%meson \
|
%meson \
|
||||||
-Dplatforms= \
|
-Dplatforms= \
|
||||||
-Dosmesa=true \
|
-Dosmesa=true \
|
||||||
@ -122,8 +141,22 @@ cp %{SOURCE1} docs/
|
|||||||
%meson_build
|
%meson_build
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
cd meson-%{meson_ver}
|
||||||
|
%py3_install
|
||||||
|
%global __meson %{buildroot}%{_bindir}/meson
|
||||||
|
export PYTHONPATH=%{buildroot}%{python3_sitelib}:%{python3_sitelib}
|
||||||
|
cd -
|
||||||
|
|
||||||
%meson_install
|
%meson_install
|
||||||
|
|
||||||
|
# Delete files installed by meson
|
||||||
|
rm -f %{buildroot}%{_bindir}/meson
|
||||||
|
rm -rf %{buildroot}%{_mandir}/man1/meson.1*
|
||||||
|
rm -f %{buildroot}%{_datadir}/polkit-1/actions/com.mesonbuild.install.policy
|
||||||
|
rm -f %{buildroot}%{_datadir}/bash-completion/completions/meson
|
||||||
|
rm -f %{buildroot}%{_datadir}/zsh/site-functions/_meson
|
||||||
|
rm -rf %{buildroot}%{python3_sitelib}
|
||||||
|
|
||||||
# trim some garbage, the mesa base package handles these
|
# trim some garbage, the mesa base package handles these
|
||||||
rm -rf %{buildroot}%{_datadir}/drirc.d
|
rm -rf %{buildroot}%{_datadir}/drirc.d
|
||||||
rm -rf %{buildroot}%{_includedir}/GL/gl*.h
|
rm -rf %{buildroot}%{_includedir}/GL/gl*.h
|
||||||
|
|||||||
1
sources
1
sources
@ -1 +1,2 @@
|
|||||||
SHA512 (mesa-25.0.7.tar.xz) = 825bbd8bc5507de147488519786c0200afacf97dae621c80ead24b2c5dd55c5a442757ac8452698ae611e9344025465080795cf8f2dc4eb7ce07b5cc521b2b5c
|
SHA512 (mesa-25.0.7.tar.xz) = 825bbd8bc5507de147488519786c0200afacf97dae621c80ead24b2c5dd55c5a442757ac8452698ae611e9344025465080795cf8f2dc4eb7ce07b5cc521b2b5c
|
||||||
|
SHA512 (meson-1.7.0.tar.gz) = a5d1f00b193ca37ae64f85c9dfc29a2661c167d82d9953b9acd1393b222b05fa5fc03ffdf00fd1ae7a2014da3a7366c35f70bf02e3204e929b74f7b00c17c840
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user