Compare commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
a45d3a8eab |
No files matched your search
@@ -0,0 +1,45 @@
|
|||||||
|
from lib.make import *
|
||||||
|
from lib import cpp
|
||||||
|
|
||||||
|
|
||||||
|
# FIXME: Support our own `settings` backend
|
||||||
|
|
||||||
|
|
||||||
|
version("0.5.12")
|
||||||
|
description("a library that provides automatic proxy configuration management")
|
||||||
|
maintainer("sisungo <[email protected]>")
|
||||||
|
source_managed("github://libproxy/libproxy#0.5.12")
|
||||||
|
|
||||||
|
builddep("shortcut/c++")
|
||||||
|
builddep("shortcut/meson")
|
||||||
|
builddep("glib-dev @target")
|
||||||
|
builddep("gobject-introspection @target")
|
||||||
|
builddep("glib-tools")
|
||||||
|
|
||||||
|
|
||||||
|
def build():
|
||||||
|
cpp.meson_setup([
|
||||||
|
"--prefix=/",
|
||||||
|
f"--libdir={get_prefix('libproxy')}/lib",
|
||||||
|
f"--includedir={get_prefix('libproxy-dev')}/include",
|
||||||
|
"-Drelease=true",
|
||||||
|
"-Dconfig-gnome=false",
|
||||||
|
"-Dconfig-sysconfig=false",
|
||||||
|
"-Dconfig-kde=false",
|
||||||
|
"-Dcurl=false",
|
||||||
|
"-Dpacrunner-duktape=false",
|
||||||
|
])
|
||||||
|
cpp.meson_compile()
|
||||||
|
cpp.meson_install()
|
||||||
|
|
||||||
|
on_build(build)
|
||||||
|
|
||||||
|
|
||||||
|
package("libproxy")
|
||||||
|
dep("semi-libc @same-arch")
|
||||||
|
cpp.use_auto_pack(["lib"])
|
||||||
|
|
||||||
|
package("libproxy-dev")
|
||||||
|
dep("libproxy (same)")
|
||||||
|
dep("semi-libc-dev @same-arch")
|
||||||
|
cpp.use_auto_pack(["dev"])
|
||||||
@@ -1,34 +0,0 @@
|
|||||||
from lib.make import *
|
|
||||||
from lib import cpp
|
|
||||||
|
|
||||||
|
|
||||||
version("3.8.0")
|
|
||||||
description("HTTP Library for GLib")
|
|
||||||
maintainer("sisungo <[email protected]>")
|
|
||||||
source_managed("gitlab://gitlab.gnome.org/GNOME/libsoup#3.8.0")
|
|
||||||
|
|
||||||
builddep("shortcut/c++")
|
|
||||||
builddep("shortcut/meson")
|
|
||||||
builddep("glib-dev @target")
|
|
||||||
builddep("glib-tools")
|
|
||||||
builddep("libbrotli-dev @target")
|
|
||||||
builddep("libzstd-dev @target")
|
|
||||||
builddep("aws-lc-dev @target")
|
|
||||||
builddep("gobject-introspection @target")
|
|
||||||
builddep("libnghttp2-dev @target")
|
|
||||||
builddep("libsqlite-dev @target")
|
|
||||||
builddep("libpsl-dev @target")
|
|
||||||
|
|
||||||
|
|
||||||
def build():
|
|
||||||
cpp.meson_setup([
|
|
||||||
"-Dgssapi=disabled",
|
|
||||||
"-Dntlm=disabled",
|
|
||||||
"-Dbrotli=enabled",
|
|
||||||
"-Dzstd=enabled",
|
|
||||||
"-Dintrospection=enabled",
|
|
||||||
])
|
|
||||||
cpp.meson_compile()
|
|
||||||
cpp.meson_install()
|
|
||||||
|
|
||||||
on_build(build)
|
|
||||||
Reference in new issue
Block a user