Files
packages/anda/multimedia/ffmpeg/update.rhai
T
Raboneko d421beadb7 fix(ffmpeg): Track LCEVCdec, update patches, drop libnpp for now (#5993) (#6290)
* Rebase on F42

* Empty commit I hate GitHub



* This URL is unreachable with the source fetching cURL params currently

* GCC14 real this time?



* Okay



* Gonna have to figure something else out



* Death

* I guess maybe



* ?



* Try removing Wall again I guess



* Oops



* IDK

* Update configure.patch



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* Update ffmpeg.spec



* chore: Also track LCEVCdec

* chore: Change some patches

* Update ffmpeg.spec



* Update ffmpeg.spec



* chore: Disable libnpp because it's just BROKEN



* chore(update.rhai): Comment out libnpp tracking for now



* chore: Delete ffmpeg-nvcc.patch



---------



(cherry picked from commit 6fb5fa85eb)

Signed-off-by: Gilver <rockgrub@disroot.org>
Co-authored-by: Gilver <rockgrub@disroot.org>
Co-authored-by: madomado <madonuko@outlook.com>
2025-09-04 02:20:30 +08:00

17 lines
972 B
Plaintext

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));
open_file("anda/multimedia/ffmpeg/VERSION_x265.txt", "w").write(bump::madoguchi("x265", labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_tesseract.txt", "w").write(bump::bodhi("tesseract", bump::as_bodhi_ver(labels.branch)));
open_file("anda/multimedia/ffmpeg/VERSION_vvenc.txt", "w").write(bump::madoguchi("vvenc-libs", labels.branch));
// open_file("anda/multimedia/ffmpeg/VERSION_libnpp.txt", "w").write(bump::madoguchi("libnpp", labels.branch));
open_file("anda/multimedia/ffmpeg/VERSION_LCEVCdec.txt", "w").write(bump::madoguchi("LCEVCdec", 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);
}