{
 "app_id": "io.github.catpieleaf.Stud",
 "source_url": "https://raw.githubusercontent.com/CatPieLeaf/Stud/main/packaging/flatpak/io.github.catpieleaf.Stud.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--device=dri",
  "--share=ipc",
  "--share=network",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--device=input",
  "--require-version=1.16.0",
  "--filesystem=xdg-run/discord-ipc-0",
  "--filesystem=xdg-run/discord-ipc-1",
  "--filesystem=xdg-run/discord-ipc-2",
  "--filesystem=xdg-run/discord-ipc-3",
  "--filesystem=xdg-run/discord-ipc-4",
  "--filesystem=xdg-run/discord-ipc-5",
  "--filesystem=xdg-run/discord-ipc-6",
  "--filesystem=xdg-run/discord-ipc-7",
  "--filesystem=xdg-run/discord-ipc-8",
  "--filesystem=xdg-run/discord-ipc-9",
  "--talk-name=org.freedesktop.secrets",
  "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
  "--env=QTWEBENGINE_RESOURCES_PATH=/app/resources",
  "--env=QTWEBENGINE_LOCALES_PATH=/app/translations/qtwebengine_locales",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-20T12:58:07.124294+00:00",
 "manifest": {
  "app-id": "io.github.catpieleaf.Stud",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.11",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "stud",
  "separate-locales": false,
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--share=network",
   "--socket=wayland",
   "--socket=fallback-x11",
   "--socket=pulseaudio",
   "--device=input",
   "--require-version=1.16.0",
   "--filesystem=xdg-run/discord-ipc-0",
   "--filesystem=xdg-run/discord-ipc-1",
   "--filesystem=xdg-run/discord-ipc-2",
   "--filesystem=xdg-run/discord-ipc-3",
   "--filesystem=xdg-run/discord-ipc-4",
   "--filesystem=xdg-run/discord-ipc-5",
   "--filesystem=xdg-run/discord-ipc-6",
   "--filesystem=xdg-run/discord-ipc-7",
   "--filesystem=xdg-run/discord-ipc-8",
   "--filesystem=xdg-run/discord-ipc-9",
   "--talk-name=org.freedesktop.secrets",
   "--env=QTWEBENGINEPROCESS_PATH=/app/bin/QtWebEngineProcess",
   "--env=QTWEBENGINE_RESOURCES_PATH=/app/resources",
   "--env=QTWEBENGINE_LOCALES_PATH=/app/translations/qtwebengine_locales",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "modules": [
   {
    "name": "bubblewrap",
    "buildsystem": "meson",
    "config-opts": [
     "-Dprogram_prefix=",
     "-Dman=disabled",
     "-Dtests=false"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/containers/bubblewrap/releases/download/v0.11.0/bubblewrap-0.11.0.tar.xz",
      "sha256": "988fd6b232dafa04b8b8198723efeaccdb3c6aa9c1c7936219d5791a8b7a8646"
     }
    ],
    "cleanup": [
     "/share/bash-completion",
     "/share/zsh"
    ]
   },
   {
    "name": "wl-clipboard",
    "buildsystem": "meson",
    "config-opts": [
     "-Dfishcompletiondir=no",
     "-Dzshcompletiondir=no"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/bugaevc/wl-clipboard/archive/refs/tags/v2.2.1.tar.gz",
      "sha256": "6eb8081207fb5581d1d82c4bcd9587205a31a3d47bea3ebeb7f41aa1143783eb"
     }
    ],
    "cleanup": [
     "/share/man",
     "/share/bash-completion"
    ]
   },
   {
    "name": "portaudio",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5",
     "-DPA_BUILD_SHARED_LIBS=ON",
     "-DPA_BUILD_TESTS=OFF",
     "-DPA_BUILD_EXAMPLES=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/PortAudio/portaudio/archive/refs/tags/v19.7.0.tar.gz",
      "sha256": "5af29ba58bbdbb7bbcefaaecc77ec8fc413f0db6f4c4e286c40c3e1b83174fa0"
     }
    ],
    "post-install": [
     "ln -sf libportaudio.so /app/lib/libportaudio.so.2",
     "install -d /app/lib/stud/audio",
     "ln -sf ../../libportaudio.so /app/lib/stud/audio/libportaudio.so.2"
    ],
    "cleanup": [
     "/lib/libportaudio.a"
    ]
   },
   {
    "name": "qtkeychain",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_WITH_QT6=ON",
     "-DQTKEYCHAIN_STATIC=OFF",
     "-DBUILD_TRANSLATIONS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/frankosterfeld/qtkeychain/archive/refs/tags/0.14.3.tar.gz",
      "sha256": "a22c708f351431d8736a0ac5c562414f2b7bb919a6292cbca1ff7ac0849cb0a7"
     }
    ]
   },
   {
    "name": "stud-prebuilt",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/lib/stud /app/libexec/stud",
     "cp -a usr/lib/stud/. /app/lib/stud/",
     "cp -a usr/libexec/stud/lib64 /app/libexec/stud/lib64",
     "install -Dm755 usr/libexec/stud/stud-render-host -t /app/libexec/stud/",
     "install -Dm755 usr/libexec/stud/stud-runtime-bionic -t /app/libexec/stud/",
     "mkdir -p /app/share/licenses/io.github.catpieleaf.Stud",
     "cp -a usr/share/licenses/stud/. /app/share/licenses/io.github.catpieleaf.Stud/"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/CatPieLeaf/Stud/releases/download/1.1.5/stud-1.1.5-x86_64.tar.zst",
      "sha256": "9b69a0d57c447db267235c164c00231ce15fb7af473d03d7b1531c2050047199",
      "strip-components": 0,
      "only-arches": [
       "x86_64"
      ]
     }
    ]
   },
   {
    "name": "stud",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DSTUD_BUILD_QT_ONLY=ON",
     "-DSTUD_BUILD_TESTS=OFF",
     "-DSTUD_VERSION=1.1.5",
     "-DFETCHCONTENT_FULLY_DISCONNECTED=ON",
     "-DFETCHCONTENT_SOURCE_DIR_MINIZ=/run/build/stud/deps/miniz",
     "-DFETCHCONTENT_SOURCE_DIR_LIBJNIVM=/run/build/stud/deps/libjnivm",
     "-DFETCHCONTENT_SOURCE_DIR_NLOHMANN_JSON=/run/build/stud/deps/json"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/CatPieLeaf/Stud/archive/refs/tags/1.1.5.tar.gz",
      "sha256": "9700184f8f2b0371f7b2898bc2acd77cfc9018c7de96210ef5952e6efaed10f6"
     },
     {
      "type": "archive",
      "url": "https://github.com/richgel999/miniz/archive/refs/tags/3.1.2.tar.gz",
      "sha256": "98468f8924934b723276680f85238b6c78bf1f8b49b4459cc9b7214a20e2e9fb",
      "dest": "deps/miniz"
     },
     {
      "type": "archive",
      "url": "https://github.com/nlohmann/json/archive/refs/tags/v3.11.3.tar.gz",
      "sha256": "0d8ef5af7f9794e3263480193c491549b2ba6cc74bb018906202ada498a79406",
      "dest": "deps/json"
     },
     {
      "type": "git",
      "url": "https://github.com/ChristopherHX/libjnivm.git",
      "commit": "f24b98c198fcc5c59a68d1efadd3f5791eb01c2e",
      "dest": "deps/libjnivm"
     }
    ]
   }
  ]
 }
}