{
 "app_id": "io.github.cloose.CuteMarkEd",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.cloose.CuteMarkEd/master/io.github.cloose.CuteMarkEd.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-21.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--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:10:45.056546+00:00",
 "manifest": {
  "app-id": "io.github.cloose.CuteMarkEd",
  "base": "io.qt.qtwebkit.BaseApp",
  "base-version": "5.15-21.08",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-21.08",
  "sdk": "org.kde.Sdk",
  "command": "cutemarked",
  "finish-args": [
   "--socket=wayland",
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/mkspecs",
   "/lib/pkgconfig",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "discount",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/cloose/discount/archive/refs/tags/v2.1.8-cutemarked.tar.gz",
      "sha256": "30ac50e6e432e36113a8365132f56eafbf3795b412b7299303f86b624aea9479"
     },
     {
      "type": "shell",
      "commands": [
       "mv configure.sh configure"
      ]
     }
    ]
   },
   {
    "name": "cutemarked",
    "buildsystem": "qmake",
    "make-install-args": [
     "INSTALL_ROOT=/app"
    ],
    "build-options": {
     "env": {
      "QMAKEPATH": "/app/lib"
     }
    },
    "config-opts": [
     "QMAKE_LIBDIR=/app/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/cloose/CuteMarkEd/archive/v0.11.3.tar.gz",
      "sha256": "78a41808c2f0452375810abdff76eeaaee012f8d1368a2b8772ec6b4d2ceeec8"
     },
     {
      "type": "patch",
      "path": "0001-Fix-build-issues-with-recents-Qt-versions.patch"
     }
    ],
    "post-install": [
     "mv /app/app/bin/* /app/bin"
    ]
   },
   {
    "name": "cutemarked-appdata",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 io.github.cloose.CuteMarkEd.appdata.xml /app/share/metainfo/io.github.cloose.CuteMarkEd.appdata.xml"
    ],
    "sources": [
     {
      "type": "file",
      "path": "io.github.cloose.CuteMarkEd.appdata.xml"
     }
    ]
   }
  ]
 }
}