From 12d0c21d500bc9c3995981dbb6f528b5f3aae12b Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 24 Nov 2024 18:09:00 +0800 Subject: [PATCH] Auto-update openh264 to v2.5.0 (#5785) * Update openh264 to v2.5.0 * Update xmake.lua --------- Co-authored-by: star9029 --- packages/o/openh264/xmake.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/o/openh264/xmake.lua b/packages/o/openh264/xmake.lua index 783c50117..171f50eb6 100644 --- a/packages/o/openh264/xmake.lua +++ b/packages/o/openh264/xmake.lua @@ -6,6 +6,7 @@ package("openh264") set_urls("https://github.com/cisco/openh264/archive/refs/tags/$(version).tar.gz", "https://github.com/cisco/openh264.git") + add_versions("v2.5.0", "94c8ca364db990047ec4ec3481b04ce0d791e62561ef5601443011bdc00825e3") add_versions("v2.4.1", "8ffbe944e74043d0d3fb53d4a2a14c94de71f58dbea6a06d0dc92369542958ea") add_versions("v2.1.1", "af173e90fce65f80722fa894e1af0d6b07572292e76de7b65273df4c0a8be678") @@ -22,6 +23,8 @@ package("openh264") end) on_install("!android and !bsd and !wasm", function (package) + io.replace("meson.build", "-Werror", "", {plain = true}) + if package:gitref() or package:version():ge("2.4.1") then import("package.tools.meson")