debian: initial packaging work

This commit is contained in:
2026-09-16 21:43:25 +02:00
parent 0af4dae0e2
commit ad7256b4fb
7 changed files with 65 additions and 0 deletions
Vendored Executable
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/make -f
%:
dh $@ --buildsystem=meson
# Use the system Lua from the declared Build-Depends (liblua5.4-dev) instead of
# the bundled lua subproject wrap, so the build works offline and exercises the
# declared dependency (including for cross-builds). freetype2 and pcre2 are also
# resolved from their -dev packages via pkg-config, so no wraps are fetched.
# Note: do NOT pass -Dwrap_mode here; some build drivers (e.g. pkh) already pass
# --wrap-mode on the meson command line, and Meson errors out if the same option
# is given in both forms.
override_dh_auto_configure:
dh_auto_configure -- -Duse_system_lua=true