internal/rosa: dbus artifact
Some checks failed
Test / Create distribution (push) Failing after 52s
Test / ShareFS (push) Failing after 56s
Test / Hakurei (push) Failing after 1m15s
Test / Sandbox (race detector) (push) Failing after 1m15s
Test / Sandbox (push) Failing after 1m29s
Test / Hakurei (race detector) (push) Failing after 1m41s
Test / Flake checks (push) Has been skipped
Some checks failed
Test / Create distribution (push) Failing after 52s
Test / ShareFS (push) Failing after 56s
Test / Hakurei (push) Failing after 1m15s
Test / Sandbox (race detector) (push) Failing after 1m15s
Test / Sandbox (push) Failing after 1m29s
Test / Hakurei (race detector) (push) Failing after 1m41s
Test / Flake checks (push) Has been skipped
Unfortunate ugly indirect dependency we cannot yet get rid of. Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
46
internal/rosa/dbus.go
Normal file
46
internal/rosa/dbus.go
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
package rosa
|
||||||
|
|
||||||
|
import "hakurei.app/internal/pkg"
|
||||||
|
|
||||||
|
func (t Toolchain) newDBus() (pkg.Artifact, string) {
|
||||||
|
const (
|
||||||
|
version = "1.16.2"
|
||||||
|
checksum = "INwOuNdrDG7XW5ilW_vn8JSxEa444rRNc5ho97i84I1CNF09OmcFcV-gzbF4uCyg"
|
||||||
|
)
|
||||||
|
return t.NewPackage("dbus", version, pkg.NewHTTPGetTar(
|
||||||
|
nil, "https://gitlab.freedesktop.org/dbus/dbus/-/archive/"+
|
||||||
|
"dbus-"+version+"/dbus-dbus-"+version+".tar.bz2",
|
||||||
|
mustDecode(checksum),
|
||||||
|
pkg.TarBzip2,
|
||||||
|
), &PackageAttr{
|
||||||
|
// OSError: [Errno 30] Read-only file system: '/usr/src/dbus/subprojects/packagecache'
|
||||||
|
Writable: true,
|
||||||
|
// PermissionError: [Errno 13] Permission denied: '/usr/src/dbus/subprojects/packagecache'
|
||||||
|
Chmod: true,
|
||||||
|
}, &MesonHelper{
|
||||||
|
Setup: []KV{
|
||||||
|
{"Depoll", "enabled"},
|
||||||
|
{"Dinotify", "enabled"},
|
||||||
|
{"Dx11_autolaunch", "disabled"},
|
||||||
|
},
|
||||||
|
},
|
||||||
|
GLib,
|
||||||
|
Libexpat,
|
||||||
|
), version
|
||||||
|
}
|
||||||
|
func init() {
|
||||||
|
artifactsM[DBus] = Metadata{
|
||||||
|
f: Toolchain.newDBus,
|
||||||
|
|
||||||
|
Name: "dbus",
|
||||||
|
Description: "a message bus system",
|
||||||
|
Website: "https://www.freedesktop.org/wiki/Software/dbus/",
|
||||||
|
|
||||||
|
Dependencies: []PArtifact{
|
||||||
|
GLib,
|
||||||
|
Libexpat,
|
||||||
|
},
|
||||||
|
|
||||||
|
ID: 5356,
|
||||||
|
}
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user