Compare commits
1
Commits
| Author | SHA256 | Date | |
|---|---|---|---|
|
|
a45d3a8eab |
@@ -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