Skip to content

Build speakersafetyd, bankstown and triforce-lv2 from source - #2943

Merged
maralcbr merged 1 commit into
masterfrom
asahi-import-audio-deps
Nov 17, 2026
Merged

maralcbr merged 1 commit into
masterfrom
asahi-import-audio-deps

Conversation

@maralcbr

Copy link
Copy Markdown
Member

Summary

Omarchy Mac drops the asahi-alarm repository for 4.6. The Mac speaker and microphone stack still comes from it: speakersafetyd (a hard dependency of omarchy-mac and aurora-audio), bankstown and triforce-lv2. This builds all three from source here.

Package asahi-alarm This PR Source
speakersafetyd 2.0.1-1 2.0.1-2 AsahiLinux/speakersafetyd 2.0.1, plus asahi-alarm's J504 speaker-name patch
bankstown 1.1.0-2 1.1.0-3 chadmed/bankstown 1.1.0
triforce-lv2 0.3.2-1 0.3.2-2 chadmed/triforce 0.3.2
  • Same names and pkgver, higher pkgrel, no provides/conflicts/replaces: [omarchy] is listed first, so installed Macs swap at their next update and nothing else moves.
  • Recipes follow asahi-alarm's, with crates fetched --locked in prepare() and built --frozen, and the licence files installed.
  • triforce-lv2 is GPL-2.0-or-later (its Cargo.toml, LICENCE.txt and source headers), not MIT as asahi-alarm declares.
  • release/mac-inventory.txt lists the three as none until edge qualifies them.
  • tests/aurora-edge/metadata.py covers them as Aurora-lane recipes, checks each beats asahi-alarm's version, and pins the unit path speakerguardd's drop-in uses.
  • docs/upstream-sources.md is left for the tracking change.

Evidence

  • bin/build --arch aarch64 --package speakersafetyd bankstown triforce-lv2, locally on Apple Silicon: all three built.
  • Against asahi-alarm's packages, the file lists match apart from /usr/share/licenses/<name>/. .PKGINFO adds glibc and gcc-libs to depends and changes triforce's licence. j504.conf carries the patched speaker names.
  • tests/aurora-edge/metadata.py (14 tests), review.py, pinned-sources.sh, pkgname-unique.sh and pgp-keys-vendored.sh pass locally in the Arch container. The other self-tests and namcap are left to CI: pacman can't install their tools under emulation on this Mac.

Merge Danger

Door: two-way

Blast Radius: Mac installs on edge

  • Edge Macs replace asahi-alarm's three packages with these at their next -Syu. The installed files and the speakersafetyd.service unit are the same, so speakerguardd's drop-in and omarchy-mac's preset keep applying. Rolling back means a pkgrel bump or removing the recipe.
  • With the three listed as none, a whole-channel edge -> rc promotion on aarch64 is refused until the inventory gets their qualified versions. A promotion that names its packages is not affected.

The Mac speaker and microphone stack came from the asahi-alarm repository,
which Omarchy Mac drops for 4.6. Vendor its recipes under the same names
and pkgver with a higher pkgrel, so installed Macs take these builds at
their next update. The unit, udev rule, configs and LV2 bundles install
where they did, so speakerguardd's drop-in, omarchy-mac's preset and
aurora-audio's dependencies keep working.

triforce is GPL-2.0-or-later upstream, not MIT as asahi-alarm declares.
The three are listed as `none` in the Mac inventory until edge qualifies
them.

Signed-off-by: Marcelo Alcantara <maralc@gmail.com>
@greptile-apps

greptile-apps Bot commented Nov 17, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] The PR appears safe to merge, with the three packages intentionally held on edge until qualification.

Summary

Adds source recipes for speakersafetyd, bankstown, and triforce-lv2, keeping their names and raising their package release numbers.

  • Aurora audio packages now build from local source recipes.
  • J504 speaker sections use their full speaker names.

No actionable issues found. No builds or runtime tests were run during this review.

Acknowledged by maralcbr: whole-channel promotion on aarch64 is intentionally blocked until the three inventory entries are qualified. Updating docs/upstream-sources.md is deferred to the tracking change.

Reviews (1) · Last reviewed commit: "Build speakersafetyd, bankstown and trif..." · Reviewed by Greptile

@maralcbr
maralcbr merged commit 6322528 into master Nov 17, 2026
13 checks passed
@maralcbr
maralcbr deleted the asahi-import-audio-deps branch November 17, 2026 02:00
@github-actions

Copy link
Copy Markdown
Contributor

Publish succeeded → live

Packages: bankstown (aarch64, PR artifact); speakersafetyd (aarch64, PR artifact); triforce-lv2 (aarch64, PR artifact)

  • edge/aarch64: bankstown-1.1.0-3-aarch64, speakersafetyd-2.0.1-2-aarch64, triforce-lv2-0.3.2-2-aarch64

Commit 6322528 · run

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant