forked from semios/ports
feat: add gtk & dependencies
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
from lib.make import *
|
||||
from lib import cpp, arch
|
||||
|
||||
|
||||
version("0.4.42")
|
||||
description("Orc - Optimized Inner Loop Runtime Compiler")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://gstreamer.freedesktop.org/data/src/orc/orc-0.4.42.tar.xz")
|
||||
|
||||
builddep("shortcut/c")
|
||||
builddep("shortcut/meson")
|
||||
builddep("linux-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"--prefix=/",
|
||||
f"--libdir={get_prefix('gstreamer-liborc')}/lib",
|
||||
f"--bindir={get_prefix('gstreamer-orc')}/bin",
|
||||
f"--includedir={get_prefix('gstreamer-liborc-dev')}/include",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
|
||||
|
||||
package("gstreamer-liborc")
|
||||
dep("semi-libc @same-arch")
|
||||
cpp.use_auto_pack(["lib"])
|
||||
|
||||
package("gstreamer-orc")
|
||||
dep("gstreamer-liborc (same)")
|
||||
cpp.use_auto_pack(["bin"])
|
||||
|
||||
package("gstreamer-liborc-dev")
|
||||
dep("gstreamer-liborc (same)")
|
||||
dep("semi-libc-dev @same-arch")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
Reference in New Issue
Block a user