{
 "app_id": "org.kde.skrooge",
 "source_url": "https://raw.githubusercontent.com/flathub/org.kde.skrooge/master/org.kde.skrooge.json",
 "runtime": "org.kde.Platform",
 "runtime_version": "6.10",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--socket=fallback-x11",
  "--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"
 ],
 "module_count": 6,
 "fetched_at": "2026-09-17T16:15:54.470396+00:00",
 "manifest": {
  "id": "org.kde.skrooge",
  "default-branch": "stable",
  "runtime": "org.kde.Platform",
  "runtime-version": "6.10",
  "sdk": "org.kde.Sdk",
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "6.10",
  "command": "skrooge",
  "rename-icon": "skrooge",
  "copy-icon": true,
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/doc",
   "/share/man",
   "*.la",
   "*.a"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh",
   "python3 -m compileall --invalidation-mode=unchecked-hash /app/share/skrooge"
  ],
  "finish-args": [
   "--device=dri",
   "--share=ipc",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--socket=pulseaudio",
   "--filesystem=host"
  ],
  "modules": [
   {
    "name": "tcl",
    "//": "sqlcipher requires tclsh during build",
    "subdir": "unix",
    "build-options": {
     "no-debuginfo": true
    },
    "post-install": [
     "chmod 755 /app/lib/libtcl*.so"
    ],
    "cleanup": [
     "/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/tcl/Tcl/8.6.18/tcl8.6.18-src.tar.gz",
      "sha256": "14f9af32b1767ff718477a8f974ad03c34341097e6b43f4ce54644ee974e268e",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4941,
       "stable-only": true,
       "versions": {
        "<": "9"
       },
       "url-template": "https://downloads.sourceforge.net/project/tcl/Tcl/$version/tcl$version-src.tar.gz"
      }
     }
    ]
   },
   {
    "name": "sqlcipher",
    "config-opts": [
     "--with-tempstore=yes",
     "--disable-tcl"
    ],
    "build-options": {
     "env": {
      "CFLAGS": "-g -O2 -DSQLITE_HAS_CODEC -DSQLITE_EXTRA_INIT=sqlcipher_extra_init -DSQLITE_EXTRA_SHUTDOWN=sqlcipher_extra_shutdown",
      "LDFLAGS": "-lcrypto"
     }
    },
    "post-install": [
     "mkdir -p /app/lib/pkgconfig",
     "cat > /app/lib/pkgconfig/sqlcipher.pc << 'EOF'\nName: sqlcipher\nDescription: SQLCipher\nVersion: 4.14.0\nLibs: -L/app/lib -lsqlite3\nCflags: -I/app/include\nEOF"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/sqlcipher/sqlcipher/archive/v4.14.0.tar.gz",
      "sha256": "67fb27e967a4a6968c0905691c89c908e7250dddc581b887c19ef981c737e473"
     }
    ]
   },
   {
    "name": "opensp",
    "rm-configure": true,
    "config-opts": [
     "--disable-doc-build"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://downloads.sourceforge.net/project/openjade/opensp/1.5.2/OpenSP-1.5.2.tar.gz",
      "sha256": "57f4898498a368918b0d49c826aa434bb5b703d2c3b169beb348016ab25617ce"
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "gengetopt",
    "//": "libofx requires gengetopt during build",
    "rm-configure": true,
    "cleanup": [
     "/*"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://ftp.gnu.org/gnu/gengetopt/gengetopt-2.23.tar.xz",
      "sha256": "b941aec9011864978dd7fdeb052b1943535824169d2aa2b0e7eae9ab807584ac",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 892,
       "stable-only": true,
       "url-template": "https://ftp.gnu.org/gnu/gengetopt/gengetopt-$version.tar.xz"
      }
     },
     {
      "type": "script",
      "dest-filename": "autogen.sh",
      "commands": [
       "autoreconf -vfi"
      ]
     }
    ]
   },
   {
    "name": "libofx",
    "no-parallel-make": true,
    "config-opts": [
     "--with-opensp-includes=/app/include/OpenSP",
     "--with-opensp-libs=/lib"
    ],
    "sources": [
     {
      "type": "archive",
      "url": "https://github.com/libofx/libofx/archive/0.10.9.tar.gz",
      "sha256": "ea9fa07759622ecc7f25b637fa8fb34d587af80607ca4389d25966a6a4f94ab9",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 7309,
       "stable-only": true,
       "url-template": "https://github.com/libofx/libofx/archive/$version.tar.gz"
      }
     }
    ]
   },
   {
    "name": "skrooge",
    "buildsystem": "cmake-ninja",
    "config-opts": [
     "-DENABLE_TESTING=OFF",
     "-DSKG_BUILD_TEST=OFF",
     "-DSKG_DESIGNER=OFF",
     "-DQt5WebKit_DIR=/app/lib/cmake/Qt5WebKit/",
     "-DQt5WebKitWidgets_DIR=/app/lib/cmake/Qt5WebKitWidgets/"
    ],
    "builddir": true,
    "sources": [
     {
      "type": "archive",
      "url": "https://download.kde.org/stable/skrooge/skrooge-26.4.0.tar.xz",
      "sha256": "4e4ac5897654b29fac4edddb5b596b2aa26f36f048f09a3c47cc7de3b49d8c22",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 4826,
       "stable-only": true,
       "url-template": "https://download.kde.org/stable/skrooge/skrooge-$version.tar.xz"
      }
     }
    ]
   }
  ]
 }
}