chore(gstreamer1-plugins-ugly): Track and rebuild for x264 and x265 (#6961) (#6968)

(cherry picked from commit 26262394c3)

Co-authored-by: Gilver <rockgrub@disroot.org>
This commit is contained in:
Raboneko
2025-10-29 06:45:21 -07:00
committed by GitHub
parent df98a83d19
commit b0abe19f76
4 changed files with 12 additions and 1 deletions
@@ -0,0 +1 @@
0.165
@@ -0,0 +1 @@
4.1
@@ -2,7 +2,7 @@
Name: gstreamer1-plugins-ugly
Version: 1.26.6
Release: 1%?dist
Release: 2%?dist
Epoch: 1
Summary: GStreamer streaming media framework "ugly" plugins
License: LGPL-2.0-or-later and LGPL-2.0-only
@@ -3,3 +3,12 @@ import "andax/bump_extras.rhai" as bump;
let vr = bump::bodhi_vr("gstreamer1-plugins-ugly-free", bump::as_bodhi_ver(labels.branch));
rpm.version(vr[1]);
rpm.release(vr[2]);
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/update.rhai/VERSION_x264.txt", "w").write(bump::madoguchi("x264", labels.branch));
open_file("anda/multimedia/gstreamer1/gstreamer1-plugins-ugly/VERSION_x265.txt", "w").write(bump::madoguchi("x265", labels.branch));
let dir = sub(`/[^/]+$`, "", __script_path);
if sh("[[ `git status " + dir + " --porcelain` ]] && exit 1 || exit 0", #{}).ctx.rc == 1 {
let rel = spec::get_release(rpm).parse_int();
rpm.release(rel + 1);
}