Merge pull request #849 from omacom/omasnap-git/smoke-output-dir

omasnap-git: give the smoke suite its output directory as --output-dir
This commit is contained in:
Emir Beganović authored and GitHub committed 2026-10-08 02:45:49 +02:00
commit d37fcd09d1
1 file changed
+4 -4
+4 -4
View File
@@ -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=$?