From 9d3d3740587ba13b08719bc22197b4b4374c792f Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Sat, 26 Sep 2026 14:38:42 -0400 Subject: [PATCH] Track ttfx releases from GitHub and build its assembly engine ttfx releases are now published on GitHub only, so sync-upstream picks up new versions through a github watch instead of ttfx's release script editing this recipe. The recipe also points at the repository's current home, and x86_64 builds pull in NASM, which the new assembly engine needs (without it the build silently falls back to the Rust engine). Co-Authored-By: Claude Opus 5.5 (1M context) Claude-Session: https://claude.ai/code/session_01MxJcVYpBxFDam6czK4bGjp --- pkgbuilds/ttfx/.omarchy/package.json | 8 +++++++- pkgbuilds/ttfx/PKGBUILD | 6 ++++-- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/pkgbuilds/ttfx/.omarchy/package.json b/pkgbuilds/ttfx/.omarchy/package.json index 2a9719d..94d41cd 100644 --- a/pkgbuilds/ttfx/.omarchy/package.json +++ b/pkgbuilds/ttfx/.omarchy/package.json @@ -1,3 +1,9 @@ { - "source": "local" + "source": "local", + "upstream": { + "watch": { + "github": "omacom/ttfx", + "pattern": "v(?P[0-9]+(?:\\.[0-9]+)*)" + } + } } diff --git a/pkgbuilds/ttfx/PKGBUILD b/pkgbuilds/ttfx/PKGBUILD index 1a386f7..badd739 100644 --- a/pkgbuilds/ttfx/PKGBUILD +++ b/pkgbuilds/ttfx/PKGBUILD @@ -2,13 +2,15 @@ pkgname=ttfx pkgver=0.3.3 -pkgrel=1 +pkgrel=2 pkgdesc="Terminal text effects as a single static binary — Rust port of terminaltexteffects" arch=('x86_64' 'aarch64') -url="https://github.com/omacom-io/ttfx" +url="https://github.com/omacom/ttfx" license=('MIT') depends=('gcc-libs' 'glibc') makedepends=('cargo') +# the x86-64 assembly engine; without NASM the build falls back to pure Rust +makedepends_x86_64=('nasm') options=('!debug') source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")