26 lines
542 B
Python
26 lines
542 B
Python
from lib.make import *
|
|
from lib import cpp
|
|
|
|
version("1.37")
|
|
source_url("https://github.com/bus1/dbus-broker/releases/download/v37/dbus-broker-37.tar.xz")
|
|
|
|
supported_arch(lambda arch: "linux" in arch)
|
|
|
|
builddep("shortcut/c")
|
|
builddep("meson")
|
|
builddep("ninja")
|
|
builddep(f"linux-dev @{arch.get_target()}")
|
|
|
|
|
|
def build():
|
|
cpp.meson_setup(["-Dlauncher=false", "--prefix=/"])
|
|
cpp.meson_compile()
|
|
cpp.meson_install()
|
|
|
|
on_build(build)
|
|
|
|
package("dbus-broker")
|
|
dep("semi-libc @same-arch")
|
|
provide("dbus-daemon")
|
|
cpp.use_auto_pack(["bin"])
|