From 7fa74a3369c782b1ce43ef6fd736a257c3912569 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 9 Oct 2026 14:47:04 +0200 Subject: [PATCH] Add rawmakase-bin 0.2.2, following upstream GitHub releases (#890) RAWmakase is a Lightroom-compatible RAW photo editor. Upstream publishes self-contained Linux tarballs for x86_64 and aarch64 (LibRaw, lcms2, libjpeg and ONNX Runtime bundled under /usr/lib/rawmakase) with a SHA256SUMS manifest, so the package re-wraps that usr/ tree and sync-upstream follows releases declaratively with a 24h quarantine. Co-authored-by: Claude Opus 5.5 --- pkgbuilds/rawmakase-bin/.omarchy/package.json | 13 +++++++ pkgbuilds/rawmakase-bin/PKGBUILD | 35 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 pkgbuilds/rawmakase-bin/.omarchy/package.json create mode 100644 pkgbuilds/rawmakase-bin/PKGBUILD diff --git a/pkgbuilds/rawmakase-bin/.omarchy/package.json b/pkgbuilds/rawmakase-bin/.omarchy/package.json new file mode 100644 index 00000000..167b09bb --- /dev/null +++ b/pkgbuilds/rawmakase-bin/.omarchy/package.json @@ -0,0 +1,13 @@ +{ + "source": "local", + "release_ring": "fast", + "min_release_age": "24h", + "upstream": { + "github": "pch/rawmakase", + "checksums": "SHA256SUMS", + "assets": { + "x86_64": "rawmakase-{pkgver}-x86_64-linux.tar.gz", + "aarch64": "rawmakase-{pkgver}-aarch64-linux.tar.gz" + } + } +} diff --git a/pkgbuilds/rawmakase-bin/PKGBUILD b/pkgbuilds/rawmakase-bin/PKGBUILD new file mode 100644 index 00000000..fb9155f5 --- /dev/null +++ b/pkgbuilds/rawmakase-bin/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: pch +pkgname=rawmakase-bin +pkgver=0.2.2 +pkgrel=1 +pkgdesc="Fast, Lightroom-compatible RAW photo editor (binary release)" +arch=(x86_64 aarch64) +url="https://github.com/pch/rawmakase" +license=(MIT) +# LibRaw, lcms2, libjpeg and ONNX Runtime are bundled under /usr/lib/rawmakase +# and found through the binary's $ORIGIN runpath. The windowing, input and GPU +# libraries are dlopen'd, so this list follows upstream's own Arch recipe +# rather than the ELF NEEDED entries. +depends=(dbus gcc-libs glibc hicolor-icon-theme libglvnd libx11 libxcb + libxcursor libxi libxkbcommon libxkbcommon-x11 libxrandr + vulkan-icd-loader wayland zlib) +# A Vulkan ICD is needed to draw, but as a hard dependency makepkg -s would +# resolve it to nvidia-utils in the build container; Omarchy installs the right +# driver per machine. +optdepends=('vulkan-driver: GPU rendering' + 'xdg-desktop-portal: native file dialogs') +provides=(rawmakase) +conflicts=(rawmakase) +options=(!strip !debug) +source_x86_64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-x86_64-linux.tar.gz") +source_aarch64=("$url/releases/download/v$pkgver/rawmakase-$pkgver-aarch64-linux.tar.gz") +sha256sums_x86_64=('a3fb1129fb80b9a4dfe8093b35ccfd5bf08edde50a5aaa8f1a7562efe2d29d54') +sha256sums_aarch64=('2ff210994432eacce47f0d7f1270be736a31199dfd39a0717122b17534a8fdf1') + +package() { + # The release tarball is a ready usr/ tree: a launcher script in /usr/bin, + # the binary and its bundled libraries in /usr/lib/rawmakase, plus the + # desktop entry, icon and licences. + cp -a "$srcdir/usr" "$pkgdir/" + mv "$pkgdir/usr/share/licenses/rawmakase" "$pkgdir/usr/share/licenses/$pkgname" +}