From 378e43659ca6d246b307ee13084cd61d0fdacab3 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 15 Jun 2025 22:43:29 -0700 Subject: [PATCH] fix(hyprlock): explicit builddeps from terra (#5462) (#5476) * fix(hyprlock): explicit builddeps from terra * Update update.rhai * Update hyprlock.spec --------- (cherry picked from commit fb4b4f39c6244752042b98c607192081529ce1f9) Signed-off-by: madomado Co-authored-by: madomado --- anda/desktops/waylands/hyprlock/hyprlock.spec | 36 ++----------------- anda/desktops/waylands/hyprlock/update.rhai | 4 ++- 2 files changed, 5 insertions(+), 35 deletions(-) diff --git a/anda/desktops/waylands/hyprlock/hyprlock.spec b/anda/desktops/waylands/hyprlock/hyprlock.spec index 1f5a070745..7bfcc27042 100644 --- a/anda/desktops/waylands/hyprlock/hyprlock.spec +++ b/anda/desktops/waylands/hyprlock/hyprlock.spec @@ -1,37 +1,5 @@ Name: hyprlock Version: 0.8.2 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Release: 1%?dist Summary: Hyprland's GPU-accelerated screen locking utility License: BSD-3-Clause @@ -43,7 +11,7 @@ BuildRequires: pkgconfig(cairo) BuildRequires: (pkgconfig(hyprgraphics) with hyprgraphics.nightly-devel) BuildRequires: pkgconfig(hyprland-protocols) BuildRequires: (pkgconfig(hyprlang) with hyprlang.nightly-devel) -BuildRequires: pkgconfig(hyprutils) +BuildRequires: (pkgconfig(hyprutils) with hyprutils.nightly-devel) BuildRequires: (pkgconfig(hyprwayland-scanner) with hyprwayland-scanner.nightly-devel) BuildRequires: mesa-libgbm-devel BuildRequires: mesa-libGL-devel @@ -52,7 +20,7 @@ BuildRequires: pkgconfig(pango) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(wayland-protocols) BuildRequires: pkgconfig(xkbcommon) -BuildRequires: pkgconfig(sdbus-c++) >= 2.0.0 +BuildRequires: pkgconfig(sdbus-c++) >= 2.1.0 BuildRequires: pkgconfig(libjpeg) BuildRequires: pkgconfig(libwebp) BuildRequires: pkgconfig(libmagic) diff --git a/anda/desktops/waylands/hyprlock/update.rhai b/anda/desktops/waylands/hyprlock/update.rhai index 7f23336bba..05b9c25c0c 100644 --- a/anda/desktops/waylands/hyprlock/update.rhai +++ b/anda/desktops/waylands/hyprlock/update.rhai @@ -1 +1,3 @@ -rpm.version(gh_rawfile("hyprwm/hyprlock", "main", "VERSION")); +let v = gh_rawfile("hyprwm/hyprlock", "main", "VERSION"); +v.trim(); +rpm.version(v);