forked from rosa/hakurei
Unfortunate ugly indirect dependency we cannot yet get rid of. Signed-off-by: Ophestra <cat@gensokyo.uk>
47 lines
1.1 KiB
Go
47 lines
1.1 KiB
Go
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,
|
|
}
|
|
}
|