compositor/kms: libseat (device access, VT switching), DRM dumb buffers with page flips and a hardware cursor, libinput keyboard/pointer, xkbcommon keymap and modifiers. --drm runs the compositor on the real display at the monitor's native mode. session/ holds the display-manager entry, launcher script and installer (just install-session). Untested on hardware: refuses to start inside another session. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
25 lines
642 B
Plaintext
25 lines
642 B
Plaintext
import {
|
|
"moonbitlang/core/builtin",
|
|
"moonbitlang/core/env",
|
|
"moonplasma/desktop/compositor/sys" @sys,
|
|
"moonplasma/desktop/compositor/scene" @scene,
|
|
"moonplasma/desktop/compositor/renderer" @renderer,
|
|
"moonplasma/desktop/compositor/gfx" @gfx,
|
|
"moonplasma/desktop/compositor/host" @host,
|
|
"moonplasma/desktop/compositor/nested" @nested,
|
|
"moonplasma/desktop/compositor/kms" @kms,
|
|
}
|
|
|
|
supported_targets = "-all+native"
|
|
|
|
pkgtype(kind: "executable")
|
|
|
|
// System libraries behind the DRM/KMS backend (compositor/kms).
|
|
options(
|
|
link: {
|
|
"native": {
|
|
"cc-link-flags": "-ldrm -linput -lseat -lxkbcommon -ludev",
|
|
},
|
|
},
|
|
)
|