{
 "app_id": "com.github.paolostivanin.OTPClient",
 "source_url": "https://raw.githubusercontent.com/flathub/com.github.paolostivanin.OTPClient/master/com.github.paolostivanin.OTPClient.yaml",
 "runtime": "org.gnome.Platform",
 "runtime_version": "50",
 "sdk": "org.gnome.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=fallback-x11",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-run/gvfsd",
  "--talk-name=org.kde.StatusNotifierWatcher",
  "--talk-name=org.gnome.ScreenSaver",
  "--talk-name=org.gtk.vfs.*",
  "--talk-name=org.cinnamon.ScreenSaver",
  "--talk-name=org.freedesktop.ScreenSaver",
  "--talk-name=org.freedesktop.secrets",
  "--talk-name=com.canonical.Unity"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-21T12:55:10.053772+00:00",
 "manifest": {
  "app-id": "com.github.paolostivanin.OTPClient",
  "runtime": "org.gnome.Platform",
  "runtime-version": "50",
  "sdk": "org.gnome.Sdk",
  "command": "otpclient",
  "finish-args": [
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--device=all",
   "--talk-name=org.freedesktop.secrets",
   "--talk-name=org.gtk.vfs.*",
   "--filesystem=xdg-run/gvfsd",
   "--talk-name=org.kde.StatusNotifierWatcher",
   "--talk-name=org.gnome.ScreenSaver",
   "--talk-name=org.cinnamon.ScreenSaver",
   "--talk-name=org.freedesktop.ScreenSaver",
   "--talk-name=com.canonical.Unity",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=org.kde.klipper"
  ],
  "cleanup": [
   "/include",
   "/lib/cmake",
   "/lib/pkgconfig",
   "*.la",
   "*.a",
   "/share/doc",
   "/share/man"
  ],
  "modules": [
   {
    "name": "jansson",
    "cleanup": [
     "/bin",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/akheron/jansson/releases/download/v2.15.1/jansson-2.15.1.tar.gz",
      "sha256": "0c7114dc0b2d22a670724a1f95922029d7077c19dbf79a584cb8084d2f267f2f",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 1417,
       "url-template": "https://github.com/akheron/jansson/releases/download/v$version/jansson-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "protobuf",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-Dprotobuf_BUILD_TESTS=OFF",
     "-Dprotobuf_ABSL_PROVIDER=package"
    ],
    "cleanup": [
     "/bin",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protocolbuffers/protobuf/releases/download/v33.6/protobuf-33.6.tar.gz",
      "sha256": "16498d7dc7967e9b100632138babd4b86b61592beeccdd556f67539d9c231355",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3715,
       "url-template": "https://github.com/protocolbuffers/protobuf/releases/download/v$version/protobuf-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "protobuf-c",
    "cleanup": [
     "/bin",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/protobuf-c/protobuf-c/archive/refs/tags/v1.5.2.tar.gz",
      "sha256": "cea46eeaa19c52924938b582c5d128a6ed3b6fb5b3f4677476a1781cc06e03f3",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 3716,
       "url-template": "https://github.com/protobuf-c/protobuf-c/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "qrencode",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DBUILD_SHARED_LIBS=TRUE"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/fukuchi/libqrencode/archive/refs/tags/v4.1.1.tar.gz",
      "sha256": "5385bc1b8c2f20f3b91d258bf8ccc8cf62023935df2d2676b5b67049f31a049c",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 12834,
       "url-template": "https://github.com/fukuchi/libqrencode/archive/refs/tags/v$version.tar.gz"
      }
     },
     {
      "type": "patch",
      "path": "cmake-minimum-3.12.patch"
     }
    ]
   },
   {
    "name": "zbar",
    "config-opts": [
     "--without-qt",
     "--without-qt5",
     "--without-gtk",
     "--without-xv",
     "--without-imagemagick",
     "--without-dbus",
     "--without-python",
     "--disable-doc",
     "--enable-codes=qrcode"
    ],
    "cleanup": [
     "/bin",
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://www.linuxtv.org/downloads/zbar/zbar-0.23.93.tar.gz",
      "sha256": "78ae427a529f0399561bc198de5c2c7ca3f11d05fa9e903e65e501168433d218",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13689,
       "url-template": "https://www.linuxtv.org/downloads/zbar/zbar-$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "libcotp",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/paolostivanin/libcotp/archive/v4.2.1.tar.gz",
      "sha256": "5f0cc41049e9fa296c1edf09c6fb0bb6dae588b149d5049adbc41d21aefc1bb1",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 319690,
       "url-template": "https://github.com/paolostivanin/libcotp/archive/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "wl-clipboard",
    "buildsystem": "meson",
    "config-opts": [
     "-Dzshcompletiondir=no",
     "-Dfishcompletiondir=no"
    ],
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/bugaevc/wl-clipboard/archive/refs/tags/v2.3.0.tar.gz",
      "sha256": "b4dc560973f0cd74e02f817ffa2fd44ba645a4f1ea94b7b9614dacc9f895f402",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 49082,
       "url-template": "https://github.com/bugaevc/wl-clipboard/archive/refs/tags/v$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "xsel",
    "buildsystem": "autotools",
    "cleanup": [
     "/share"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/kfish/xsel/archive/refs/tags/1.2.1.tar.gz",
      "sha256": "18487761f5ca626a036d65ef2db8ad9923bf61685e06e7533676c56d7d60eb14",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 13995,
       "url-template": "https://github.com/kfish/xsel/archive/refs/tags/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "OTPClient",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DCMAKE_BUILD_TYPE=RelWithDebInfo",
     "-DIS_FLATPAK=ON"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/paolostivanin/otpclient/archive/v5.2.0.tar.gz",
      "sha256": "627c632091831be500cdb4bc3dcefceef8082d972e587f8ff72c7c6e3f8eec26",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 314612,
       "is-main-source": true,
       "url-template": "https://github.com/paolostivanin/otpclient/archive/v$version.tar.gz"
      }
     }
    ]
   }
  ]
 }
}