30 lines
664 B
Python
30 lines
664 B
Python
from lib.make import *
|
|
from lib import cpp
|
|
|
|
|
|
version("3.8.0")
|
|
description("Network extensions for GLib")
|
|
maintainer("sisungo <[email protected]>")
|
|
source_managed("gitlab://gitlab.gnome.org/GNOME/glib-networking#2.90.0")
|
|
|
|
builddep("shortcut/c++")
|
|
builddep("shortcut/meson")
|
|
builddep("glib-dev @target")
|
|
builddep("glib-tools")
|
|
builddep("aws-lc-dev @target")
|
|
|
|
|
|
def build():
|
|
cpp.meson_setup([
|
|
"-Dgnutls=disabled",
|
|
"-Dopenssl=disabled",
|
|
"-Dintrospection=enabled",
|
|
"-Denvironment_proxy=disabled",
|
|
"-Dlibproxy=enabled",
|
|
"-Dgnome_proxy=disabled",
|
|
])
|
|
cpp.meson_compile()
|
|
cpp.meson_install()
|
|
|
|
on_build(build)
|