{
 "app_id": "io.github.ec_.Quake3e.OpenArena",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.ec_.Quake3e.OpenArena/master/io.github.ec_.Quake3e.OpenArena.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--device=all"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:10:54.665223+00:00",
 "manifest": {
  "app-id": "io.github.ec_.Quake3e.OpenArena",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "openarena-q3e",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--device=all",
   "--socket=pulseaudio",
   "--share=network",
   "--socket=fallback-x11"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "openarena",
    "buildsystem": "simple",
    "build-commands": [
     "make USE_CODEC_VORBIS=1 USE_VOIP=1 USE_CODEC_OPUS=1 USE_OPENAL=1 USE_MUMBLE=1 USE_FREETYPE=1 \\ COPYDIR=/app/share/openarena COPYBINDIR=/app/share/openarena DEFAULT_BASEDIR=/app/share/openarena",
     "make install \"DESTDIR=${FLATPAK_DEST}/share/openarena\""
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/ec-/Quake3e",
      "commit": "8cd90faf798d94618c871bfb2049d70d4315ad30"
     }
    ]
   },
   {
    "name": "openarena-data",
    "buildsystem": "simple",
    "build-commands": [
     "mv baseoa missionpack /app/share/openarena/",
     "mkdir -p /app/share/openarena/oax && mv oax.pk3 /app/share/openarena/oax/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/oarena/openarena-0.8.8.zip",
      "sha256": "5a8faf7f5b51f351b0a1618c06b6b98a5f1a6758f1d39818de2c87df2a0bac4a"
     },
     {
      "type": "archive",
      "url": "https://files.poulsander.com/~poul19/public_files/oa/dev088/gamecode_nightly/openarena_gamecode_2024-06-23_025d283.zip",
      "sha256": "3e14579eff01495db57baf425f8478417e4df3f43b8e0add1666575707b47abe"
     }
    ]
   },
   {
    "name": "launch-script",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm755 openarena-q3e -t /app/bin/",
     "install -Dm644 io.github.ec_.Quake3e.OpenArena.png -t /app/share/icons/hicolor/128x128/apps",
     "install -Dm644 io.github.ec_.Quake3e.OpenArena.desktop -t /app/share/applications/",
     "install -Dm644 io.github.ec_.Quake3e.OpenArena.appdata.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "file",
      "path": "openarena-q3e"
     },
     {
      "type": "file",
      "path": "io.github.ec_.Quake3e.OpenArena.png"
     },
     {
      "type": "file",
      "path": "io.github.ec_.Quake3e.OpenArena.desktop"
     },
     {
      "type": "file",
      "path": "io.github.ec_.Quake3e.OpenArena.appdata.xml"
     }
    ]
   }
  ]
 }
}