{
 "app_id": "org.filezillaproject.Filezilla",
 "source_url": "https://raw.githubusercontent.com/flathub/org.filezillaproject.Filezilla/master/org.filezillaproject.Filezilla.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=ssh-auth",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=host",
  "--talk-name=org.gnome.SessionManager",
  "--talk-name=org.freedesktop.Notifications",
  "--talk-name=org.freedesktop.PowerManagement"
 ],
 "module_count": 7,
 "fetched_at": "2026-09-17T16:14:31.411409+00:00",
 "manifest": {
  "id": "org.filezillaproject.Filezilla",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "filezilla",
  "rename-icon": "filezilla",
  "copy-icon": true,
  "rename-desktop-file": "filezilla.desktop",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--device=dri",
   "--socket=wayland",
   "--talk-name=org.freedesktop.PowerManagement",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.gnome.SessionManager",
   "--filesystem=host",
   "--share=network",
   "--socket=ssh-auth"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/lib/*.a",
   "/lib/*.la",
   "/share/aclocal"
  ],
  "modules": [
   "shared-modules/glu/glu-9.json",
   {
    "name": "boost",
    "sources": [
     {
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_${patch}.tar.bz2"
      },
      "type": "archive",
      "url": "https://archives.boost.io/release/1.92.0/source/boost_1_92_0.tar.bz2",
      "sha256": "5c1d40cb8e19adbf740a4ec2da35b3e58f3f5804b1dce44deb53df72193cbc6c"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh",
     "./b2 install --prefix=/app/ variant=release link=static threading=multi --with-regex -j $FLATPAK_BUILDER_N_JOBS"
    ],
    "cleanup": [
     "/lib/",
     ""
    ]
   },
   {
    "name": "wxWidgets",
    "cleanup": [
     "/bin",
     "/share/bakefile"
    ],
    "config-opts": [
     "--without-opengl",
     "--with-libjpeg",
     "--with-libtiff",
     "--with-libpng",
     "--with-zlib",
     "--disable-sdltest",
     "--enable-unicode",
     "--enable-display",
     "--enable-propgrid",
     "--disable-webview",
     "--disable-webviewwebkit",
     "--with-expat=builtin",
     "--with-libiconv=/usr"
    ],
    "build-options": {
     "cxxflags": "-std=c++0x"
    },
    "sources": [
     {
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5150,
       "stable-only": true,
       "url-template": "https://github.com/wxWidgets/wxWidgets/releases/download/v$version/wxWidgets-$version.tar.bz2"
      },
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.2.11/wxWidgets-3.2.11.tar.bz2",
      "sha256": "6a129015bce2e914e4bf61ec4411854ad962801d47e92f2eb8340adb6a90af08"
     }
    ]
   },
   {
    "name": "libfilezilla",
    "sources": [
     {
      "x-checker-data": {
       "type": "html",
       "//": "filezilla-project.org blocks fedc user agent",
       "url": "https://sources.archlinux.org/other/packages/libfilezilla/",
       "pattern": "(libfilezilla-([0-9.]+)\\.tar\\.xz)",
       "is-important": true
      },
      "type": "archive",
      "url": "https://sources.archlinux.org/other/packages/libfilezilla/libfilezilla-0.57.0.tar.xz",
      "sha512": "5cc5d87fa756ae7e74bfb7667653936b5d34fa922c00b492756bf0795afd3747835c6460f804d75121cd26f8fc8965e3dcbd2fefc2a0ca9c4d9180ecd3cf5a51"
     }
    ]
   },
   {
    "name": "argon2",
    "no-autogen": true,
    "make-args": [
     "OPTTARGET=none"
    ],
    "make-install-args": [
     "OPTTARGET=none",
     "PREFIX=/app",
     "LIBRARY_REL=lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/P-H-C/phc-winner-argon2/archive/refs/tags/20190702.tar.gz",
      "sha256": "daf972a89577f8772602bf2eb38b6a3dd3d922bf5724d45e7f9589b5e830442c"
     }
    ]
   },
   {
    "name": "fzssh",
    "buildsystem": "meson",
    "sources": [
     {
      "x-checker-data": {
       "type": "html",
       "url": "https://sources.archlinux.org/other/packages/fzssh/",
       "pattern": "(fzssh-([0-9.]+)\\.tar\\.xz)",
       "is-important": true
      },
      "type": "archive",
      "url": "https://sources.archlinux.org/other/packages/fzssh/fzssh-1.4.0.tar.xz",
      "sha512": "51e80e97182d7cca0a8c27f3c33bf17ece35b4d2b69235024a9915cfaf9c49af83a642dd77554c6b2d21b913e9d8889bdbd18859647f560c9473a79555ed932d"
     }
    ]
   },
   {
    "name": "filezilla",
    "config-opts": [
     "--disable-autoupdatecheck",
     "--disable-manualupdatecheck",
     "--with-pugixml=builtin"
    ],
    "cleanup": [
     "/share/pixmaps",
     "/share/man"
    ],
    "post-install": [
     "install -Dm644 org.filezillaproject.Filezilla.metainfo.xml ${FLATPAK_DEST}/share/metainfo/org.filezillaproject.Filezilla.metainfo.xml",
     "rm /app/share/appdata/filezilla.appdata.xml"
    ],
    "sources": [
     {
      "x-checker-data": {
       "type": "html",
       "//": "filezilla-project.org blocks fedc user agent",
       "url": "https://sources.archlinux.org/other/filezilla/",
       "pattern": "(filezilla-([0-9.]+)\\.tar\\.xz)",
       "is-main-source": true
      },
      "type": "archive",
      "url": "https://sources.archlinux.org/other/filezilla/filezilla-3.71.1.tar.xz",
      "sha512": "44c9c9db88053a1b01ee27ebc9968eabff57d2ba6b23ac44ab080e3def9d5206cb4391dd7e0742bbd6189657a48525cfd5347d34ae87b69ccbd78b29e0101fda"
     },
     {
      "type": "file",
      "path": "org.filezillaproject.Filezilla.metainfo.xml"
     },
     {
      "type": "patch",
      "path": "0001-Correct-notification-icon-and-app-name.patch"
     },
     {
      "type": "patch",
      "path": "desktop-file-mime.patch"
     }
    ]
   }
  ]
 }
}