From 212caa0c51ae7841165b137d11449af22f8a2ab0 Mon Sep 17 00:00:00 2001 From: Janne Grunau Date: Oct 04 2024 12:37:46 +0000 Subject: Add mesa x86 overlay repositories --- diff --git a/asahi-repos.spec b/asahi-repos.spec index 1c80919..7edfdab 100644 --- a/asahi-repos.spec +++ b/asahi-repos.spec @@ -1,6 +1,6 @@ Name: asahi-repos Version: 1 -Release: 13%{?dist} +Release: 14%{?dist} Summary: Additional repositories for Apple Silicon hardware enablement License: MIT @@ -24,6 +24,8 @@ Source: group_asahi-fedora-remix-scripts.repo Source: RPM-GPG-KEY-group_asahi-fedora-remix-scripts Source: group_asahi-flatpak.repo Source: RPM-GPG-KEY-group_asahi-flatpak +Source: group_asahi-mesa-i386.repo +Source: group_asahi-mesa-x86_64.repo Requires: fedora-repos Requires: fedora-gpg-keys @@ -65,6 +67,11 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d \ %SOURCE2 %SOURCE4 %SOURCE6 %SOURCE8 %SOURCE10 %SOURCE12 %SOURCE14 %SOURCE15 %SOURCE17 install -Dpm0644 -t %{buildroot}%{_sysconfdir}/pki/rpm-gpg \ %SOURCE3 %SOURCE5 %SOURCE7 %SOURCE9 %SOURCE11 %SOURCE13 %SOURCE16 %SOURCE18 +%dnl install mesa x86 overlay repos only on aarch64 +%ifarch aarch64 +install -Dpm0644 -t %{buildroot}%{_sysconfdir}/yum.repos.d \ + %SOURCE19 %SOURCE20 +%endif %files %license LICENSE @@ -82,6 +89,10 @@ install -Dpm0644 -t %{buildroot}%{_sysconfdir}/pki/rpm-gpg \ %config(noreplace) %{_sysconfdir}/yum.repos.d/fedora-asahi-remix-hotfixes.repo %config(noreplace) %{_sysconfdir}/yum.repos.d/group_asahi-flatpak.repo %config(noreplace) %{_sysconfdir}/pki/rpm-gpg/RPM-GPG-KEY-group_asahi-flatpak +%ifarch aarch64 +%config(noreplace) %{_sysconfdir}/yum.repos.d/group_asahi-mesa-i386.repo +%config(noreplace) %{_sysconfdir}/yum.repos.d/group_asahi-mesa-x86_64.repo +%endif %files edge %license LICENSE @@ -103,6 +114,9 @@ echo 'and then reboot your system.' echo %changelog +* Tue Oct 01 2024 Janne Grunau - 1-14 +- Add mesa x86 overlay repositories + * Tue Jul 16 2024 Janne Grunau - 1-13 - Add flatpak copr diff --git a/group_asahi-mesa-i386.repo b/group_asahi-mesa-i386.repo new file mode 100644 index 0000000..6377296 --- /dev/null +++ b/group_asahi-mesa-i386.repo @@ -0,0 +1,12 @@ +[copr:copr.fedorainfracloud.org:group_asahi:mesa-i386] +name=Copr repo for mesa owned by @asahi (i386) +baseurl=https://download.copr.fedorainfracloud.org/results/@asahi/mesa/fedora-$releasever-i386/ +type=rpm-md +skip_if_unavailable=True +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-group_asahi-mesa +repo_gpgcheck=0 +enabled=1 +enabled_metadata=1 +priority=5 +includepkgs=mesa-fex-emu-overlay-i386* diff --git a/group_asahi-mesa-x86_64.repo b/group_asahi-mesa-x86_64.repo new file mode 100644 index 0000000..9e2a7ba --- /dev/null +++ b/group_asahi-mesa-x86_64.repo @@ -0,0 +1,12 @@ +[copr:copr.fedorainfracloud.org:group_asahi:mesa-x86_64] +name=Copr repo for mesa owned by @asahi (x86_64) +baseurl=https://download.copr.fedorainfracloud.org/results/@asahi/mesa/fedora-$releasever-x86_64/ +type=rpm-md +skip_if_unavailable=True +gpgcheck=1 +gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-group_asahi-mesa +repo_gpgcheck=0 +enabled=1 +enabled_metadata=1 +priority=5 +includepkgs=mesa-fex-emu-overlay-x86_64*