{
 "app_id": "org._2009scape.Launcher",
 "source_url": "https://raw.githubusercontent.com/flathub/org._2009scape.Launcher/master/org._2009scape.Launcher.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=dri"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:14:07.026667+00:00",
 "manifest": {
  "id": "org._2009scape.Launcher",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "2009scape-launcher",
  "separate-locales": false,
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.openjdk11"
  ],
  "finish-args": [
   "--share=network",
   "--socket=x11",
   "--share=ipc",
   "--device=dri",
   "--socket=pulseaudio",
   "--env=PATH=/usr/bin:/app/bin:/app/jre/bin"
  ],
  "modules": [
   {
    "name": "openjdk",
    "buildsystem": "simple",
    "build-commands": [
     "/usr/lib/sdk/openjdk11/install.sh"
    ]
   },
   {
    "name": "lsof",
    "buildsystem": "simple",
    "build-commands": [
     "./Configure -n linux",
     "make CC=\"cc ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}\"",
     "install -Dm755 lsof -t /app/bin"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/lsof-org/lsof",
      "commit": "646395f8e893edb5572405b2311a079f55f269f2",
      "tag": "4.99.7",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/lsof-org/lsof/releases/latest",
       "tag-query": ".tag_name"
      }
     }
    ]
   },
   {
    "name": "2009scape",
    "buildsystem": "simple",
    "build-commands": [
     "install -D 2009scape-launcher -t /app/bin/",
     "install -Dm644 ${FLATPAK_ID}.svg -t /app/share/icons/hicolor/scalable/apps/",
     "install -Dm644 ${FLATPAK_ID}.desktop -t /app/share/applications/",
     "install -Dm644 ${FLATPAK_ID}.appdata.xml -t /app/share/metainfo/"
    ],
    "sources": [
     {
      "type": "script",
      "dest-filename": "2009scape-launcher",
      "commands": [
       "exec 2009scape-launcher \"$@\""
      ]
     },
     {
      "type": "file",
      "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/10282407281/artifacts/raw/Saradomin/2009scape-launcher-arm-sc",
      "sha256": "d00dd64cbd6eea0dcab82b09e5033328cc1c7558125893aceb302cc0b9a08acc",
      "only-arches": [
       "aarch64"
      ],
      "dest-filename": "2009scape-launcher",
      "x-checker-data": {
       "type": "rotating-url",
       "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-arm-sc?job=pack_linux_arm_sc"
      }
     },
     {
      "type": "file",
      "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/10282407270/artifacts/raw/Saradomin/2009scape-launcher-sc",
      "sha256": "c63f90a9bd2e0a8d5b76dd71a16501a74c0432b3018b9b3b1fbd60fe4a0c0973",
      "only-arches": [
       "x86_64"
      ],
      "dest-filename": "2009scape-launcher",
      "x-checker-data": {
       "type": "rotating-url",
       "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/jobs/artifacts/master/raw/Saradomin/2009scape-launcher-sc?job=pack_linux_sc"
      }
     },
     {
      "type": "file",
      "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/raw/a6db6fc7e456b15e620a1da5891cd17150be7b91/Saradomin/Resources/Icons/saradomin.svg",
      "sha256": "50e7b37c63c510ed8b077cfce7925f2a847abcbdeeef5160d7d0ef9c36040363",
      "dest-filename": "org._2009scape.Launcher.svg"
     },
     {
      "type": "file",
      "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/raw/a6db6fc7e456b15e620a1da5891cd17150be7b91/Saradomin/Resources/Linux/org._2009scape.Launcher.desktop",
      "sha256": "b6bc5a6fce0c9ad567f520b6e3a58e68351b34ff46197949298f4643aa362c98"
     },
     {
      "type": "file",
      "url": "https://gitlab.com/2009scape/Saradomin-Launcher/-/raw/f09a80e147913f5dec88144a15ea02da76cb1a01/Saradomin/Resources/Linux/org._2009scape.Launcher.appdata.xml",
      "sha256": "8c2d5e1f41b79074fad7ac54716707ef563b0d9a5b0dada2cb628778f14adccd"
     }
    ]
   }
  ]
 }
}