{
 "app_id": "dev.vieb.Vieb",
 "source_url": "https://raw.githubusercontent.com/flathub/dev.vieb.Vieb/master/dev.vieb.Vieb.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "25.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=ipc",
  "--share=network",
  "--socket=cups",
  "--socket=fallback-x11",
  "--socket=pulseaudio",
  "--socket=wayland",
  "--device=all",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-download",
  "--filesystem=/run/.heim_org.h5l.kcm-socket",
  "--filesystem=xdg-music",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-videos",
  "--filesystem=xdg-run/pipewire-0:ro",
  "--talk-name=org.freedesktop.Notifications",
  "--own-name=org.mpris.MediaPlayer2.chromium.*",
  "--system-talk-name=org.freedesktop.UPower"
 ],
 "module_count": 5,
 "fetched_at": "2026-09-20T06:37:24.511393+00:00",
 "manifest": {
  "app-id": "dev.vieb.Vieb",
  "runtime": "org.freedesktop.Platform",
  "runtime-version": "25.08",
  "sdk": "org.freedesktop.Sdk",
  "base": "org.electronjs.Electron2.BaseApp",
  "base-version": "25.08",
  "command": "vieb",
  "finish-args": [
   "--device=all",
   "--env=GTK_PATH=/app/lib/gtkmodules",
   "--filesystem=/run/.heim_org.h5l.kcm-socket",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-videos",
   "--filesystem=xdg-run/pipewire-0:ro",
   "--own-name=org.mpris.MediaPlayer2.chromium.*",
   "--require-version=1.8.2",
   "--share=ipc",
   "--share=network",
   "--socket=cups",
   "--socket=pulseaudio",
   "--socket=fallback-x11",
   "--socket=wayland",
   "--system-talk-name=org.freedesktop.UPower",
   "--talk-name=org.freedesktop.Notifications"
  ],
  "cleanup": [
   "/include",
   "/lib/pkgconfig",
   "/share/man",
   "*.a",
   "*.la"
  ],
  "modules": [
   {
    "name": "vieb",
    "buildsystem": "simple",
    "build-commands": [
     "ls -a",
     "chmod +x vieb.appimage",
     "./vieb.appimage --appimage-extract",
     "mv squashfs-root /app/bin/",
     "ls /app/bin/squashfs-root",
     "mv vieb /app/bin/vieb",
     "install -Dm644 dev.vieb.Vieb.desktop /app/share/applications/dev.vieb.Vieb.desktop",
     "install -Dm644 dev.vieb.Vieb.metainfo.xml /app/share/metainfo/dev.vieb.Vieb.metainfo.xml",
     "for s in 32 48 64 96 128 256 512;do\n  install -Dm644 /app/bin/squashfs-root/usr/share/icons/hicolor/${s}x${s}/apps/vieb.png ${FLATPAK_DEST}/share/icons/hicolor/${s}x${s}/apps/${FLATPAK_ID}.png\ndone\n"
    ],
    "sources": [
     {
      "type": "file",
      "dest-filename": "vieb.appimage",
      "only-arches": [
       "aarch64"
      ],
      "url": "https://github.com/Jelmerro/Vieb/releases/download/12.10.0/Vieb-12.10.0-arm64.AppImage",
      "sha256": "80690f286bd0d3a0395e8842b649ec071fc716686d77ddcaa5cbf10e48f4df69",
      "x-checker-data": {
       "type": "anitya",
       "project-id": 243097,
       "stable-only": true,
       "url-template": "https://github.com/Jelmerro/Vieb/releases/download/${version}/Vieb-${version}-arm64.AppImage"
      }
     },
     {
      "type": "file",
      "dest-filename": "vieb.appimage",
      "only-arches": [
       "x86_64"
      ],
      "url": "https://github.com/Jelmerro/Vieb/releases/download/12.10.0/Vieb-12.10.0.AppImage",
      "sha256": "d8485ce40c517e1301395ac9f026b9e363460d4971972af281f99814ed83d306",
      "x-checker-data": {
       "is-main-source": true,
       "type": "anitya",
       "project-id": 243097,
       "stable-only": true,
       "url-template": "https://github.com/Jelmerro/Vieb/releases/download/${version}/Vieb-${version}.AppImage"
      }
     },
     {
      "type": "script",
      "dest-filename": "vieb",
      "commands": [
       "export TMPDIR=$XDG_RUNTIME_DIR/app/$FLATPAK_ID",
       "exec zypak-wrapper /app/bin/squashfs-root/vieb \"$@\""
      ]
     },
     {
      "type": "file",
      "path": "dev.vieb.Vieb.desktop"
     },
     {
      "type": "file",
      "path": "dev.vieb.Vieb.metainfo.xml"
     }
    ],
    "modules": [
     {
      "name": "gtk-cups-backend",
      "buildsystem": "meson",
      "make-args": [
       "modules/printbackends/libprintbackend-cups.so"
      ],
      "no-make-install": true,
      "post-install": [
       "install -Dm755 modules/printbackends/libprintbackend-cups.so -t ${FLATPAK_DEST}/lib/gtkmodules/3.0.0/printbackends/"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/gtk+/3.24/gtk+-3.24.43.tar.xz",
        "sha256": "7e04f0648515034b806b74ae5d774d87cffb1a2a96c468cb5be476d51bf2f3c7",
        "x-checker-data": {
         "type": "gnome",
         "name": "gtk+",
         "stable-only": true,
         "versions": {
          "<": "3.89"
         }
        }
       },
       {
        "type": "patch",
        "path": "gtk3-werror.patch"
       }
      ]
     },
     {
      "name": "gtk-settings",
      "buildsystem": "simple",
      "build-commands": [
       "install -Dm644 gtk-settings.ini ${FLATPAK_DEST}/etc/xdg/gtk-3.0/settings.ini"
      ],
      "sources": [
       {
        "type": "file",
        "path": "gtk-settings.ini"
       }
      ]
     },
     {
      "name": "krb5",
      "subdir": "src",
      "config-opts": [
       "--localstatedir=/var/lib",
       "--sbindir=${FLATPAK_DEST}/bin",
       "--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"
        ]
       }
      ],
      "cleanup": [
       "/bin",
       "/lib/pkgconfig",
       "/share/et",
       "/share/examples",
       "/share/man"
      ]
     },
     {
      "name": "krb5-config",
      "buildsystem": "simple",
      "build-commands": [
       "install -Dm644 krb5.conf -t ${FLATPAK_DEST}/etc"
      ],
      "sources": [
       {
        "type": "file",
        "path": "krb5.conf"
       }
      ]
     }
    ]
   }
  ]
 }
}