{
 "app_id": "io.github.martchus.syncthingtray",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.martchus.syncthingtray/master/io.github.martchus.syncthingtray.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=home",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.systemd1"
 ],
 "module_count": 8,
 "fetched_at": "2026-09-21T13:09:15.620718+00:00",
 "manifest": {
  "id": "io.github.martchus.syncthingtray",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.golang"
  ],
  "command": "syncthingtray",
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--share=network",
   "--filesystem=home",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=com.canonical.AppMenu.Registrar",
   "--talk-name=org.freedesktop.systemd1"
  ],
  "rename-desktop-file": "syncthingtray.desktop",
  "rename-icon": "syncthingtray",
  "cleanup": [
   "/ForkAwesome",
   "/include",
   "/lib/cmake",
   "/lib/perl5",
   "/lib/pkgconfig",
   "/share/c++utilities",
   "/share/man",
   "/share/qtforkawesome",
   "/share/qtforkawesomeiconengine",
   "/share/qtquickforkawesome",
   "/share/qtutilities",
   "/share/syncthingconnector",
   "/share/syncthingmodel",
   "/share/syncthingwidgets",
   "*.cmake",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "syncthing",
    "buildsystem": "simple",
    "build-options": {
     "env": {
      "GOBIN": "/app/bin"
     }
    },
    "build-commands": [
     ". /usr/lib/sdk/golang/enable.sh\nexport GOPATH=$PWD/go\ngo version\n# go mod vendor\n#go build -mod=vendor\n#go mod download -json > download.json\nenv GOFLAGS=-mod=vendor go run build.go -no-upgrade build\n",
     "install -Dm755 -t /app/bin syncthing"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/syncthing/syncthing/releases/download/v2.1.5/syncthing-source-v2.1.5.tar.gz",
      "sha256": "11f129cff64fb4ba7cda33f9dae3a39eab8738a60bbbe8813cadecfdc94bd13d",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11814,
       "url-template": "https://github.com/syncthing/syncthing/releases/download/v$version/syncthing-source-v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app",
     "./b2 --with-filesystem -j $FLATPAK_BUILDER_N_JOBS link=static install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.92.0/source/boost_1_92_0.tar.bz2",
      "sha256": "5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "stable-only": true,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "cpp-utilities",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Martchus/cpp-utilities.git",
      "tag": "v5.36.0",
      "commit": "136a80292ceb0f17dc003b52979b1525142eee93",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "qtutilities",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE:STRING=Release",
     "-DQT_PACKAGE_PREFIX:STRING='Qt6'",
     "-DBUILTIN_TRANSLATIONS:BOOL=ON",
     "-DQUICK_GUI=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Martchus/qtutilities.git",
      "tag": "v6.22.2",
      "commit": "90e0c5e5017b8fd135de62f2f3b7fe4c68e4d0af",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "ForkAwesome",
    "buildsystem": "simple",
    "build-commands": [
     "install -D ./fonts/forkawesome-webfont.woff2 /app/ForkAwesome/forkawesome-webfont.woff2",
     "install -D ./src/icons/icons.yml /app/ForkAwesome/icons.yml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/ForkAwesome/Fork-Awesome/archive/refs/tags/1.2.0.tar.gz",
      "sha256": "23fba5f191f204e0414c547bf4c9b10fd7ca42c151260e8f64698449a75fbdb3"
     }
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "perl-libs",
    "buildsystem": "simple",
    "build-commands": [
     "perl-libs/install.sh"
    ],
    "post-install": [
     "chmod -Rf u+w /app/lib/perl5"
    ],
    "sources": [
     "cpan-generated-sources.json"
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "qtforkawesome",
    "buildsystem": "cmake-ninja",
    "build-options": {
     "env": {
      "PERL5LIB": "/app/lib/perl5"
     }
    },
    "config-opts": [
     "-DCMAKE_BUILD_TYPE:STRING=Release",
     "-DQT_PACKAGE_PREFIX:STRING=Qt6",
     "-DBUILTIN_TRANSLATIONS:BOOL=ON",
     "-DFORK_AWESOME_FONT_FILE=/app/ForkAwesome/forkawesome-webfont.woff2",
     "-DFORK_AWESOME_ICON_DEFINITIONS=/app/ForkAwesome/icons.yml",
     "-DQUICK_GUI=ON"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Martchus/qtforkawesome.git",
      "tag": "v0.3.4",
      "commit": "8fc8c7cca4a006bf83722660aed76e3552a95752",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$"
      }
     }
    ]
   },
   {
    "name": "syncthingtray",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release",
     "-DQT_PACKAGE_PREFIX:STRING='Qt6'",
     "-DKF_PACKAGE_PREFIX:STRING='KF6'",
     "-DBUILTIN_TRANSLATIONS:BOOL=ON",
     "-DBUILTIN_TRANSLATIONS_OF_QT:BOOL=OFF",
     "-DJS_PROVIDER=qml",
     "-DSYSTEMD_SUPPORT=ON",
     "-DNO_PLASMOID=ON",
     "-DNO_FILE_ITEM_ACTION_PLUGIN=ON",
     "-DNO_AUTOSTART_SETTINGS:BOOL=ON",
     "-DQUICK_GUI=ON",
     "-DQUICK_GUI_CONTROLS_STYLE=dynamic"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/Martchus/syncthingtray.git",
      "tag": "v2.1.6",
      "commit": "c7173733ed41d51dec48bb20b02df696443e9fa8",
      "x-checker-data": {
       "type": "git",
       "tag-pattern": "^v([\\d.]+)$",
       "is-important": true
      }
     }
    ]
   }
  ]
 }
}