From 8fc3cd045b7e264bc83ab779d2fc33b8ccdb339a Mon Sep 17 00:00:00 2001
From: Koichiro Iwao
Date: Mon, 24 Jun 2024 09:10:03 +0900
Subject: [PATCH] Enable v3d, vc4 etc for graphics on Raspberry Pi
Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32
---
SPECS/mesa.spec | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/SPECS/mesa.spec b/SPECS/mesa.spec
index 0ce4d6d..05958c3 100644
--- a/SPECS/mesa.spec
+++ b/SPECS/mesa.spec
@@ -20,7 +20,7 @@
%endif
%ifarch %{arm} aarch64
-%if !0%{?rhel}
+%if !0%{?rhel} || 0%{?almalinux}
%global with_etnaviv 1
%global with_lima 1
%global with_vc4 1
@@ -54,7 +54,7 @@ Name: mesa
Summary: Mesa graphics libraries
%global ver 23.3.3
Version: %{lua:ver = string.gsub(rpm.expand("%{ver}"), "-", "~"); print(ver)}
-Release: 1%{?dist}
+Release: 1%{?dist}.alma.1
License: MIT
URL: http://www.mesa3d.org
@@ -616,6 +616,10 @@ popd
%endif
%changelog
+* Mon Jun 24 2024 Koichiro Iwao - 23.3.3-1.alma.1
+- Enable r300, r600, etnaviv, lima, vc4 and v3d in AlmaLinux
+ Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32
+
* Wed Jan 17 2024 José Expósito - 23.3.3-1
- Update to mesa 23.3.3