Browse Source

Auto-update openh264 to v2.5.0 (#5785)

* Update openh264 to v2.5.0

* Update xmake.lua

---------

Co-authored-by: star9029 <[email protected]>
ruki 1 year ago
parent
commit
12d0c21d50
1 changed files with 3 additions and 0 deletions
  1. 3 0
      packages/o/openh264/xmake.lua

+ 3 - 0
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")