AtlatestRepositorysigil-ui
1
;;; A sigil-ui program on Wayland: a few widgets, and every input event2
;;; echoed on screen and on stdout. Run from demo/:3
;;;4
;;; sigil build && ./build/dev/bin/sigil-ui-demo [--fullscreen] [--output NAME]5
;;;6
;;; Built dynamically linked (the Wayland surface loads libwayland-client7
;;; and libxkbcommon with dlopen, which a static musl binary cannot do).9
(package10
name: "sigil-ui-demo"11
version: "0.1.0"12
sigil: "0.24"13
description: "sigil-ui Wayland demo"14
license: "BSD-3-Clause"15
entry: '(demo main)17
configs: (list18
(config19
name: 'dev20
output-dir: "build/dev"21
debug?: #t22
optimize: 1)23
(config name: 'darwin-arm64 toolchain: 'zig target: "aarch64-macos.15.0-none"24
features: '(cross darwin) output-dir: "build/darwin-arm64"))26
dependencies: (list27
(from-pkg name: "sigil/sigil-stdlib" version: "^0.24.0")28
(from-pkg name: "sigil/sigil-ui" version: "^0.2"))30
tasks: (list31
(task32
name: 'build33
description: "Build the demo"34
steps: (list35
(compile-sigil-modules36
sources: "src/**/*.sgl"37
output-dir: (config-output-subdir "lib"))))))