From ea56cf671a276b0cc31a14d0345becc575d8b88f Mon Sep 17 00:00:00 2001 From: Koichiro Iwao Date: Mon, 24 Jun 2024 09:10:03 +0900 Subject: [PATCH] Enable v3d, vc4 for Raspberry Pi graphics Resolves: https://github.com/AlmaLinux/raspberry-pi/issues/32 --- SPECS/mesa.spec | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/SPECS/mesa.spec b/SPECS/mesa.spec index 0ce4d6d..6fbdf5c 100644 --- a/SPECS/mesa.spec +++ b/SPECS/mesa.spec @@ -20,12 +20,18 @@ %endif %ifarch %{arm} aarch64 +# RHEL doesn't ship vc4 and v3d but we do for RPi +%if 0%{?almalinux} +%global with_vc4 1 +%global with_v3d 1 +%endif %if !0%{?rhel} %global with_etnaviv 1 %global with_lima 1 %global with_vc4 1 %global with_v3d 1 %endif +%endif %global with_freedreno 1 %global with_kmsro 1 %global with_panfrost 1 @@ -54,7 +60,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 +622,10 @@ popd %endif %changelog +* Mon Jun 24 2024 Koichiro Iwao - 23.3.3-1.alma.1 +- Enable vc4 and v3d for Raspberry Pi graphics 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