{
 "app_id": "io.github.aggalex.Wineglass",
 "source_url": "https://raw.githubusercontent.com/flathub/io.github.aggalex.Wineglass/master/io.github.aggalex.Wineglass.yaml",
 "runtime": "org.freedesktop.Platform",
 "runtime_version": "23.08",
 "sdk": "org.freedesktop.Sdk",
 "finish_args": [
  "--share=network",
  "--share=ipc",
  "--socket=x11",
  "--socket=wayland",
  "--socket=pulseaudio",
  "--device=all",
  "--filesystem=xdg-documents",
  "--filesystem=xdg-desktop",
  "--filesystem=xdg-music",
  "--filesystem=xdg-download",
  "--filesystem=xdg-pictures",
  "--filesystem=xdg-videos",
  "--allow=devel",
  "--allow=multiarch",
  "--system-talk-name=org.freedesktop.NetworkManager",
  "--system-talk-name=org.freedesktop.UDisks2"
 ],
 "module_count": 9,
 "fetched_at": "2026-09-20T11:49:19.556489+00:00",
 "manifest": {
  "app-id": "io.github.aggalex.Wineglass",
  "base-version": "stable-23.08",
  "base": "org.winehq.Wine",
  "runtime-version": "23.08",
  "runtime": "org.freedesktop.Platform",
  "sdk": "org.freedesktop.Sdk",
  "sdk-extensions": [
   "org.freedesktop.Sdk.Compat.i386",
   "org.freedesktop.Sdk.Extension.toolchain-i386"
  ],
  "command": "io.github.aggalex.Wineglass",
  "cleanup": [
   "*.a",
   "*.la",
   "/*/cmake",
   "/*/pkgconfig",
   "/*/vala*",
   "/*/valadoc*",
   "/bin/vapigen*",
   "/cache",
   "/include",
   "/lib/girepository-1.0",
   "/lib/systemd",
   "/man",
   "/share/aclocal",
   "/share/devhelp",
   "/share/doc",
   "/share/gir-1.0",
   "/share/gtk-doc",
   "/share/man"
  ],
  "cleanup-commands": [
   "mkdir -p ${FLATPAK_DEST}/lib{,32}/"
  ],
  "inherit-extensions": [
   "org.freedesktop.Platform.Compat.i386",
   "org.freedesktop.Platform.ffmpeg_full.i386",
   "org.freedesktop.Platform.ffmpeg-full",
   "org.freedesktop.Platform.GL32",
   "org.freedesktop.Platform.VAAPI.Intel.i386",
   "org.winehq.Wine.DLLs",
   "org.winehq.Wine.gecko",
   "org.winehq.Wine.mono"
  ],
  "add-extensions": {
   "org.freedesktop.Platform.Compat.i386": {
    "directory": "lib/i386-linux-gnu",
    "version": "23.08"
   },
   "org.freedesktop.Platform.Compat.i386.Debug": {
    "directory": "lib/debug/lib/i386-linux-gnu",
    "version": "23.08",
    "no-autodownload": true
   }
  },
  "finish-args": [
   "--allow=devel",
   "--allow=multiarch",
   "--device=all",
   "--env=WINEDLLPATH=/app/dlls/lib32:/app/dlls/lib:/app/lib32/wine/wined3d:/app/lib/wine/wined3d",
   "--env=WINEESYNC=1",
   "--env=WINEFSYNC=1",
   "--filesystem=xdg-desktop",
   "--filesystem=xdg-documents",
   "--filesystem=xdg-download",
   "--filesystem=xdg-music",
   "--filesystem=xdg-pictures",
   "--filesystem=xdg-videos",
   "--persist=.wineprefixes",
   "--share=ipc",
   "--share=network",
   "--socket=pulseaudio",
   "--socket=wayland",
   "--socket=x11",
   "--system-talk-name=org.freedesktop.NetworkManager",
   "--system-talk-name=org.freedesktop.UDisks2"
  ],
  "modules": [
   {
    "name": "wineglass",
    "buildsystem": "meson",
    "sources": [
     {
      "type": "git",
      "url": "https://github.com/aggalex/Wineglass.git",
      "commit": "7b2558ef93dc90d028056aabd12790acc164818b"
     },
     {
      "type": "patch",
      "path": "elementary-theme.patch"
     },
     {
      "type": "patch",
      "path": "0001-https-docs.flatpak.org-en-latest-conventions.html-ap.patch"
     }
    ],
    "modules": [
     {
      "name": "graphviz",
      "cleanup": [
       "/include",
       "/bin",
       "/share/graphviz"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://graphviz.gitlab.io/pub/graphviz/stable/SOURCES/graphviz.tar.gz",
        "sha256": "ca5218fade0204d59947126c38439f432853543b0818d9d728c589dfe7f3a421"
       }
      ]
     },
     {
      "name": "vala",
      "cleanup-platform": [
       "*"
      ],
      "config-opts": [
       "--enable-vapigen",
       "--enable-unversioned"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/vala/0.48/vala-0.48.14.tar.xz",
        "sha256": "dca57de29f4ce18ee8c6b1e4f1b37ca3843d19dae5c455fceebccc5ae3ffe347"
       }
      ]
     },
     {
      "name": "libgee",
      "make-install-args": [
       "girdir=/app/share/gir-1.0",
       "typelibdir=/app/lib/girepository-1.0"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://download.gnome.org/sources/libgee/0.20/libgee-0.20.3.tar.xz",
        "sha256": "d0b5edefc88cbca5f1709d19fa62aef490922c6577a14ac4e7b085507911a5de"
       }
      ]
     },
     {
      "name": "granite",
      "buildsystem": "meson",
      "cleanup": [
       "/bin",
       "/share/applications"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/elementary/granite/archive/5.5.0.tar.gz",
        "sha256": "0c376520c7d462fca05213a14970ee1075fea4a78062a33b47529e2647cd5557"
       }
      ]
     },
     {
      "name": "elementary-theme",
      "buildsystem": "meson",
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/elementary/stylesheet/archive/5.4.2.tar.gz",
        "sha256": "3bc37723daf4ce0b7c9ce4c125ef0055affe8d6654981388ec87d4a23a1ae0ec"
       }
      ]
     },
     {
      "name": "elementary-icons",
      "buildsystem": "meson",
      "config-opts": [
       "-Dpalettes=false"
      ],
      "sources": [
       {
        "type": "archive",
        "url": "https://github.com/elementary/icons/archive/5.3.1.tar.gz",
        "sha256": "67b349453f8990e399521bb8d96f4caf4c23a27cf22cbc18ddacf0e817c59e12"
       }
      ],
      "modules": [
       {
        "name": "xcursorgen",
        "cleanup": [
         "*"
        ],
        "sources": [
         {
          "type": "archive",
          "url": "https://gitlab.freedesktop.org/xorg/app/xcursorgen/-/archive/xcursorgen-1.0.7/xcursorgen-xcursorgen-1.0.7.tar.gz",
          "sha256": "7fb30a052b63e3ed02c9e43bd70fe1bf8189f2f3d702ab43b5b0726a2dbafccd"
         }
        ]
       }
      ]
     }
    ]
   },
   {
    "name": "bundle-setup",
    "buildsystem": "simple",
    "build-commands": [
     "install -D -m 644 -t ${FLATPAK_DEST}/etc ld.so.conf",
     "mkdir -p ${FLATPAK_DEST}/{,lib/debug/}lib/i386-linux-gnu/GL",
     "mkdir -p ${FLATPAK_DEST}/dlls"
    ],
    "sources": [
     {
      "type": "file",
      "path": "ld.so.conf"
     }
    ]
   }
  ]
 }
}