No description
Find a file
2025-03-06 10:17:03 +00:00
.github/workflows run daily 2025-02-26 08:51:52 +01:00
alsa-ucm-conf-asahi bump alsa UCM config 2025-02-14 00:20:29 +01:00
asahi-alarm-keyring update checksums 2024-12-16 13:06:38 +00:00
asahi-audio [DO NOT RELEASE] bump asahi-audio 2025-03-04 11:07:31 +01:00
asahi-bless bump asahi-bless 2025-02-26 15:55:41 +01:00
asahi-btsync add asahi-btsync 2025-02-21 10:42:58 +01:00
asahi-calamares-configs bump calamares config 2025-02-21 11:31:39 +01:00
asahi-configs Update maintainers 2024-12-16 14:26:05 +01:00
asahi-desktop-meta add the new packages to the meta packages 2025-02-21 10:53:56 +01:00
asahi-fwextract bump fwextract + move to our repo 2025-01-29 10:07:16 +01:00
asahi-meta add the new packages to the meta packages 2025-02-21 10:53:56 +01:00
asahi-scripts bump asahi-scripts after fix of our fork history 2025-02-13 10:38:12 +01:00
asahi-wifisync add asahi-wifisync 2025-02-21 10:49:15 +01:00
bankstown Add rust-toolchain.toml also to bankstown 2024-12-16 14:55:50 +01:00
binfmt-dispatcher add binfmt-dispatcher 2025-02-17 12:46:45 +01:00
calamares bump calamares for rebuild against python 3.13 2025-01-23 15:22:02 +01:00
FEX-Emu Add FEX-Emu spec files 2025-01-14 20:36:33 +01:00
fex-emu-rootfs-arch Bump fex-emu-rootfs-arch 2025-01-23 17:32:39 +01:00
libkrun bump libkrunfw and libkrun 2025-02-17 15:04:30 +01:00
libkrunfw bump libkrunfw and libkrun 2025-02-17 15:04:30 +01:00
linux-asahi revert to 1.83.0 but we seem to need to install in manually 2025-03-06 00:23:30 +01:00
lzfse lzfse: New package 2022-09-14 01:44:48 +09:00
m1n1 bump m1n1 2025-02-02 21:30:32 +01:00
mesa bump specs 2025-03-03 22:20:07 +01:00
muvm bump specs 2025-03-03 22:20:07 +01:00
speakersafetyd Update maintainers 2024-12-16 14:26:05 +01:00
startup-disk add startup-disk 2025-02-21 10:42:58 +01:00
steam bump to enable upgrade 2025-01-24 12:49:37 +01:00
tiny-dfr Bump pkgrel of packages that changed 2025-01-23 12:51:49 +01:00
triforce-lv2 bump triforce 2025-02-17 15:32:16 +01:00
uboot-asahi Update maintainers 2024-12-16 14:26:05 +01:00
virglrenderer bump to enable upgrade 2025-01-24 12:49:37 +01:00
vulkan-tools add aarch64 as supported arch 2025-01-03 11:40:40 +01:00
widevine add README from source 2024-12-17 00:57:44 +01:00
xkeyboard-config add upstream xkeyboard-config temporarily to remove the asahi one 2025-01-27 13:14:56 +01:00
.editorconfig Add .editorconfig 2022-03-10 00:35:13 +09:00
.gitignore rename mesa-asahi and virglrenderer-asahi 2025-01-24 12:11:43 +01:00
build.sh add upstream xkeyboard-config temporarily to remove the asahi one 2025-01-27 13:14:56 +01:00
check-version.sh allow fedora version to be passed as args 2025-03-04 09:35:33 +01:00
README.md README: Add hints on how Fedora Asahi Remix builds their packages 2025-01-14 09:33:11 +01:00
release.sh remove xkeyboard-config-asahi 2025-01-27 09:07:12 +01:00
update-spec-files.sh rename mesa-asahi and virglrenderer-asahi 2025-01-24 12:11:43 +01:00
versions.txt Automated update 2025-03-06 10:17:03 +00:00

AsahiLinux-PKGBUILD

This repository holds PKGBUILD files for the AsahiLinux Arch Linux Arm distribution. This will hold packages which are required to run Arch Linux Arm on Apple Silicon based computers, starting with patched Linux Kernel builds with hardware support.

Hints

Inspect how Fedora Asahi Remix builds their packages

To do this we can inspect their spec files:

# rpm-tools are required
sudo pacman -S rpm-tools

# For example, to get the Asahi Fedora 41 spec (you should of course use the latest Fedora Asahi one)
curl -O https://copr-dist-git.fedorainfracloud.org/cgit/@asahi/mesa/mesa.git/plain/mesa.spec?h=f41

# Usually you want the spec file for aarch64
rpmspec --target=aarch64 -D'autorelease 1' -D'changelog changelog' --parse mesa.spec | cat -s > mesa.spec.aarch64
# For the mesa x86_64 overlay you should also run:
rpmspec --target=x86_64 -D'autorelease 1' -D'changelog changelog' --parse mesa.spec | cat -s > mesa.spec.x86_64
# Same for mesa i386 overlay
rpmspec --target=i386 -D'autorelease 1' -D'changelog changelog' --parse mesa.spec | cat -s  > mesa.spec.i386

As you can see, you can override placeholders in the spec files via the -D flag. Usually following placeholders are interesting (extracted from the mesa spec):

_arch
_isa
_datadir
_includedir
_libdir
_sysconfdir

Most of them should be set by correctly by --target anyway, but we may want to override specific ones if needed.

I recommend to grep a spec file to see if you could override others (here only looking for ones that start with underscore %{_):

grep '\%{_' file.spec

To make things easy we set up a update-spec-files.sh script in this repo which fetches and renders spec files of Fedora packages and saves them in a fedora-specs folder of a package in this repo.