feat: add gstreamer & its companies
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
1 parent
07a5703b91
commit
6ba926ba69
2 files changed
+97
No files matched your search
@@ -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"])
|
||||
@@ -0,0 +1,58 @@
|
||||
from lib.make import *
|
||||
from lib import cpp
|
||||
|
||||
|
||||
version("1.28.6")
|
||||
description("GStreamer multimedia framework")
|
||||
maintainer("sisungo <[email protected]>")
|
||||
source_url("https://gitlab.freedesktop.org/gstreamer/gstreamer/-/archive/1.28.6/gstreamer-1.28.6.tar.gz")
|
||||
|
||||
builddep("shortcut/c++")
|
||||
builddep("shortcut/meson")
|
||||
builddep("glib-dev @target")
|
||||
builddep("glib-tools")
|
||||
builddep("libpython-dev @target")
|
||||
builddep("gobject-introspection @target")
|
||||
builddep("libintl-dev @target")
|
||||
builddep("gettext")
|
||||
builddep("flex")
|
||||
builddep("bison")
|
||||
builddep("libexpat")
|
||||
builddep("libdrm-dev @target")
|
||||
builddep("gstreamer-liborc-dev @target")
|
||||
builddep("gstreamer-orc @target")
|
||||
builddep("libopengl-dev @target")
|
||||
builddep("libegl-dev @target")
|
||||
builddep("libglesv2-dev @target")
|
||||
builddep("alsa-lib-dev @target")
|
||||
builddep("libgudev-dev @target")
|
||||
builddep("libogg-dev @target")
|
||||
builddep("libopus-dev @target")
|
||||
builddep("libpango-dev @target")
|
||||
|
||||
|
||||
def build():
|
||||
cpp.meson_setup([
|
||||
"-Dbase=enabled",
|
||||
"-Dgood=enabled",
|
||||
"-Dugly=disabled",
|
||||
"-Dbad=disabled",
|
||||
"-Dlibav=auto",
|
||||
"-Ddevtools=enabled",
|
||||
"-Dges=enabled",
|
||||
"-Drtsp_server=enabled",
|
||||
"-Drs=disabled",
|
||||
"-Dgst-examples=disabled",
|
||||
"-Dpython=enabled",
|
||||
"-Dpython-exe=/bin/python3",
|
||||
"-Dtls=disabled",
|
||||
"-Dlibnice=disabled",
|
||||
"-Dgtk=disabled",
|
||||
"-Dtools=enabled",
|
||||
"-Dintrospection=enabled",
|
||||
"-Dnls=enabled",
|
||||
])
|
||||
cpp.meson_compile()
|
||||
cpp.meson_install()
|
||||
|
||||
on_build(build)
|
||||
Reference in new issue
Block a user