{
 "app_id": "com.pypyrev.linuxdcpp",
 "source_url": "https://raw.githubusercontent.com/flathub/com.pypyrev.linuxdcpp/master/com.pypyrev.linuxdcpp.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--filesystem=host"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:08:33.468007+00:00",
 "manifest": {
  "app-id": "com.pypyrev.linuxdcpp",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "linuxdcpp",
  "rename-desktop-file": "linuxdcpp.desktop",
  "rename-icon": "linuxdcpp",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--share=network",
   "--filesystem=host"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/libboost*",
   "/lib/pkgconfig",
   "/share/aclocal",
   "/share/doc",
   "/share/gtk-doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   "shared-modules/gtk2/gtk2.json",
   {
    "name": "boost",
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.83.0/source/boost_1_83_0.tar.bz2",
      "sha256": "6478edfe2f3305127cffe8caf73ea0176c53769f4bf1585be237eb30798c3b8e"
     }
    ],
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=${FLATPAK_DEST}",
     "./b2 -j$FLATPAK_BUILDER_N_JOBS install"
    ]
   },
   {
    "name": "libxml2",
    "config-opts": [
     "--without-python"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libxml2/2.13/libxml2-2.13.9.tar.xz",
      "sha256": "a2c9ae7b770da34860050c309f903221c67830c86e4a7e760692b803df95143a"
     }
    ]
   },
   {
    "name": "libglade2",
    "buildsystem": "autotools",
    "sources": [
     {
      "type": "archive",
      "url": "https://download.gnome.org/sources/libglade/2.6/libglade-2.6.4.tar.bz2",
      "sha256": "64361e7647839d36ed8336d992fd210d3e8139882269bed47dc4674980165dec"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} ."
      ]
     }
    ]
   },
   {
    "name": "linuxdcpp",
    "buildsystem": "cmake-ninja",
    "build-options": {
     "env": {
      "GTK2_ROOT": "/app/lib"
     }
    },
    "post-install": [
     "install -Dp -m 644 data/com.pypyrev.linuxdcpp.appdata.xml /app/share/metainfo/com.pypyrev.linuxdcpp.appdata.xml"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://pypyrev.com/download/linuxdcpp-1.1.0.1.tgz",
      "sha256": "b51c552e7fd9ed79c9ffa1469de6890593fd6678d3a89964876820437e6d7905"
     },
     {
      "type": "patch",
      "path": "fix-appdata.patch"
     }
    ]
   }
  ]
 }
}