{
 "app_id": "org.kde.ktorrent",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.ktorrent/master/org.kde.ktorrent.json",
 "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=xdg-config/kdeglobals:ro",
  "--filesystem=host",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=org.kde.StatusNotifierWatcher"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-17T16:15:44.708799+00:00",
 "manifest": {
  "id": "org.kde.ktorrent",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "ktorrent",
  "rename-icon": "ktorrent",
  "finish-args": [
   "--device=dri",
   "--filesystem=host",
   "--share=ipc",
   "--share=network",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--talk-name=org.kde.StatusNotifierWatcher"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "modules": [
   {
    "name": "boost",
    "buildsystem": "simple",
    "build-commands": [
     "./bootstrap.sh --prefix=/app --with-libraries=system",
     "./b2 -j $FLATPAK_BUILDER_N_JOBS install"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://archives.boost.io/release/1.90.0/source/boost_1_90_0.tar.bz2",
      "sha256": "49551aff3b22cbc5c5a9ed3dbc92f0e23ea50a0f7325b0d198b705e8ee3fc305",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 6845,
       "url-template": "https://archives.boost.io/release/$version/source/boost_${major}_${minor}_$patch.tar.bz2"
      }
     }
    ]
   },
   {
    "name": "geoip-database",
    "buildsystem": "simple",
    "build-commands": [
     "gunzip GeoIP{,v6}.dat",
     "mkdir -p ${FLATPAK_DEST}/share/GeoIP",
     "install -m644 -t ${FLATPAK_DEST}/share/GeoIP GeoIP{,v6}.dat"
    ],
    "sources": [
     {
      "type": "file",
      "url": "https://sources.archlinux.org/other/packages/geoip-database/20250129/GeoIP.dat.gz",
      "sha256": "3232f341cf55b60c4e377ab7dafd3685e176d016476e3481591022f8682da53d"
     },
     {
      "type": "file",
      "url": "https://sources.archlinux.org/other/packages/geoip-database/20250129/GeoIPv6.dat.gz",
      "sha256": "b2c07f64789860bc35d167b7b1be6c5ec1ae717d7998d7c4f9baaa2affeec19b"
     }
    ]
   },
   {
    "name": "geoip",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/maxmind/geoip-api-c/archive/v1.6.12.tar.gz",
      "sha256": "99b119f8e21e94f1dfd6d49fbeed29a70df1544896e76cd456f25e397b07d476",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 11781,
       "url-template": "https://github.com/maxmind/geoip-api-c/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libktorrent",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_TESTING=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.3/src/libktorrent-26.04.3.tar.xz",
      "sha256": "d059d3f82a4fca9292cd97d1138e30c22b5875d0a9a593a4211d2f02552e8361",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8763,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/libktorrent-$version.tar.xz"
      }
     }
    ]
   },
   {
    "name": "ktorrent",
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "config-opts": [
     "-DWITH_SYSTEM_GEOIP=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/release-service/26.04.3/src/ktorrent-26.04.3.tar.xz",
      "sha256": "5d3c143e2b157a7b11b214fa95d67c4e2d3d366580a62f965c7f10b9f1523fc9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8763,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/release-service/$version/src/ktorrent-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}