feat: add package openh264

Signed-off-by: sisungo <[email protected]>
This commit is contained in:
sisungo committed 2026-11-03 03:39:10 +00:00
1 parent 91fbbe42de
commit a9f0e7d1f2
1 file changed
+34
+34
View File
@@ -0,0 +1,34 @@
from lib.make import *
from lib import cpp
version("2.7.0")
description("a small build system with a focus on speed")
maintainer("sisungo <[email protected]>")
source_managed("github://cisco/openh264#v2.7.0")
builddep("shortcut/c++")
builddep("shortcut/meson")
def build():
cpp.meson_setup([
"--prefix=/",
"-Dtests=disabled",
])
cpp.meson_compile()
cpp.meson_install()
on_build(build)
package("libopenh264")
dep("libcxxabi @same-arch")
dep("libunwind @same-arch")
dep("semi-libc @same-arch")
cpp.use_auto_pack(["lib"])
package("libopenh264-dev")
dep("libopenh264 (same)")
dep("libcxx-dev @same-arch")
dep("semi-libc-dev @same-arch")
cpp.use_auto_pack(["dev"])