{
 "app_id": "page.codeberg.lk108.deltatouch",
 "source_url": "https://raw.githubusercontent.com/flathub/page.codeberg.lk108.deltatouch/master/page.codeberg.lk108.deltatouch.yml",
 "runtime": "org.kde.Platform",
 "runtime_version": "5.15-25.08",
 "sdk": "org.kde.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-config/kdeglobals:ro",
  "--talk-name=com.canonical.AppMenu.Registrar",
  "--talk-name=org.kde.kconfig.notify",
  "--talk-name=org.kde.KGlobalSettings",
  "--talk-name=sm.puri.OSK0",
  "--talk-name=org.freedesktop.Notifications"
 ],
 "module_count": 10,
 "fetched_at": "2026-09-17T16:17:08.103801+00:00",
 "manifest": {
  "id": "page.codeberg.lk108.deltatouch",
  "runtime": "org.kde.Platform",
  "runtime-version": "5.15-25.08",
  "sdk": "org.kde.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Extension.rust-stable"
  ],
  "base": "io.qt.qtwebengine.BaseApp",
  "base-version": "5.15-25.08",
  "command": "deltatouch",
  "rename-icon": "deltatouch",
  "rename-desktop-file": "deltatouch.desktop",
  "finish-args": [
   "--socket=wayland",
   "--socket=fallback-x11",
   "--share=ipc",
   "--device=all",
   "--socket=pulseaudio",
   "--share=network",
   "--talk-name=org.freedesktop.Notifications",
   "--talk-name=sm.puri.OSK0",
   "--env=FONTCONFIG_FILE=/app/etc/fonts/fonts.conf",
   "--env=QTWEBENGINE_DICTIONARIES_PATH=/app/qtwebengine_dictionaries"
  ],
  "cleanup-commands": [
   "/app/cleanup-BaseApp.sh"
  ],
  "modules": [
   {
    "name": "prepare-qt-plugin-build",
    "buildsystem": "simple",
    "build-commands": [
     "mkdir -p /app/redirection && ln -s /app /app/redirection/usr"
    ]
   },
   {
    "name": "qtpim",
    "buildsystem": "qmake",
    "make-install-args": [
     "INSTALL_ROOT=${FLATPAK_DEST}/redirection"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtpim.git/",
      "commit": "f9a8f0fc914c040d48bbd0ef52d7a68eea175a98"
     }
    ]
   },
   {
    "name": "qtsystems",
    "buildsystem": "qmake",
    "make-install-args": [
     "INSTALL_ROOT=${FLATPAK_DEST}/redirection"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtsystems.git/",
      "commit": "66e45676f5f5c6251ccab36906c6324fd0065e08"
     }
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "qtfeedback",
    "buildsystem": "qmake",
    "make-install-args": [
     "INSTALL_ROOT=${FLATPAK_DEST}/redirection"
    ],
    "sources": [
     {
      "type": "git",
      "url": "https://invent.kde.org/qt/qt/qtfeedback.git/",
      "commit": "596bf453588a8d6117df854d6a4899074a5d4c4b"
     }
    ]
   },
   {
    "name": "lomiri-ui-toolkit",
    "sources": [
     {
      "type": "git",
      "url": "https://gitlab.com/ubports/development/core/lomiri-ui-toolkit.git",
      "commit": "083ae10f7a73c4aa1d3d754977443b0c491d7842"
     },
     {
      "type": "patch",
      "path": "patches/lomiri/113.patch"
     },
     {
      "type": "shell",
      "commands": [
       "sed -i \"s|\\$\\$QT_MODULE_LIB_BASE|/app/lib/$(gcc --print-multiarch)|g\" /app/lib/mkspecs/modules/*.pri",
       "mkdir -p lib",
       "cp /app/lib/$(gcc --print-multiarch)/*.so* lib",
       "mkdir -p qml",
       "cp -r /app/lib/qml/* qml"
      ]
     }
    ],
    "buildsystem": "qmake",
    "config-opts": [
     "CONFIG+=no_lttng no_docs"
    ],
    "make-install-args": [
     "INSTALL_ROOT=${FLATPAK_DEST}/redirection"
    ],
    "build-options": {
     "env": [
      "QMAKEPATH=/app/lib"
     ]
    },
    "post-install": [
     "rm /app/redirection/usr && rm -d /app/redirection",
     "ln -sf /app/lib/*/*.so* /app/lib"
    ],
    "cleanup": [
     "/bin"
    ]
   },
   {
    "name": "chatmail-core",
    "sources": [
     "generated/sources-rust.json",
     "generated/deltatouch-git.json"
    ],
    "buildsystem": "cmake",
    "subdir": "libs/chatmail-core",
    "build-options": {
     "append-path": "/usr/lib/sdk/rust-stable/bin",
     "env": {
      "CARGO_HOME": "/run/build/chatmail-core/cargo"
     }
    },
    "post-install": [
     "install -Dm0644 LICENSE -t ${FLATPAK_DEST}/share/licenses/$FLATPAK_ID/chatmail-core"
    ],
    "cleanup": [
     "*.a"
    ]
   },
   {
    "name": "quirc",
    "sources": [
     "generated/deltatouch-git.json",
     {
      "type": "patch",
      "paths": [
       "patches/quirc/0001-Build-without-demo-to-use-less-deps.patch",
       "patches/quirc/0002-Fix-install-to-prefix.patch",
       "patches/quirc/0003-Add-.so-symlink-without-version-suffix.patch"
      ]
     }
    ],
    "subdir": "libs/quirc",
    "buildsystem": "simple",
    "build-options": {
     "cflags": "-O3 -Wall -fPIC"
    },
    "build-commands": [
     "make -j$FLATPAK_BUILDER_N_JOBS",
     "make install DESTDIR=${FLATPAK_DEST} PREFIX="
    ],
    "post-install": [
     "install -Dm0644 LICENSE -t ${FLATPAK_DEST}/share/licenses/$FLATPAK_ID/quirc"
    ],
    "cleanup": [
     "*.a"
    ]
   },
   "shared-modules/intltool/intltool-0.51.json",
   {
    "name": "deltatouch",
    "sources": [
     "generated/deltatouch-git.json"
    ],
    "buildsystem": "cmake-ninja"
   },
   {
    "name": "fontconfig",
    "buildsystem": "simple",
    "build-commands": [
     "install -Dm644 fonts.conf ${FLATPAK_DEST}/etc/fonts/fonts.conf"
    ],
    "sources": [
     {
      "type": "file",
      "path": "fonts.conf"
     }
    ]
   }
  ]
 }
}