forked from semios/ports
27 lines
604 B
Python
27 lines
604 B
Python
from lib.make import *
|
|
from lib import cpp
|
|
|
|
version("1.37")
|
|
description("Linux D-Bus Message Broker")
|
|
maintainer("sisungo <[email protected]>")
|
|
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("shortcut/meson")
|
|
builddep("linux-dev @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"])
|