{
 "app_id": "org.libredb.Studio",
 "source_url": "https://raw.githubusercontent.com/outcrop-labs/omapak/main/apps/org.libredb.Studio/org.libredb.Studio.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--share=network"
 ],
 "module_count": 1,
 "fetched_at": "2026-09-17T17:34:27.196632+00:00",
 "manifest": {
  "app-id": "org.libredb.Studio",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "libredb-studio",
  "finish-args": [
   "--share=ipc",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=network"
  ],
  "modules": [
   {
    "name": "libredb-studio",
    "buildsystem": "simple",
    "build-options": {
     "strip": false,
     "no-debuginfo": true
    },
    "build-commands": [
     "chmod +x libredb-studio.AppImage",
     "./libredb-studio.AppImage --appimage-extract",
     "rm libredb-studio.AppImage",
     "for icon in squashfs-root/usr/share/icons/hicolor/*/apps/*.png; do\n  size=\"$(basename \"$(dirname \"$(dirname \"$icon\")\")\")\"\n  case \"$size\" in *@*) continue ;; esac\n  install -Dm644 \"$icon\" \"${FLATPAK_DEST}/share/icons/hicolor/${size}/apps/${FLATPAK_ID}.png\"\ndone\n",
     "install -Dm755 squashfs-root/usr/bin/libredb-studio-desktop ${FLATPAK_DEST}/libredb-studio/usr/bin/libredb-studio-desktop",
     "install -Dm755 squashfs-root/usr/bin/node ${FLATPAK_DEST}/libredb-studio/usr/bin/node",
     "install -d ${FLATPAK_DEST}/libredb-studio/usr/lib",
     "cp -r squashfs-root/usr/lib/libredb-studio-desktop ${FLATPAK_DEST}/libredb-studio/usr/lib/libredb-studio-desktop",
     "install -Dm755 libredb-studio.sh ${FLATPAK_DEST}/bin/libredb-studio",
     "install -Dm644 org.libredb.Studio.desktop ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop",
     "install -Dm644 org.libredb.Studio.metainfo.xml ${FLATPAK_DEST}/share/metainfo/${FLATPAK_ID}.metainfo.xml"
    ],
    "sources": [
     {
      "type": "file",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/libredb/libredb-studio/releases/download/0.9.60/libredb-studio-desktop-0.9.60-linux-x64.AppImage",
      "sha256": "ec7a9e8c700a944f5e046e9f8e405afc0f8874a8965dc2960193a39bee052bdc",
      "dest-filename": "libredb-studio.AppImage",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/libredb/libredb-studio/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name == \"libredb-studio-desktop-\" + $version + \"-linux-x64.AppImage\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/libredb/libredb-studio/releases/download/0.9.60/libredb-studio-desktop-0.9.60-linux-arm64.AppImage",
      "sha256": "931d7cdc78189c0d523f70e2c00bc3b0893f7c28715420226e24ec6b2a83326e",
      "dest-filename": "libredb-studio.AppImage",
      "x-checker-data": {
       "type": "json",
       "url": "https://api.github.com/repos/libredb/libredb-studio/releases/latest",
       "version-query": ".tag_name",
       "url-query": ".assets[] | select(.name == \"libredb-studio-desktop-\" + $version + \"-linux-arm64.AppImage\") | .browser_download_url"
      }
     },
     {
      "type": "file",
      "path": "libredb-studio.sh"
     },
     {
      "type": "file",
      "path": "org.libredb.Studio.desktop"
     },
     {
      "type": "file",
      "path": "org.libredb.Studio.metainfo.xml"
     }
    ]
   }
  ]
 }
}