{
 "app_id": "io.github.breezyslasher.VitaSuwayomi",
 "source_url": "https://raw.githubusercontent.com/Breezyslasher/Vita_Suwayomi/main/flatpak/io.github.breezyslasher.VitaSuwayomi.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "24.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--share=network"
 ],
 "module_count": 2,
 "fetched_at": "2026-10-05T15:59:29.040713+00:00",
 "manifest": {
  "app-id": "io.github.breezyslasher.VitaSuwayomi",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "24.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "VitaSuwayomi",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--share=network"
  ],
  "cleanup": [
   "*.a",
   "*.la",
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/man",
   "/share/man",
   "/share/gtk-doc"
  ],
  "modules": [
   {
    "name": "mbedtls",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DUSE_SHARED_MBEDTLS_LIBRARY=ON",
     "-DUSE_STATIC_MBEDTLS_LIBRARY=OFF",
     "-DENABLE_TESTING=OFF",
     "-DENABLE_PROGRAMS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/Mbed-TLS/mbedtls/releases/download/mbedtls-3.6.2/mbedtls-3.6.2.tar.bz2",
      "sha256": "8b54fb9bcf4d5a7078028e0520acddefb7900b3e66fec7f7175bb5b7d85ccdca"
     }
    ]
   },
   {
    "name": "vitasuwayomi",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "no-make-install": true,
    "build-options": {
     "build-args": [
      "--share=network"
     ]
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DPLATFORM_DESKTOP=ON"
    ],
    "build-commands": [
     "install -Dm755 VitaSuwayomi ${FLATPAK_DEST}/lib/VitaSuwayomi/VitaSuwayomi",
     "install -d ${FLATPAK_DEST}/share/VitaSuwayomi",
     "cp -r resources ${FLATPAK_DEST}/share/VitaSuwayomi/resources",
     "install -d ${FLATPAK_DEST}/bin\nprintf '%s\\n' '#!/bin/sh' \\\n  'cd /app/share/VitaSuwayomi || exit 1' \\\n  'exec /app/lib/VitaSuwayomi/VitaSuwayomi \"$@\"' > ${FLATPAK_DEST}/bin/VitaSuwayomi\nchmod 755 ${FLATPAK_DEST}/bin/VitaSuwayomi\n",
     "install -Dm644 ../flatpak/io.github.breezyslasher.VitaSuwayomi.desktop ${FLATPAK_DEST}/share/applications/io.github.breezyslasher.VitaSuwayomi.desktop",
     "install -Dm644 ../flatpak/io.github.breezyslasher.VitaSuwayomi.metainfo.xml ${FLATPAK_DEST}/share/metainfo/io.github.breezyslasher.VitaSuwayomi.metainfo.xml",
     "install -Dm644 ../app/platform/icon_desktop.png ${FLATPAK_DEST}/share/icons/hicolor/256x256/apps/io.github.breezyslasher.VitaSuwayomi.png"
    ],
    "sources": [
     {
      "type": "dir",
      "path": ".."
     }
    ]
   }
  ]
 }
}