mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-02 18:02:19 +00:00
(cherry picked from commit 959a83dff0)
Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
@@ -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());
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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 <mado@fyralabs.com>
|
||||
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
|
||||
|
||||
@@ -1 +1 @@
|
||||
rpm.version(find(`Latest Updates \(Version ([\d.]+)\)`, get("https://www.music.mcgill.ca/~gary/rtaudio/"), 1));
|
||||
rpm.version(gh("thestk/rtaudio"));
|
||||
|
||||
@@ -2,5 +2,4 @@ rpm.global("commit", gh_commit("PikaOS-Linux/falcond-profiles"));
|
||||
if rpm.changed() {
|
||||
rpm.global("commit_date", date());
|
||||
rpm.release();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user