diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-04-12 19:41:49 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-04-12 19:41:49 +0900 |
| commit | b2141a41d78a1bc9c507b03c0a916152254e5e16 (patch) | |
| tree | fb59ad5d94a326b3a304a883bbf80032c30ca0ab /internal | |
| parent | c0dff5bc878ba061c1b6e52646e5334ba25a0145 (diff) | |
internal/rosa/dbus: xdg-dbus-proxy artifact
This is currently a hakurei runtime dependency, but will eventually be removed.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal')
| -rw-r--r-- | internal/rosa/all.go | 3 | ||||
| -rw-r--r-- | internal/rosa/dbus.go | 36 |
2 files changed, 38 insertions, 1 deletions
diff --git a/internal/rosa/all.go b/internal/rosa/all.go index fefd3863..14165698 100644 --- a/internal/rosa/all.go +++ b/internal/rosa/all.go @@ -148,8 +148,9 @@ const ( WaylandProtocols XCB XCBProto - Xproto + XDGDBusProxy XZ + Xproto Zlib Zstd diff --git a/internal/rosa/dbus.go b/internal/rosa/dbus.go index ad81f973..b27d85a8 100644 --- a/internal/rosa/dbus.go +++ b/internal/rosa/dbus.go @@ -44,3 +44,39 @@ func init() { ID: 5356, } } + +func (t Toolchain) newXDGDBusProxy() (pkg.Artifact, string) { + const ( + version = "0.1.7" + checksum = "UW5Pe-TP-XAaN-kTbxrkOQ7eYdmlAQlr2pdreLtPT0uwdAz-7rzDP8V_8PWuZBup" + ) + return t.NewPackage("xdg-dbus-proxy", version, pkg.NewHTTPGetTar( + nil, "https://github.com/flatpak/xdg-dbus-proxy/archive/"+ + "refs/tags/"+version+".tar.gz", + mustDecode(checksum), + pkg.TarGzip, + ), nil, &MesonHelper{ + Setup: []KV{ + {"Dman", "disabled"}, + }, + }, + DBus, + + GLib, + ), version +} +func init() { + artifactsM[XDGDBusProxy] = Metadata{ + f: Toolchain.newXDGDBusProxy, + + Name: "xdg-dbus-proxy", + Description: "a filtering proxy for D-Bus connections", + Website: "https://github.com/flatpak/xdg-dbus-proxy", + + Dependencies: P{ + GLib, + }, + + ID: 58434, + } +} |
