{
 "app_id": "org.swi_prolog.swipl",
 "source_url": "https://raw.githubusercontent.com/flathub/org.swi_prolog.swipl/master/org.swi_prolog.swipl.yml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:16:42.185869+00:00",
 "manifest": {
  "id": "org.swi_prolog.swipl",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "swipl-win",
  "finish-args": [
   "--env=NO_AT_BRIDGE=1",
   "--env=XCOMPOSEFILE=/app/etc/Compose",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--share=network",
   "--filesystem=host",
   "--device=dri"
  ],
  "modules": [
   {
    "name": "libyaml",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/yaml/libyaml",
      "commit": "840b65c40675e2d06bf40405ad3f12dec7f35923"
     }
    ]
   },
   {
    "name": "utf8proc",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DBUILD_SHARED_LIBS=ON",
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/JuliaStrings/utf8proc.git",
      "commit": "e5e799221b45bbb90f5fdc5c69b6b8dfbf017e78"
     }
    ]
   },
   {
    "name": "fix-compose",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/etc",
     "grep -v dead_hamza /usr/share/X11/locale/en_US.UTF-8/Compose > /app/etc/Compose"
    ]
   },
   {
    "name": "swipl",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/SWI-Prolog/swipl-devel.git",
      "tag": "V10.1.14",
      "commit": "69775434c8226897626b226aefcc8266499f1e2e",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^V(\\d+\\.[\\d.]+)$"
      }
     },
     {
      "type": "file",
      "path": "org.swi_prolog.swipl.desktop"
     },
     {
      "type": "file",
      "path": "org.swi_prolog.swipl.appdata.xml"
     },
     {
      "type": "file",
      "path": "org.swi_prolog.swipl.png"
     }
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "build-options": {
     "env": {
      "SDL_VIDEODRIVER": "dummy"
     }
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=PGO",
     "-DEPILOG=ON",
     "-DSKIP_SSL_TESTS=ON"
    ],
    "post-install": [
     "install -D -m0644 ../org.swi_prolog.swipl.png /app/share/icons/hicolor/128x128/apps/org.swi_prolog.swipl.png",
     "install -D -m0644 ../org.swi_prolog.swipl.desktop /app/share/applications/org.swi_prolog.swipl.desktop",
     "install -D -m0644 ../org.swi_prolog.swipl.appdata.xml /app/share/metainfo/org.swi_prolog.swipl.appdata.xml"
    ]
   }
  ]
 }
}