Merge pull request 'feat: add package openh264' (#29) from sisungo/ports:openh264 into main
Reviewed-on: http://gitea.semilabs.org/semios/ports/pulls/29
This commit was merged in pull request #29.
This commit is contained in:
commit
120d0167ca
1 file changed
+34
@@ -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"])
|
||||
Reference in new issue
Block a user