{
 "app_id": "im.pidgin.Pidgin",
 "source_url": "https://raw.githubusercontent.com/flathub/im.pidgin.Pidgin/master/im.pidgin.Pidgin.json",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=pulseaudio",
  "--filesystem=xdg-download",
  "--talk-name=org.freedesktop.Notifications",
  "--system-talk-name=org.freedesktop.Avahi"
 ],
 "module_count": 14,
 "fetched_at": "2026-09-20T12:08:56.908401+00:00",
 "manifest": {
  "id": "im.pidgin.Pidgin",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "pidgin",
  "rename-icon": "pidgin",
  "rename-desktop-file": "pidgin.desktop",
  "finish-args": [
   "--share=ipc",
   "--socket=x11",
   "--share=network",
   "--socket=pulseaudio",
   "--persist=.purple",
   "--filesystem=xdg-download",
   "--talk-name=org.freedesktop.Notifications",
   "--system-talk-name=org.freedesktop.Avahi"
  ],
  "cleanup": [
   "/include",
   "/share/man",
   "/share/info",
   "/share/gtk-doc",
   "/share/aclocal",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "gtkspell",
    "rm-configure": true,
    "config-opts": [
     "--disable-gtk-doc",
     "--disable-static"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://sourceforge.net/projects/gtkspell/files/2.0.16/gtkspell-2.0.16.tar.gz",
      "sha256": "8fc7dc560167b2cb7193e76aca625a152dc19b0ebf49816b78539cbb90d80d02",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13110,
       "stable-only": true,
       "url-template": "https://sourceforge.net/projects/gtkspell/files/$version/gtkspell-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "enchant-2.diff"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -sfi"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "farstream",
    "rm-configure": true,
    "sources": [
     {
      "type": "archive",
      "url": "http://freedesktop.org/software/farstream/releases/farstream/farstream-0.2.9.tar.gz",
      "sha256": "cb7d112433cf7c2e37a8ec918fb24f0ea5cb293cfa1002488e431de26482f47b",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13757,
       "stable-only": true,
       "url-template": "http://freedesktop.org/software/farstream/releases/farstream/farstream-$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "farstream-make-4.3.patch"
     },
     {
      "type": "script",
      "commands": [
       "autoreconf -sfi"
      ],
      "dest-filename": "autogen.sh"
     }
    ]
   },
   {
    "name": "avahi",
    "cleanup": [
     "/bin"
    ],
    "config-opts": [
     "--with-distro=none",
     "--disable-libdaemon",
     "--disable-core-docs",
     "--disable-manpages",
     "--disable-mono",
     "--disable-qt3",
     "--disable-qt4",
     "--disable-qt5",
     "--disable-python",
     "--disable-gtk",
     "--disable-gtk3",
     "--disable-static",
     "--disable-libevent"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://avahi.org/download/avahi-0.8.tar.gz",
      "sha256": "060309d7a333d38d951bc27598c677af1796934dbd98e1024e7ad8de798fedda",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 147,
       "stable-only": true,
       "url-template": "https://avahi.org/download/avahi-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libidn",
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/libidn/libidn-1.43.tar.gz",
      "sha256": "bdc662c12d041b2539d0e638f3a6e741130cdb33a644ef3496963a443482d164",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1639,
       "stable-only": true,
       "url-template": "https://ftp.gnu.org/gnu/libidn/libidn-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "dbus-glib",
    "sources": [
     {
      "type": "archive",
      "url": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-0.114.tar.gz",
      "sha256": "c09c5c085b2a0e391b8ee7d783a1d63fe444e96717cc1814d61b5e8fc2827a7c",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1979,
       "stable-only": true,
       "url-template": "https://dbus.freedesktop.org/releases/dbus-glib/dbus-glib-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "protobuf",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-Dprotobuf_BUILD_TESTS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/releases/download/v33.5/protobuf-33.5.tar.gz",
      "sha256": "c6c7c27fadc19d40ab2eaa23ff35debfe01f6494a8345559b9bb285ce4144dd1"
     }
    ]
   },
   {
    "name": "protobuf-c",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protobuf-c/protobuf-c/releases/download/v1.5.2/protobuf-c-1.5.2.tar.gz",
      "sha256": "e2c86271873a79c92b58fef7ebf8de1aa0df4738347a8bd5d4e65a80a16d0d24",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3716,
       "stable-only": true,
       "url-template": "https://github.com/protobuf-c/protobuf-c/releases/download/v$version/protobuf-c-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "pidgin",
    "config-opts": [
     "--disable-static",
     "--disable-meanwhile",
     "--disable-nm",
     "--enable-cyrus-sasl",
     "--disable-tk",
     "--disable-tcl",
     "--disable-consoleui",
     "--with-python=python3",
     "--disable-gnutls",
     "--with-system-ssl-certs=/etc/ssl/certs",
     "--disable-doxygen",
     "--disable-gevolution"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/pidgin/Pidgin/2.14.14/pidgin-2.14.14.tar.bz2",
      "sha256": "0ffc9994def10260f98a55cd132deefa8dc4a9835451cc0e982747bd458e2356",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3636,
       "stable-only": true,
       "is-main-source": true,
       "url-template": "https://downloads.sourceforge.net/project/pidgin/Pidgin/$version/pidgin-$version.tar.bz2"
      }
     },
     {
      "type": "file",
      "path": "im.pidgin.Pidgin.appdata.xml"
     },
     {
      "type": "patch",
      "path": "add_wm_class.patch"
     }
    ],
    "post-install": [
     "chmod 755 /app/lib/pidgin/perl/auto/Pidgin/Pidgin.so",
     "chmod 755 /app/lib/purple-2/perl/auto/Purple/Purple.so",
     "install -Dm644 im.pidgin.Pidgin.appdata.xml /app/share/appdata/im.pidgin.Pidgin.appdata.xml"
    ]
   },
   "plugins/pidgin-otr.json",
   "plugins/purple-plugin-pack.json",
   "plugins/bot-sentry/bot-sentry.json",
   "plugins/retro-prpl.json",
   "plugins/purple-googlechat.json"
  ]
 }
}