{
 "app_id": "com.github.fabiocolacio.marker",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.fabiocolacio.marker/master/com.github.fabiocolacio.marker.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=fallback-x11",
  "--device=dri",
  "--filesystem=home"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:07:34.902164+00:00",
 "manifest": {
  "app-id": "com.github.fabiocolacio.marker",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "marker",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--share=network",
   "--filesystem=home",
   "--socket=wayland",
   "--metadata=X-DConf=migrate-path=/com/github/fabiocolacio/marker/"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/pkgconfig",
   "/share/aclocal",
   "/man",
   "/share/man",
   "/share/gtk-doc",
   "/share/vala",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "enchant",
    "config-opts": [
     "--disable-static",
     "--with-myspell-dir=/usr/share/hunspell"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/rrthomas/enchant/releases/download/v2.8.12/enchant-2.8.12.tar.gz",
      "sha256": "20e5fab2ca0f95ba9d1ef5052fe5b028e3e1d66d4cdea6b9adfcbd3e524c2a09"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ]
   },
   {
    "name": "gtksourceview",
    "config-opts": [
     "--disable-Werror"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/gtksourceview/3.24/gtksourceview-3.24.11.tar.xz",
      "sha256": "691b074a37b2a307f7f48edc5b8c7afa7301709be56378ccf9cc9735909077fd"
     },
     {
      "type": "patch",
      "path": "patches/gtksourceview-Add-typecast-when-setting-source_buffe.patch"
     }
    ]
   },
   {
    "name": "gtkspell",
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/sourceforge/gtkspell/gtkspell3-3.0.10.tar.xz",
      "sha256": "b040f63836b347eb344f5542443dc254621805072f7141d49c067ecb5a375732"
     }
    ],
    "modules": [
     "shared-modules/intltool/intltool-0.51.json"
    ]
   },
   {
    "name": "Marker",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "tag": "2023.05.02",
      "url": "https://github.com/fabiocolacio/Marker.git"
     },
     {
      "type": "patch",
      "paths": [
       "patches/fix-build-Bump-version-in-Meson-file-to-2023.05.02.patch",
       "patches/fix-Update-appdata-manifest-with-the-latest-release.patch",
       "patches/fix-incompatible-pointer-in-marker_window_init.patch"
      ]
     }
    ],
    "post-install": [
     "find /app/share/icons/hicolor -type f -not -path \"*scalable*\" -not -path \"*actions*\" -name \"*.svg\" -delete"
    ]
   }
  ]
 }
}