Request for Mokomaze game
Flathub Discourse [Unofficial]
April 26, 2026
{
"app-id": "com.mokomaze.Game",
"runtime": "org.freedesktop.Platform",
"runtime-version": "24.08",
"sdk": "org.freedesktop.Sdk",
"command": "mokomaze",
"finish-args": [
"--socket=x11",
"--socket=wayland",
"--socket=fallback-x11",
"--filesystem=/tmp/.X11-unix",
"--filesystem=/usr/share/fonts:ro",
"--device=dri",
"--share=ipc"
],
"modules": [
{
"name": "sdl",
"buildsystem": "autotools",
"config-opts": [
"--disable-esd",
"--disable-arts",
"--disable-static",
"--enable-shared",
"--enable-video-x11"
],
"build-options": {
"env": {
"CFLAGS": "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
}
},
"sources": [
{
"type": "archive",
"url": "https://www.libsdl.org/release/SDL-1.2.15.tar.gz",
"sha256": "d6d316a793e5e348155f0dd93b979798933fb98aa1edebcc108829d6474aad00"
},
{
"type": "shell",
"commands": [
"sed -i 's/SDL_X11_SYM(int,_XData32,(Display \\*dpy,register long \\*data/SDL_X11_SYM(int,_XData32,(Display *dpy,register const long *data/' src/video/x11/SDL_x11sym.h"
]
}
]
},
{
"name": "sdl-image",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared"
],
"build-options": {
"env": {
"PKG_CONFIG_PATH": "/app/lib/pkgconfig"
}
},
"sources": [
{
"type": "archive",
"url": "https://www.libsdl.org/projects/SDL_image/release/SDL_image-1.2.12.tar.gz",
"sha256": "0b90722984561004de84847744d566809dbb9daf732a9e503b91a1b5a84e5699"
}
]
},
{
"name": "freetype",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared"
],
"sources": [
{
"type": "archive",
"url": "https://download.savannah.gnu.org/releases/freetype/freetype-2.13.2.tar.gz",
"sha256": "1ac27e16c134a7f2ccea177faba19801131116fd682efc1f5737037c5db224b5"
}
]
},
{
"name": "sdl-ttf",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared",
"--with-freetype-prefix=/app"
],
"build-options": {
"env": {
"PKG_CONFIG_PATH": "/app/lib/pkgconfig",
"CFLAGS": "-I/app/include/freetype2",
"LDFLAGS": "-L/app/lib -lfreetype",
"LIBS": "-lfreetype"
}
},
"sources": [
{
"type": "archive",
"url": "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-2.0.11.tar.gz",
"sha256": "724cd895ecf4da319a3ef164892b72078bd92632a5d812111261cde248ebcdb7"
}
]
},
{
"name": "libode",
"buildsystem": "autotools",
"config-opts": [
"--disable-demos",
"--disable-tests",
"--disable-static",
"--enable-shared"
],
"sources": [
{
"type": "archive",
"url": "https://bitbucket.org/odedevs/ode/downloads/ode-0.16.2.tar.gz",
"sha256": "b26aebdcb015e2d89720ef48e0cb2e8a3ca77915f89d853893e7cc861f810f22"
}
]
},
{
"name": "sdl-gfx",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared"
],
"build-options": {
"env": {
"PKG_CONFIG_PATH": "/app/lib/pkgconfig",
"CFLAGS": "-I/app/include/SDL",
"LDFLAGS": "-L/app/lib"
}
},
"sources": [
{
"type": "git",
"url": "https://github.com/ferzkopp/SDL_gfx.git",
"branch": "master"
}
]
},
{
"name": "argtable2",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared"
],
"build-options": {
"env": {
"CFLAGS": "-Wno-implicit-function-declaration"
}
},
"sources": [
{
"type": "archive",
"url": "https://sourceforge.net/projects/argtable/files/argtable/argtable-2.13/argtable2-13.tar.gz",
"sha256": "8f77e8a7ced5301af6e22f47302fdbc3b1ff41f2b83c43c77ae5ca041771ddbf"
}
]
},
{
"name": "guichan",
"buildsystem": "autotools",
"config-opts": [
"--disable-static",
"--enable-shared",
"--enable-sdl",
"--disable-opengl",
"--disable-allegro"
],
"build-options": {
"env": {
"PKG_CONFIG_PATH": "/app/lib/pkgconfig",
"CFLAGS": "-I/app/include/SDL",
"CXXFLAGS": "-I/app/include/SDL",
"LDFLAGS": "-L/app/lib"
}
},
"build-commands": [
"autoreconf -fi"
],
"sources": [
{
"type": "git",
"url": "https://github.com/darkbitsorg/guichan.git",
"tag": "v0.8.2"
}
]
},
{
"name": "mokomaze",
"buildsystem": "autotools",
"config-opts": [
"--disable-static"
],
"build-options": {
"env": {
"PKG_CONFIG_PATH": "/app/lib/pkgconfig",
"CFLAGS": "-I/app/include -I/app/include/SDL -I/app/include/freetype2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0",
"CXXFLAGS": "-U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0",
"LDFLAGS": "-L/app/lib -lfreetype",
"SDL_CFLAGS": "-I/app/include/SDL",
"SDL_LIBS": "-L/app/lib -lSDL -lSDL_image -lSDL_ttf -lSDL_gfx"
}
},
"sources": [
{
"type": "dir",
"path": "mokomaze-src"
}
]
}
]
}
Discussion in the ATmosphere