mirror of
https://github.com/terrapkg/packages.git
synced 2026-05-31 09:01:55 +00:00
fix(ffmpeg): update.rhai (#3287)
This commit is contained in:
@@ -210,7 +210,9 @@ BuildRequires: opencl-headers ocl-icd-devel
|
||||
BuildRequires: openjpeg2-devel
|
||||
%{!?_without_opus:BuildRequires: opus-devel >= 1.1.3}
|
||||
%{!?_without_pulse:BuildRequires: pulseaudio-libs-devel}
|
||||
BuildRequires: perl(GD::Text)
|
||||
BuildRequires: perl(Pod::Man)
|
||||
BuildRequires: perl(Texinfo::Convert::HTML)
|
||||
BuildRequires: qrencode-devel
|
||||
%{?_with_rav1e:BuildRequires: pkgconfig(rav1e)}
|
||||
%{!?_without_rubberband:BuildRequires: rubberband-devel}
|
||||
|
||||
@@ -2,7 +2,12 @@ import "andax/bump_extras.rhai" as bump;
|
||||
|
||||
rpm.version(find(`<small>ffmpeg-([\d.]+?)\.tar\.xz</small>`, get("https://ffmpeg.org/download.html"), 1));
|
||||
|
||||
let ffmpeg_ver = get(`https://madoguchi.fyralabs.com/v4/terra${labels.branch}/packages/x265`).json().ver;
|
||||
let branch = labels.branch;
|
||||
if branch.starts_with("f") {
|
||||
branch.crop(1); // remove the `f`
|
||||
}
|
||||
|
||||
let ffmpeg_ver = get(`https://madoguchi.fyralabs.com/v4/terra${branch}/packages/x265`).json().ver;
|
||||
open_file("anda/fusion/ffmpeg/VERSION_x265.txt", "w").write(ffmpeg_ver);
|
||||
|
||||
let tesseract_ver = bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch));
|
||||
|
||||
Reference in New Issue
Block a user