{
 "app_id": "org.freefilesync.FreeFileSync",
 "source_url": "https://raw.githubusercontent.com/flathub/org.freefilesync.FreeFileSync/master/org.freefilesync.FreeFileSync.yml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=pulseaudio",
  "--socket=x11",
  "--filesystem=~/.var/app",
  "--filesystem=xdg-run/gvfsd",
  "--filesystem=host",
  "--filesystem=xdg-run/gvfs",
  "--talk-name=org.gtk.vfs.*"
 ],
 "module_count": 2,
 "fetched_at": "2026-09-17T16:14:41.585517+00:00",
 "manifest": {
  "app-id": "org.freefilesync.FreeFileSync",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "FreeFileSync",
  "build-options": {
   "cflags": "-O2 -g",
   "cxxflags": "-O2 -g"
  },
  "cleanup": [
   "/man",
   "/share/doc"
  ],
  "finish-args": [
   "--share=network",
   "--socket=x11",
   "--share=ipc",
   "--socket=pulseaudio",
   "--filesystem=host",
   "--filesystem=xdg-run/gvfs",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=~/.var/app"
  ],
  "modules": [
   {
    "name": "p7zip",
    "no-autogen": true,
    "make-args": [
     "7z"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/p7zip-project/p7zip",
      "tag": "v17.05",
      "commit": "a45b8830cafda25e76d7120b0462daa82c382a7a"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i 's|/usr/local|/app|g' makefile.common"
      ]
     }
    ]
   },
   {
    "name": "freefilesync",
    "buildsystem": "simple",
    "build-commands": [
     "cp apply_extra /app/bin/",
     "ln -sv \"/app/extra/FreeFileSync/Bin/FreeFileSync_$(uname -m)\" /app/bin/FreeFileSync",
     "ln -sv \"/app/extra/FreeFileSync/Bin/RealTimeSync_$(uname -m)\" /app/bin/RealTimeSync",
     "mkdir -pv /app/share/applications/",
     "cp -v *.desktop /app/share/applications/",
     "mkdir -pv /app/share/icons/hicolor/128x128/apps/",
     "cp -v *.png /app/share/icons/hicolor/128x128/apps/",
     "mkdir -pv /app/share/appdata",
     "cp -v *.appdata.xml /app/share/appdata"
    ],
    "sources": [
     {
      "type": "file",
      "path": "data/org.freefilesync.FreeFileSync.desktop"
     },
     {
      "type": "file",
      "path": "data/org.freefilesync.FreeFileSync.png"
     },
     {
      "type": "file",
      "path": "data/org.freefilesync.FreeFileSync.RealTimeSync.desktop"
     },
     {
      "type": "file",
      "path": "data/org.freefilesync.FreeFileSync.RealTimeSync.png"
     },
     {
      "type": "file",
      "path": "data/org.freefilesync.FreeFileSync.appdata.xml"
     },
     {
      "type": "extra-data",
      "filename": "FFS.tar.gz",
      "url": "https://github.com/flathub/org.freefilesync.FreeFileSync/releases/download/reupload-14.12/FreeFileSync_14.12_Linux_x86_64.tar.gz",
      "sha256": "d4873f5a07a2159044443e69c5715a22b64ce6995ef29219160b186c19276cad",
      "size": 19421489,
      "installed-size": 40000000
     },
     {
      "type": "file",
      "path": "data/apply_extra"
     }
    ]
   }
  ]
 }
}