diff --git a/anda/apps/goofcord/nightly/update.rhai b/anda/apps/goofcord/nightly/update.rhai index a886909690..0e24d0bdb5 100644 --- a/anda/apps/goofcord/nightly/update.rhai +++ b/anda/apps/goofcord/nightly/update.rhai @@ -1,6 +1,6 @@ rpm.global("commit", gh_commit("Milkshiift/GoofCord")); if rpm.changed { - let v = gh_tag(""Milkshiift/GoofCord"); + let v = gh_tag("Milkshiift/GoofCord"); v.crop(1); rpm.global("ver", v); rpm.global("commit_date", date()); diff --git a/anda/desktops/waylands/hyprland-protocols/update.rhai b/anda/desktops/waylands/hyprland-protocols/update.rhai index c198b9f394..b41f30603a 100644 --- a/anda/desktops/waylands/hyprland-protocols/update.rhai +++ b/anda/desktops/waylands/hyprland-protocols/update.rhai @@ -1,5 +1,5 @@ -rpm.global("commit", gh_commit("hyprwm/hyprlang-protocols")); +rpm.global("commit", gh_commit("hyprwm/hyprland-protocols")); if rpm.changed() { - rpm.global("ver", gh_rawfile("hyprwm/hyprlang-protocols", "main", "VERSION")); + rpm.global("ver", gh_rawfile("hyprwm/hyprland-protocols", "main", "VERSION")); rpm.global("commit_date", date()); } diff --git a/anda/multimedia/rtaudio/rtaudio-nightly.spec b/anda/multimedia/rtaudio/rtaudio-nightly.spec index b1c0342ba7..378b92a8ce 100644 --- a/anda/multimedia/rtaudio/rtaudio-nightly.spec +++ b/anda/multimedia/rtaudio/rtaudio-nightly.spec @@ -1,12 +1,16 @@ #? https://src.fedoraproject.org/rpms/rtaudio/blob/db1aa72863ccbfd480e22c2f7aefb41ebb8e2360/f/rtaudio.spec +%global commit 40e0d8140f14acd8552d2dc4f42dcc853274a12c +%global shortcommit %(c=%{commit}; echo ${c:0:7}) +%global commit_date 20250430 +%global ver 6.0.1 Name: rtaudio-nightly -Version: 6.0.1 +Version: %{ver}^%{commit_date}.git.%{shortcommit} Release: 1%?dist Summary: Real-time Audio I/O Library License: MIT -URL: https://www.music.mcgill.ca/~gary/rtaudio/ -Source0: %url/release/rtaudio-%version.tar.gz +URL: https://github.com/thestk/rtaudio +Source0: %url/archive/%commit.tar.gz Packager: madonuko BuildRequires: alsa-lib-devel BuildRequires: doxygen @@ -46,7 +50,7 @@ Provides: rtaudio-devel = %version-%release %prep -%autosetup -n rtaudio-%version +%autosetup -n rtaudio-%commit # Fix encoding issues for file in tests/teststops.cpp; do sed 's|\r||' $file > $file.tmp diff --git a/anda/multimedia/rtaudio/update.rhai b/anda/multimedia/rtaudio/update.rhai index 3b9858561e..c98886d758 100644 --- a/anda/multimedia/rtaudio/update.rhai +++ b/anda/multimedia/rtaudio/update.rhai @@ -1 +1 @@ -rpm.version(find(`Latest Updates \(Version ([\d.]+)\)`, get("https://www.music.mcgill.ca/~gary/rtaudio/"), 1)); +rpm.version(gh("thestk/rtaudio")); diff --git a/anda/system/falcond-profiles/update.rhai b/anda/system/falcond-profiles/update.rhai index 3ff72ad483..3efa480e31 100644 --- a/anda/system/falcond-profiles/update.rhai +++ b/anda/system/falcond-profiles/update.rhai @@ -2,5 +2,4 @@ rpm.global("commit", gh_commit("PikaOS-Linux/falcond-profiles")); if rpm.changed() { rpm.global("commit_date", date()); rpm.release(); - } } diff --git a/anda/system/rtl8821cu/kmod-common/update.rhai b/anda/system/rtl8821cu/kmod-common/update.rhai index 632abdebad..a85d8ad2dc 100644 --- a/anda/system/rtl8821cu/kmod-common/update.rhai +++ b/anda/system/rtl8821cu/kmod-common/update.rhai @@ -4,5 +4,4 @@ rpm.global("commit", gh_commit("morrownr/8821cu-20210916")); rpm.release(); let v = find(`PACKAGE_VERSION="([\d.]+)"`, gh_rawfile("morrownr/8821cu-20210916", "main", "dkms.conf"), 1); rpm.global("ver", v); - } }