From 7831f5af16f0dd9e33463a72e12e91cfc0f9e107 Mon Sep 17 00:00:00 2001 From: madomado Date: Sun, 5 Nov 2023 22:22:52 +0800 Subject: [PATCH] fix(update): openh264 Signed-off-by: madomado --- anda/lib/openh264/update.rhai | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/anda/lib/openh264/update.rhai b/anda/lib/openh264/update.rhai index 68b90ffb62..fee9014efa 100644 --- a/anda/lib/openh264/update.rhai +++ b/anda/lib/openh264/update.rhai @@ -1,4 +1,6 @@ rpm.global("commit1", get("https://api.github.com/repos/mozilla/gmp-api/commits/HEAD").json().sha); -rpm.global("openh264_version", gh("cisco/openh264")); +let h264 = gh("cisco/openh264"); +h264.crop(1); +rpm.global("openh264_version", h264); let html = get("https://gstreamer.freedesktop.org/src/gst-plugins-bad/?C=N;O=D"); rpm.global("gst_version", find("gst-plugins-bad-([\\d.]+).tar.xz", html, 1));