{
 "app_id": "com.bixense.PasswordCalculator",
 "source_url": "https://raw.githubusercontent.com/flathub/com.bixense.PasswordCalculator/master/com.bixense.PasswordCalculator.json",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--device=dri"
 ],
 "module_count": 4,
 "fetched_at": "2026-09-17T16:06:58.026451+00:00",
 "manifest": {
  "app-id": "com.bixense.PasswordCalculator",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "23.08",
  "sdk": "org.freedesktop.Sdk",
  "command": "pwcalculator",
  "finish-args": [
   "--socket=x11",
   "--share=ipc",
   "--socket=wayland",
   "--device=dri"
  ],
  "cleanup": [
   "/include",
   "/bin/wx*",
   "/lib/wx",
   "/share/aclocal"
  ],
  "modules": [
   "shared-modules/python2.7/python-2.7.json",
   {
    "name": "wxWidgets",
    "rm-configure": true,
    "config-opts": [
     "--with-gtk=3",
     "--disable-sdltest"
    ],
    "build-options": {
     "cxxflags": "-std=c++11"
    },
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/wxWidgets/wxWidgets/releases/download/v3.1.5/wxWidgets-3.1.5.tar.bz2",
      "sha256": "d7b3666de33aa5c10ea41bb9405c40326e1aeb74ee725bb88f90f1d50270a224"
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "cp -p /usr/share/automake-*/config.{sub,guess} .",
       "autoconf -f -B build/autoconf_prepend-include"
      ]
     }
    ]
   },
   {
    "name": "boost",
    "buildsystem": "simple",
    "sources": [
     {
      "type": "archive",
      "url": "https://boostorg.jfrog.io/artifactory/main/release/1.67.0/source/boost_1_67_0.tar.bz2",
      "sha256": "2684c972994ee57fc5632e03bf044746f6eb45d4920c343937a465fd67a5adba"
     }
    ],
    "build-commands": [
     "./bootstrap.sh --prefix=${FLATPAK_DEST}",
     "./b2 -j ${FLATPAK_BUILDER_N_JOBS} headers",
     "cp -r boost ${FLATPAK_DEST}/include/boost"
    ],
    "cleanup": [
     "*"
    ]
   },
   {
    "name": "PasswordCalculator",
    "buildsystem": "simple",
    "build-commands": [
     "./waf configure install --release --prefix=${FLATPAK_DEST}"
    ],
    "sources": [
     {
      "type": "git",
      "tag": "v1.1",
      "url": "https://github.com/jhasse/pwcalculator.git",
      "commit": "6ee24a84371fed13832c914b3bb8d4003cce5c02"
     },
     {
      "type": "patch",
      "path": "0001-Add-OARS-and-release-info-to-appdata.patch"
     }
    ]
   }
  ]
 }
}