forked from semios/ports
feat: add gtk & dependencies
Signed-off-by: sisungo <[email protected]>
This commit is contained in:
@@ -0,0 +1,61 @@
|
||||
from lib.make import *
|
||||
from lib import cpp, arch
|
||||
|
||||
|
||||
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")
|
||||
|
||||
|
||||
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)
|
||||
|
||||
|
||||
package("gtk4")
|
||||
cpp.use_auto_pack(["bin", "lib"])
|
||||
|
||||
package("gtk4-dev")
|
||||
cpp.use_auto_pack(["dev"])
|
||||
Reference in New Issue
Block a user