{
 "app_id": "org.wireshark.Wireshark",
 "source_url": "https://raw.githubusercontent.com/flathub/org.wireshark.Wireshark/master/org.wireshark.Wireshark.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.11",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=dri",
  "--filesystem=xdg-public-share",
  "--filesystem=home:ro",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings"
 ],
 "module_count": 16,
 "fetched_at": "2026-09-21T13:34:59.985410+00:00",
 "manifest": {
  "app-id": "org.wireshark.Wireshark",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.11",
  "sdk": "org.kde.Sdk",
  "command": "wireshark-wrapper",
  "finish-args": [
   "--socket=fallback-x11",
   "--share=ipc",
   "--socket=wayland",
   "--device=dri",
   "--filesystem=xdg-public-share",
   "--filesystem=home:ro"
  ],
  "modules": [
   {
    "name": "minizip",
    "subdir": "contrib/minizip",
    "sources": [
     {
      "type": "archive",
      "url": "https://zlib.net/fossils/zlib-1.3.1.tar.gz",
      "sha256": "9a93b2b7dfdac77ceba5a558a580e74667dd6fede4585b91eefb60f03b72df23",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5303,
       "url-template": "https://zlib.net/zlib-$version.tar.gz",
       "versions": {
        ">": "1.3.2"
       }
      }
     },
     {
      "type": "script",
      "dest": "contrib/minizip/",
      "dest-filename": "autogen.sh",
      "commands": [
       "autoreconf -ifv"
      ]
     }
    ]
   },
   {
    "name": "libssh",
    "cleanup": [
     "/include",
     "/share"
    ],
    "buildsystem": "cmake-ninja",
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://git.libssh.org/projects/libssh.git/snapshot/libssh-0.12.2.tar.gz",
      "sha256": "6d3c4025c746dd31571f1e241d4c15e4e23a4c45fc2b725fdec42b678d7205c5",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1729,
       "url-template": "https://git.libssh.org/projects/libssh.git/snapshot/libssh-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "c-ares",
    "cleanup": [
     "/include",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/c-ares/c-ares/releases/download/v1.34.8/c-ares-1.34.8.tar.gz",
      "sha256": "c222b6d681096f9444d2c4863d2c1174019e27cacca0a4a5c114d36dd7d7bf78",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5840,
       "url-template": "https://github.com/c-ares/c-ares/releases/download/v$version/c-ares-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "nghttp2",
    "disabled": true,
    "cleanup": [
     "/include",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/nghttp2/nghttp2/releases/download/v1.70.0/nghttp2-1.70.0.tar.gz",
      "sha256": "aa317e2cf9dca6afa0aed68f8fad6ff303ec6982e25a78c75c0b65e2b9b3ded5",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 8651,
       "url-template": "https://github.com/nghttp2/nghttp2/releases/download/v$version/nghttp2-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "lua54",
    "cleanup": [
     "/include",
     "/man",
     "/share"
    ],
    "no-autogen": true,
    "make-args": [
     "MYCFLAGS=-fPIC",
     "linux"
    ],
    "make-install-args": [
     "INSTALL_TOP=/app"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.lua.org/ftp/lua-5.4.9.tar.gz",
      "sha256": "2335b6c582a52654f94612bf10d2f4672805d05329aa6568b1d8cd9e5c6fb8e6",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1847,
       "url-template": "https://www.lua.org/ftp/lua-$version.tar.gz",
       "versions": {
        "<": "5.5"
       }
      }
     }
    ]
   },
   {
    "name": "libmaxminddb",
    "cleanup": [
     "/include",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/maxmind/libmaxminddb/releases/download/1.3.2/libmaxminddb-1.3.2.tar.gz",
      "sha256": "e6f881aa6bd8cfa154a44d965450620df1f714c6dc9dd9971ad98f6e04f6c0f0"
     }
    ]
   },
   {
    "name": "snappy",
    "cleanup": [
     "/share/doc",
     "/include"
    ],
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DBUILD_SHARED_LIBS=ON",
     "-DSNAPPY_BUILD_TESTS=OFF",
     "-DCMAKE_BUILD_TYPE=Release",
     "-DSNAPPY_BUILD_BENCHMARKS=OFF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/google/snappy/archive/refs/tags/1.3.1.tar.gz",
      "sha256": "893f708a0bf4b5529d555ffcee390e940e932fcf90261f682604475a76cd0247",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4844,
       "url-template": "https://github.com/google/snappy/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "bcg729",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DENABLE_STATIC=NO",
     "-DENABLE_TESTS=NO",
     "-DCMAKE_POLICY_VERSION_MINIMUM=3.5"
    ],
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/BelledonneCommunications/bcg729.git",
      "tag": "1.1.2",
      "commit": "fb195811fe630415c9bf433c0c0bebde14314ff2",
      "x-checker-data": {
       "type": "git"
      }
     }
    ]
   },
   {
    "name": "spandsp",
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.soft-switch.org/downloads/spandsp/spandsp-0.0.6.tar.gz",
      "mirror-urls": [
       "https://gstreamer.freedesktop.org/src/mirror/spandsp-0.0.6.tar.gz",
       "https://src.fedoraproject.org/lookaside/pkgs/spandsp/spandsp-0.0.6.tar.gz/897d839516a6d4edb20397d4757a7ca3/spandsp-0.0.6.tar.gz",
       "https://sources.voidlinux.org/spandsp-0.0.6/spandsp-0.0.6.tar.gz"
      ],
      "sha256": "cc053ac67e8ac4bb992f258fd94f275a7872df959f6a87763965feabfdcc9465"
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} config"
      ]
     }
    ]
   },
   {
    "name": "sbc",
    "cleanup": [
     "/include"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://git.kernel.org/pub/scm/bluetooth/sbc.git",
      "tag": "2.2",
      "commit": "b3deb8a5dcfb42d8c10ba1f2f1ac9bd7bf7271cc",
      "x-checker-data": {
       "type": "git"
      }
     }
    ]
   },
   {
    "name": "krb5",
    "subdir": "src",
    "config-opts": [
     "--disable-static",
     "--disable-rpath"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/krb5/krb5/archive/refs/tags/krb5-1.22.2-final.tar.gz",
      "sha256": "289f5bb81d1f2f8d5eecebe56a056aeed95d35fd9bb4a7071c5dd7ad4b3fe888",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13287,
       "stable-only": true,
       "url-template": "https://github.com/krb5/krb5/archive/refs/tags/krb5-$version.tar.gz"
      }
     },
     {
      "type": "shell",
      "dest": "src",
      "commands": [
       "autoreconf -si"
      ]
     }
    ]
   },
   {
    "name": "libsmi",
    "build-options": {
     "cflags": "-std=gnu17"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://deb.debian.org/debian/pool/main/libs/libsmi/libsmi_0.4.8+dfsg2.orig.tar.gz",
      "sha256": "1d6894aa4aa73f8949ccb420a57e4e1275f8099c187771a41838e30a703269e8",
      "x-checker-data": {
       "type": "debian-repo",
       "root": "https://deb.debian.org/debian/",
       "dist": "unstable",
       "component": "main",
       "package-name": "libsmi2-dev",
       "source": true
      }
     },
     {
      "type": "archive",
      "url": "http://deb.debian.org/debian/pool/main/libs/libsmi/libsmi_0.4.8+dfsg2-18.debian.tar.xz",
      "sha256": "f0eb0afc4d2bd18930d75fef9422f7369fbf1b34ce6b1be82a8d493e3ea6ab0e",
      "strip-components": 0,
      "x-checker-data": {
       "type": "html",
       "url": "https://packages.debian.org/en/sid/libsmi2-dev",
       "version-pattern": "libsmi2-dev \\((0.4.8\\+dfsg\\d+-[\\d.]+) and others\\)",
       "url-template": "http://deb.debian.org/debian/pool/main/libs/libsmi/libsmi_$version.debian.tar.xz"
      }
     },
     {
      "type": "shell",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .",
       "for patchfile in debian/patches/*.patch; do patch -p1 < \"$patchfile\"; done"
      ]
     }
    ]
   },
   {
    "name": "libilbc",
    "buildsystem": "cmake-ninja",
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/TimothyGu/libilbc/releases/download/v3.0.4/libilbc-3.0.4.tar.gz",
      "sha256": "6820081a5fc58f86c119890f62cac53f957adb40d580761947a0871cea5e728f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 18775,
       "url-template": "https://github.com/TimothyGu/libilbc/releases/download/v$version/libilbc-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libnl",
    "disabled": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/thom311/libnl/releases/download/libnl3_5_0/libnl-3.5.0.tar.gz",
      "sha256": "352133ec9545da76f77e70ccb48c9d7e5324d67f6474744647a7ed382b5e05fa",
      "x-checker-data-disabled": {
       "type": "anitya",
       "project-id": 1684,
       "url-template": null
      }
     }
    ]
   },
   {
    "name": "libpcap",
    "cleanup": [
     "/include",
     "/share",
     "/lib/pkgconfig"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "http://www.tcpdump.org/release/libpcap-1.11.0.tar.gz",
      "sha256": "596389bc8560ea027dff9db8aaf6c173d992366d9aef4baf5d7c6d180b4d49ad",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1702,
       "url-template": "http://www.tcpdump.org/release/libpcap-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "wireshark",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=Release"
    ],
    "cleanup": [
     "/include",
     "/share/man",
     "/lib/pkgconfig"
    ],
    "post-install": [
     "install -Dm0755 wireshark-wrapper.sh ${FLATPAK_DEST}/bin/wireshark-wrapper",
     "desktop-file-edit --set-key=\"Exec\" --set-value=\"wireshark-wrapper %f\" \\\n  --set-key=\"TryExec\" --set-value=\"wireshark-wrapper\" \\\n  ${FLATPAK_DEST}/share/applications/${FLATPAK_ID}.desktop\n"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-4.6.8.tar.xz",
      "sha256": "c0f1ccf217bc0d3b51a9c03ea178b0f7df682e475da26a2d21cd4a1bdd9579d0",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 5137,
       "url-template": "https://1.eu.dl.wireshark.org/src/all-versions/wireshark-$version.tar.xz"
      }
     },
     {
      "type": "patch",
      "path": "0001-Mention-that-data-capture-isn-t-possible.patch"
     },
     {
      "type": "file",
      "path": "wireshark-wrapper.sh"
     }
    ]
   }
  ]
 }
}