{
 "app_id": "net.lesderid.Showdown",
 "source_url": "https://raw.githubusercontent.com/lesderid/showdown/master/net.lesderid.Showdown.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "3.34",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--filesystem=host:ro",
  "--share=ipc",
  "--share=network",
  "--socket=x11",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-20T12:53:30.981876+00:00",
 "manifest": {
  "app-id": "net.lesderid.Showdown",
  "branch": "master",
  "runtime": "org.gnome.Platform",
  "runtime-version": "3.34",
  "sdk": "org.gnome.Sdk",
  "command": "showdown",
  "rename-icon": "showdown",
  "rename-appdata-file": "net.lesderid.Showdown.appdata.xml",
  "finish-args": [
   "--filesystem=host:ro",
   "--share=ipc",
   "--share=network",
   "--socket=x11",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=dri"
  ],
  "build-options": {
   "cflags": "-O2 -g",
   "env": {
    "MAKEFLAGS": "-j$(mk/nproc.sh)",
    "V": "1"
   }
  },
  "modules": [
   {
    "name": "libmarkdown",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Orc/discount/archive/v2.2.6.tar.gz",
      "sha256": "0beb98a66a6e38ed125e2d0a161ff6b461f6a38538bb72498766f376c94a0ad3"
     }
    ],
    "build-commands": [
     "./configure.sh --prefix=/app --shared --pkg-config",
     "make -j1",
     "sed -e 's|/sbin/ldconfig|/sbin/ldconfig -n|' -i librarian.sh",
     "make install",
     "install -m644 libmarkdown.pc /app/lib/pkgconfig/libmarkdown.pc"
    ],
    "cleanup": [
     "/bin",
     "/include",
     "/lib/pkgconfig"
    ]
   },
   {
    "name": "showdown",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "git",
      "url": "git://github.com/lesderid/showdown.git",
      "branch": "master",
      "disable-shallow-clone": true
     }
    ],
    "build-commands": [
     "make",
     "cat build/version.txt",
     "make install prefix=/app POSTINSTALL=:"
    ]
   }
  ]
 }
}