initial commit

This commit is contained in:
2026-05-04 20:28:10 +02:00
commit 38ed525193
9 changed files with 5218 additions and 0 deletions

44
planar-dev-1.rockspec Normal file
View File

@@ -0,0 +1,44 @@
-- SPDX-FileCopyrightText: © 2026 FireFly
-- SPDX-License-Identifier: 0BSD
package = "planar"
version = "dev-1"
rockspec_format = "3.0"
source = {
url = "",
}
description = {
summary = "stupid stupid",
homepage = "",
license = "0BSD",
}
dependencies = {
"lua == 5.4",
"cffi-lua >= 0.2.4",
"firefly/wau",
"luaposix",
}
external_dependencies = {
-- runtime dependencies: ensure these are in your LD_LIBRARY_PATH
-- XKBCOMMON = { library = "libxkbcommon.so" },
-- WAYLAND = { library = "libwayland-client.so" },
}
build = {
type = "command",
build_command = [[
for f in planar/protocol/*.xml; do
wau-scanner <$f >${f%%.xml}.lua
done
]],
install_command = [[
# mimic build.type == "builtin" behaviour
install -Dm644 planar/xkbcommon.lua $(LUADIR)/planar/xkbcommon.lua
install -Dm644 -t $(LUADIR)/planar/protocol planar/protocol/*.lua
install -Dm755 planar.lua $(BINDIR)/planar
]],
}