Compare commits
1
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
a45d3a8eab |
No files matched your search
@@ -1,29 +0,0 @@
|
||||
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)
|
||||
@@ -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"])
|
||||
Reference in new issue
Block a user