{
 "app_id": "com.github.Rosalie241.RMG",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.Rosalie241.RMG/master/com.github.Rosalie241.RMG.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--filesystem=xdg-pictures/RMG",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 3,
 "fetched_at": "2026-09-17T16:07:24.905173+00:00",
 "manifest": {
  "app-id": "com.github.Rosalie241.RMG",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "RMG",
  "finish-args": [
   "--socket=x11",
   "--socket=pulseaudio",
   "--share=ipc",
   "--share=network",
   "--device=all",
   "--filesystem=xdg-pictures/RMG:rw"
  ],
  "cleanup": [
   "/lib/pkgconfig",
   "/lib/*.la",
   "/lib/*.a",
   "/lib/cmake",
   "/include"
  ],
  "modules": [
   {
    "name": "minizip",
    "subdir": "contrib/minizip",
    "config-opts": [
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://zlib.net/zlib-1.3.2.tar.gz",
      "sha256": "bb329a0a2cd0274d05519d61c667c062e06990d72e125ee2dfa8de64f0119d16",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5303,
       "stable-only": true,
       "url-template": "https://zlib.net/zlib-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "patches/cb14dc9ade3759352417a300e6c2ed73268f1d97.patch"
     },
     {
      "type": "shell",
      "commands": [
       "GLOBIGNORE=contrib && rm -rf *",
       "GLOBIGNORE=contrib/minizip && rm -rf contrib/*",
       "rm -f contrib/minizip/Makefile",
       "autoreconf -fiv contrib/minizip"
      ]
     }
    ]
   },
   {
    "name": "hidapi",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.15.0.tar.gz",
      "sha256": "5d84dec684c27b97b921d2f3b73218cb773cf4ea915caee317ac8fc73cef8136",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5594,
       "stable-only": true,
       "url-template": "https://github.com/libusb/hidapi/archive/refs/tags/hidapi-$version.tar.gz"
      }
     }
    ],
    "cleanup": [
     "/share/doc"
    ]
   },
   {
    "name": "RMG",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DPORTABLE_INSTALL=OFF",
     "-DKCA_DRAG_DROP=ON",
     "-DUSE_ANGRYLION=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Rosalie241/RMG.git",
      "tag": "v0.9.0",
      "commit": "453f6639734537908c4c2ca35244255bc5424e3d",
      "x-checker-data": {
       "is-main-source": true,
       "type": "git",
       "tag-pattern": "^(v[\\d.]+)$"
      }
     }
    ]
   }
  ]
 }
}