fix: Update scripts that are missing a spec import (#7834)

This commit is contained in:
Gilver
2025-12-01 14:17:59 -06:00
committed by GitHub
parent 410caee026
commit 93d7fc4b14
8 changed files with 11 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
rpm.version(gh("v-novaltd/LCEVCdec"));
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
rpm.version(find(`\s+VERSION ([\d.]+)`, gh_rawfile("v-novaltd/LCEVCdec", "main", "CMakeLists.txt"), 1));
open_file("anda/multimedia/LCEVCdec/VERSION_ffmpeg.txt", "w").write(bump::madoguchi("ffmpeg", labels.branch));
+1
View File
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
// rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
rpm.version(bump::bodhi("ffmpeg", bump::as_bodhi_ver(labels.branch)));
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
let vr = bump::bodhi_vr("gstreamer1-plugin-libav", bump::as_bodhi_ver(labels.branch));
rpm.version(vr[1]);
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
let bodhi_branch = bump::as_bodhi_ver(labels.branch);
@@ -11,6 +12,7 @@ rpm.version(vr[1]);
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/OPENCV_VERSION.txt", "w").write(bump::bodhi("opencv", bodhi_branch));
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/LCEVCdec_VERSION.txt", "w").write(bump::madoguchi("LCEVCdec", labels.branch));
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-bad/OPENH264_VERSION.txt", "w").write(bump::madoguchi("openh264", labels.branch));
let dir = sub(`/[^/]+$`, "", __script_path);
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
let vr = bump::bodhi_vr("gstreamer1-plugins-ugly-free", bump::as_bodhi_ver(labels.branch));
rpm.version(vr[1]);
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
let vr = bump::bodhi_vr("gstreamer1-vaapi", bump::as_bodhi_ver(labels.branch));
rpm.version(vr[1]);
@@ -1,4 +1,5 @@
import "andax/bump_extras.rhai" as bump;
import "andax/spec.rhai" as spec;
rpm.version(pypi("kde-material-you-colors"));