├── .gitignore ├── .gitmodules ├── flathub.json └── net.minetest.Minetest.yaml /.gitignore: -------------------------------------------------------------------------------- 1 | .flatpak-builder 2 | build_dir 3 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "shared-modules"] 2 | path = shared-modules 3 | url = https://github.com/flathub/shared-modules.git 4 | -------------------------------------------------------------------------------- /flathub.json: -------------------------------------------------------------------------------- 1 | { 2 | "end-of-life": "App renamed to: org.luanti.luanti. Read: https://blog.luanti.org/2024/10/13/Introducing-Our-New-Name/", 3 | "end-of-life-rebase": "org.luanti.luanti" 4 | } 5 | -------------------------------------------------------------------------------- /net.minetest.Minetest.yaml: -------------------------------------------------------------------------------- 1 | app-id: net.minetest.Minetest 2 | runtime: org.freedesktop.Platform 3 | runtime-version: '24.08' 4 | sdk: org.freedesktop.Sdk 5 | command: minetest 6 | rename-appdata-file: net.minetest.minetest.metainfo.xml 7 | rename-desktop-file: net.minetest.minetest.desktop 8 | rename-icon: luanti 9 | copy-icon: true 10 | finish-args: 11 | - --socket=x11 12 | - --socket=pulseaudio 13 | - --device=all 14 | - --share=ipc 15 | - --share=network 16 | cleanup: 17 | - /include 18 | - /lib/pkgconfig 19 | - /share/aclocal 20 | - /share/gtk-doc 21 | - /share/man 22 | - '*.la' 23 | - '*.a' 24 | 25 | modules: 26 | - shared-modules/luajit/luajit.json 27 | 28 | - name: luanti 29 | buildsystem: cmake-ninja 30 | config-opts: 31 | - -DENABLE_CURSES=0 32 | - -DENABLE_GETTEXT=1 33 | cleanup: 34 | - /share/minetest/games/devtest 35 | post-install: 36 | - mv $FLATPAK_DEST/bin/luanti $FLATPAK_DEST/bin/luanti.bin 37 | - install -Dm755 luanti.sh $FLATPAK_DEST/bin/luanti 38 | sources: 39 | - type: git 40 | url: https://github.com/minetest/minetest.git 41 | tag: 5.11.0 42 | x-checker-data: 43 | type: git 44 | tag-pattern: ([\d.]+)$ 45 | is-important: true 46 | 47 | commit: 0cb7735125c4d44026c874fd269669806d8d70d4 48 | - type: script 49 | dest-filename: luanti.sh 50 | commands: 51 | - MINETEST_USER_PATH=$HOME/.var/app/net.minetest.Minetest/.minetest exec 52 | luanti.bin "$@" 53 | --------------------------------------------------------------------------------