From c19b48c445a58eeb9555564810f0694e9f15cb18 Mon Sep 17 00:00:00 2001 From: Emir Beganovic Date: Thu, 8 Oct 2026 00:49:37 +0200 Subject: [PATCH] omasnap-git: give the smoke suite its output directory as --output-dir Upstream's 6771b19 ("keep smoke artifacts in the build directory") made omasnap-smoke reject positional paths; the directory is now passed with --output-dir. check() still passed it positionally, so every build of a pin at or past that commit failed with "Unexpected positional argument; use --output-dir ." Pass it as --output-dir and move the pin to 6771b19, the tip the branch tracker has been trying to merge since October 4. The two have to land together: the old pin does not know --output-dir. --- pkgbuilds/omasnap-git/PKGBUILD | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pkgbuilds/omasnap-git/PKGBUILD b/pkgbuilds/omasnap-git/PKGBUILD index 93b673a..6e1228b 100644 --- a/pkgbuilds/omasnap-git/PKGBUILD +++ b/pkgbuilds/omasnap-git/PKGBUILD @@ -5,9 +5,9 @@ # tagged release it follows and below the next one. pkgname=omasnap-git -pkgver=1.21.0.r76.g614cdf5 +pkgver=1.21.0.r81.g6771b19 pkgrel=1 -_commit=614cdf55b42a43c1dcee2c85cd01e4764a52bdae +_commit=6771b19de8bcead2b17c16b49f1a8a97445dd8e3 pkgdesc="Native Wayland screenshot and annotation overlay for Hyprland (main branch)" arch=('x86_64' 'aarch64') url="https://github.com/omacom/omasnap" @@ -33,7 +33,7 @@ conflicts=('omasnap') options=('!debug') source=("omasnap::git+$url.git#commit=${_commit}") -sha256sums=('952539c68a81ac373c0f2d5fc084106d3419ee3e5ec2d544d02b510a3f416484') +sha256sums=('7721f7f1010e610c6435ce7a1e99d8da3b8ceb9ccb1674a28c94a96b8eb411b8') build() { cmake -S omasnap -B build -G Ninja \ @@ -53,7 +53,7 @@ check() { runtime_dir=$(mktemp -d /dev/shm/omasnap-runtime.XXXXXX) if QT_QPA_PLATFORM=offscreen QT_FORCE_STDERR_LOGGING=1 \ XDG_RUNTIME_DIR="$runtime_dir" \ - ./build/omasnap-smoke "$srcdir/omasnap-smoke-output"; then + ./build/omasnap-smoke --output-dir "$srcdir/omasnap-smoke-output"; then status=0 else status=$?